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. |
18th February 2016, 23:37 | #1 | Link |
Registered User
Join Date: Feb 2016
Posts: 3
|
FFMS2 fourcc tagging
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: Code:
ffmpeg -vcodec mjpeg -i "source file.avi" -y -vcodec copy -vtag MJPG "playable file.avi" Code:
import vapoursynth as vs core = vs.get_core(threads=4) video1 = core.avisource.AVISource("C:\\sourcefile.avi", fourcc="MJPG") video1.set_output() How can I add a fourcc header on the fly via a Vapoursynth script using FFMS2? Thank you very much for your help |
19th February 2016, 17:00 | #3 | Link |
Registered User
Join Date: Feb 2016
Posts: 3
|
Yes, thank you - the following code yields "vapoursynth.Error: Index: Couldn't find stream information":
Code:
import vapoursynth as vs core = vs.get_core(threads=4) video = core.ffms2.Source(source="C:\\sourcefile.avi") video.set_output() Last edited by 440; 19th February 2016 at 17:03. |
|
|