[FFmpeg-devel] [PATCH] Reset audio_disable and video_disable for new input files
Mon Jun 11 13:54:20 CEST 2007
let's assume I want to save the video track from an input file input.avi
into a file out1.avi, and I want to save the audio track into a
different otuput file out2.avi.
The only way I found to do this is
ffmpeg -i input.avi -vcodec copy -an out1.avi -i input.avi -acodec copy
but this unfortunately fails, because when the second input is read
audio_disable is not reset to 0. Is this done by purpose? If not, the
attached patch fixes the problem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel