I'm trying to add subtitles to an AVI file while minimizing loss in video quality. I can adjust the quality by setting the bitrate in mencoder. I would like to know the bitrate of the original file in order to set this correctly. How can I find out the original bitrate?

link|improve this question

74% accept rate
feedback

1 Answer

up vote 1 down vote accepted

ffmpeg -i somefile.avi outfile.avi should spit the bitrate to the command line

ffplay will spit out the bitrate too

link|improve this answer
Why is an output file name needed? – OSX NINJA Jan 1 '11 at 4:48
see the edit...ffmpeg is a transcoder ffplay is a player – aking1012 Jan 1 '11 at 4:49
and it isn't required to get it to spit out the bitrate it's just a habit – aking1012 Jan 1 '11 at 4:51
If I leave out the output file name then it shows the information. If I give an output file name then it starts creating that file. – OSX NINJA Jan 1 '11 at 4:52
yeah...it's a does that ctl-c should stop it – aking1012 Jan 1 '11 at 4:53
show 3 more comments
feedback

Your Answer

 
or
required, but never shown

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