Alex Rivera | Logout

ffmpeg how do i know what audio rate to use?

Asked 2010-10-13T07:09:06.057
11

Say I have something like this

ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320x240 video.flv 


-ar  (Audio sampling rate in Hz)
-ab  (Audio bit rate in kbit/s)

regarding the -ar and the -ab how do I know what rate to use? I got this ffmpeg command from a site somewhere and I was wondering how the person knew what values to put for the rates? Do I need to understand audio in order to figure that out?

Edit
Report

1 Answer

9

Probably 44100 for audio sampling rate and 128 for bit rate should be sufficient.

Check Wikipedia's sampling rate and audio bit rate articles for examples to see if those values are too high or too low for what you're trying to do.

answered 2010-10-13T07:14:59.647

Your Answer