Assume I (lossless) re-package a video file with original container A into another video container B (e.g. AVI or MKV or MP4)
with an ffmpeg container like
ffmpeg -i myvideo.<sourceextension> -vcodec copy -acodec copy myvideo.<newextension>
Does ffmpeg AUTOMATICALLY recognizes the target container type from the extension of the target file name?
If yes: Why do I sometimes see sample commands with an additional flag like
ffmpeg -i .... -f AVI ....
+ Reply to Thread
Results 1 to 2 of 2
-
-
normally yes.Does ffmpeg AUTOMATICALLY recognizes the target container type from the extension of the target file name?
to make sure the auto detection chooses the right container (normally not needed unless you use an extension ffmpeg doesn't know/support for that container type).If yes: Why do I sometimes see sample commands with an additional flag like
ffmpeg -i .... -f AVI ....
Similar Threads
-
Megui Auto-Encode MP4 container
By ZenMystic in forum Video ConversionReplies: 2Last Post: 20th Nov 2012, 07:35 -
timestamps video-container codecs
By Greg79 in forum Video ConversionReplies: 8Last Post: 7th Nov 2012, 16:51 -
FFMPEG aac in avi container problem (informational)
By replaysMike in forum Video ConversionReplies: 6Last Post: 3rd Jul 2009, 10:00 -
ffmpeg.exe - Target file size?
By Gew in forum Video ConversionReplies: 0Last Post: 25th Feb 2009, 14:46 -
FFmpeg changes Target format settings after dropping a new Source file
By GvdB in forum ffmpegX general discussionReplies: 1Last Post: 2nd Sep 2008, 12:59


Quote