PlazzTT
17th April 2016, 14:57
Hi,
How can load an image for a certain amount of frames? In AviSynth, I used something like JpegSource("melodies.jpg",length=4050,fps_num=25)
My vapoursynth script is:import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(path='/usr/local/lib/libffms2.so')
video = core.ffms2.Source(source='melodies.jpg', seekmode=-1,fpsnum=25)
video.set_output()
But this only outputs one frame.
I'm on Linux (Ubuntu 14.04), looking to output a single image for a certain amount of time to an x264 encoded video using something like: vspipe --y4m script.vpy - | x264 --demuxer y4m - --output encoded.mkv
Is VapourSynth a good way to do this? Or is there an easier method. I plan on adding an mp3 audio track afterwards with mkvmerge.
Thanks.
How can load an image for a certain amount of frames? In AviSynth, I used something like JpegSource("melodies.jpg",length=4050,fps_num=25)
My vapoursynth script is:import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(path='/usr/local/lib/libffms2.so')
video = core.ffms2.Source(source='melodies.jpg', seekmode=-1,fpsnum=25)
video.set_output()
But this only outputs one frame.
I'm on Linux (Ubuntu 14.04), looking to output a single image for a certain amount of time to an x264 encoded video using something like: vspipe --y4m script.vpy - | x264 --demuxer y4m - --output encoded.mkv
Is VapourSynth a good way to do this? Or is there an easier method. I plan on adding an mp3 audio track afterwards with mkvmerge.
Thanks.