440
18th February 2016, 23:37
I am new to Vapoursynth and I am liking it so far.
In a script, I have been trying to use AVI containers that lack the appropriate fourcc header "MJPG". However, so far to no succeess.
Via the following FFMPEG commands, I can create playable AVI containers:
ffmpeg -vcodec mjpeg -i "source file.avi" -y -vcodec copy -vtag MJPG "playable file.avi"
The following Vapoursynth code yields "Vapoursynth.Error: AVISource: couldn't locate a decompressor for fourcc MJPG":
import vapoursynth as vs
core = vs.get_core(threads=4)
video1 = core.avisource.AVISource("C:\\sourcefile.avi", fourcc="MJPG")
video1.set_output()
Preferably, I would like to use FFMS2.
How can I add a fourcc header on the fly via a Vapoursynth script using FFMS2?
Thank you very much for your help
In a script, I have been trying to use AVI containers that lack the appropriate fourcc header "MJPG". However, so far to no succeess.
Via the following FFMPEG commands, I can create playable AVI containers:
ffmpeg -vcodec mjpeg -i "source file.avi" -y -vcodec copy -vtag MJPG "playable file.avi"
The following Vapoursynth code yields "Vapoursynth.Error: AVISource: couldn't locate a decompressor for fourcc MJPG":
import vapoursynth as vs
core = vs.get_core(threads=4)
video1 = core.avisource.AVISource("C:\\sourcefile.avi", fourcc="MJPG")
video1.set_output()
Preferably, I would like to use FFMS2.
How can I add a fourcc header on the fly via a Vapoursynth script using FFMS2?
Thank you very much for your help