Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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

share|improve this answer
Why is an output file name needed? – tony_sid Jan 1 '11 at 4:48
see the edit...ffmpeg is a transcoder ffplay is a player – RobotHumans Jan 1 '11 at 4:49
and it isn't required to get it to spit out the bitrate it's just a habit – RobotHumans 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. – tony_sid Jan 1 '11 at 4:52's a does that ctl-c should stop it – RobotHumans Jan 1 '11 at 4:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .