Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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 –  hbdgaf Jan 1 '11 at 4:49
    
and it isn't required to get it to spit out the bitrate it's just a habit –  hbdgaf 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
    
yeah...it's a does that ctl-c should stop it –  hbdgaf Jan 1 '11 at 4:53
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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