![]() |
[HELP] Possible to go from PNG input stream to PNG output stream in VapourSynth? - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [HELP] Possible to go from PNG input stream to PNG output stream in VapourSynth? (/thread-2273.html) |
Possible to go from PNG input stream to PNG output stream in VapourSynth? - The_Tinkerer - 13.02.2022 It works in AviSynth, but hangs in Vapoursynth. To reproduce, import any PNG image stream, set output container to RAW, set processing for video to PNG. When it gets to "encoding an png image sequence using ffmpeg" it will hang there, and not output any PNG's in the output directory. If it can't work, it means I'll have to convert my PNG stream to lossless MP4, then make a second image stream from that. (I'm processing different aspect ratios and settings for multiple clips to the same resolution, then making a final mp4 from that... video editing using Windows Explorer. ![]() It's not a huge deal, but it would be nice if it worked for VapourSynth. ![]() RE: Possible to go from PNG input stream to PNG output stream in VapourSynth? - Selur - 13.02.2022 What is a "PNG image stream" is it a normal image sequence ? If it is something different I need an example. Cu Selur RE: Possible to go from PNG input stream to PNG output stream in VapourSynth? - Selur - 13.02.2022 Tried reproducing it using a png image sequence as input and as output while filtering with Vapoursynth. Worked fine, but might be something I fixed in my dev version. -> please clarify and share a debug output, so I know what is happening on your end. Cu Selur RE: Possible to go from PNG input stream to PNG output stream in VapourSynth? - The_Tinkerer - 13.02.2022 Sorry, I meant image sequence, not image stream. It's weird, I can't get it to behave as before. I can set a .png image sequence input and a .png image sequence output now in Vapoursynth and it will work. But, I found that won't work if I use a custom filter. When using one, when the job is started it ends immediately with no .png files output. It will work with the same custom filter though if the input is a h264 .mp4 file. Here's the debug for .png input, custom filter, and .png output for Vapoursynth, where job ends immediately with no output: (Attachments are no longer working here for me... here is a Google drive link) https://drive.google.com/file/d/1sfBbQKhFsvObAo1FOCfSAmxH-LJOfj1j/view?usp=sharing Oh, I guess the attachment did work. It didn't look like it did when I tried to upload it. ![]() RE: Possible to go from PNG input stream to PNG output stream in VapourSynth? - Selur - 13.02.2022 Looking at the script: # Imports I assume it does not, since you apply: clip = havsfunc.LSFmod(input=clip, strength=100, Smode=2, Smethod=3, secure=True, Lmode=4, soft=-2, edgemaskHQ=True, preblur=1, ss_x=1.5) Also: Why use LSFmod this way and not through Filtering->Vapoursynth->Sharpen->LSFmod? Cu Selur RE: Possible to go from PNG input stream to PNG output stream in VapourSynth? - Selur - 13.02.2022 Small correction: LSFmod should support YUVXXX, but not RGB. ![]() So Hybrid would normaly convert to YUV444P8 # adjusting color space from RGB24 to YUV444P8 for vsLSFMod a. to apply any needed color space conversions b. to let Hybrid know if the color space&co changed. for example adding: # colorformat YUV444P8 -> this does not seem like a bug in Hybrid, but like a bug in your custom addition code. Cu Selur RE: Possible to go from PNG input stream to PNG output stream in VapourSynth? - The_Tinkerer - 13.02.2022 Oh s**t, I could have SWORN I checked this in the previewer. I must have had the custom script disabled when I clicked the previewer button, it's the only thing I can think of. Hybrid of course works fine. I'm really sorry I wasted your time with this. ![]() |