[FFmpeg-user] Please can someone tell me why this ffmpeg command stopped working

Reindl Harald h.reindl at thelounge.net
Sat Jan 28 17:10:41 CET 2012

Am 28.01.2012 16:53, schrieb Paul Gardiner:
> Can anybody see what is wrong with this:
> /usr/bin/ffmpeg -f ac3 -ar 48000 -i /tmp/mythar4336/audout -f rawvideo -top 1 -pix_fmt yuv420p -s 1440x1088 -r 25
> -i /tmp/mythar4336/vidout -threads 2 -vf crop=1440:1080:0:0,scale=1280:720 -vcodec libx264 -preset medium -crf 20.0
> -bufsize 25000k -maxrate 20000k -aspect 16:9 -acodec copy -f mp4 /home/public/video/Archive/Horizon - Playing God.mp4
> Until a recent ffmpeg update, it used to do exactly what I wanted, but
> now it produces the error message: "Option sample_rate not found." I've
> googled and found various references to people having to make sure
> arguments are in the right order with later versions of ffmpeg, but
> my command seems to obey the rules, plus attempts I have made to reorder
> have not helped.

"-f ac3 -ar 48000 -i"

why is "-ar" BEFORE the input file?
in this case you set the parameter for the input instead the output

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120128/5dc49e1b/attachment.asc>

More information about the ffmpeg-user mailing list