What is the difference between using -vcodec copy and -sameq with ffmpeg? Do they do the same thing?

link|improve this question

74% accept rate
feedback

1 Answer

up vote 2 down vote accepted

-sameq does not force you to use the same video codec. You can, for instance, convert H.264 to DivX while using -sameq.

link|improve this answer
If a video codec isn't specified then what's the difference? – OSX NINJA Dec 30 '10 at 21:35
1  
If a video codec isn't specified, I think ffmpeg has default audio/video codecs for a given container. My ffmpeg on OS X defaults to mpeg4 yuv420p for video for MP4 and AVI, with libfaac and mp2 audio codecs, respectively. That is, if I chose an H.264 file and chose -vcodec copy, it selects libx264 for video. If instead I chose -sameq, it selects generic mpeg4. – fideli Dec 31 '10 at 2:48
Which is better to use if a video codec isn't specified? – OSX NINJA Dec 31 '10 at 19:38
Jedi, I don't understand your question above. Select the codec you want, in this case one your player supports. – CarlF Jan 1 '11 at 1:24
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.