Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
29th August 2024, 20:04 | #2 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,813
|
You can try imwri.Write(), see https://amusementclub.github.io/doc/...ml#imwri.Write
Vdub2 can open vapoursynth files and supports saving as Image Sequence. I would say the "best" editor currently is https://github.com/Jaded-Encoding-Th...rgy/vs-preview Second place https://github.com/YomikoR/VapourSynth-Editor
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
29th August 2024, 22:22 | #3 | Link |
Registered User
Join Date: May 2011
Posts: 348
|
Best, simple previewer is mine! :-) , it can preview many clips at the same time and switching between then using keys on keyboard
https://github.com/UniversalAl/view but seriously, it is a crude, simple player, using opencv, nothing extra, but using it with any python editor, you use it in your script: Code:
import vapoursynth as vs from view import Preview source = r'my_source.mkv' clip = vs.core.ffms2.Source(source) clip.set_output() if __name__ == '__main__': Preview([clip]) But if you run your script from a python editor, like IDLE (very basic, good for a beginner, easy, run script) or pycharm (advanced, but if you handle that, there is no way back to anything else). In that other post of yours a VirtualDub editor was used for previewing scripts, but I did not use that, not sure how it performs here. That view.py can export PNG frame 1:1 if pressing key "W", if pressing key "E" it saves image WYSIWYG, like zoomed in. Both save current crop, if applied. It saves even during playback, if pressing "W", it will save images in a sequence, until you release that key. Using vapoursynth you become a python coder, if you want or not, so you can use python editors like that. Last edited by _Al_; 29th August 2024 at 22:56. |
29th August 2024, 22:44 | #4 | Link |
Registered User
Join Date: May 2011
Posts: 348
|
Also as was suggested imwri plugin could be used, https://github.com/vapoursynth/vs-imwri/releases/tag/R2 , you would find out in a previewer what frame range you want to get and then writing images you'd use script ,something like:
Code:
import vapoursynth as vs source = r'my_source.mkv' clip = vs.core.ffms2.Source(source) clip.set_output() if __name__ == '__main__': clip = clip.resize.Bicubic(format=vs.RGB24, matrix_in_s="709") clip = vs.core.imwri.Write(clip, filename='my_movie_%02d.png', imgformat='PNG') #to write image sequence from frame 100 to 110 for frame in range(100,110): clip.get_frame(frame) Or you can use any previewer and when getting frame numbers, you'd add those lines that write png images. Last edited by _Al_; 29th August 2024 at 22:48. |
29th August 2024, 23:14 | #5 | Link |
Registered User
Join Date: May 2011
Posts: 348
|
Also Comparator could be used, https://files.videohelp.com/u/198160/Comparator.7z , thats a download link from videohelp, it is a GUI, a major step up from view.py (though not finished as I wanted to be, not having time) .
Everything is set up already, it is compiled. No need to download opencv modules in python etc. Keys "w" or "E" work as well I think, you can change path for saving images in settings. Just drop your vapoursynth script on that Comparator exe (or more scripts to compare them). Or as a matter of fact, you can just drop your video file (or video files), it will create scripts internally automatically. It looks like this: Last edited by _Al_; 29th August 2024 at 23:30. |
Tags |
vapoursynth editor, video editor |
Thread Tools | Search this Thread |
Display Modes | |
|
|