[FFmpeg-user] having trouble encoding mov to mp4 H.264 level 3.0 baseline for HTML5 iOS
James Darnley
james.darnley at gmail.com
Tue Feb 19 12:21:07 CET 2013
On 2013-02-19 11:01, Antony Peiris wrote:
> ffmpeg -y -i in.mov -filter:v scale=640:-1 \
>
> -c:v libx264-preset:v slow-profile:v baseline \
>
> -x264opts level=3.0:vbv -maxrate=750:vbv -bufsize=3750:ref=1 \
>
> -b:v 500k-r:v25/1 -force_fps -movflags faststart \
>
> -c:a libfaac-b:a 80k-pass x out.mp4
>
>
> Error: Unrecognized option 'maxrate=750:vbv'
You have an absolute mess of a command line there. Spaces where there
shouldn't be spaces and no spaces where there should be one.
Try this:
> ffmpeg -y -i in.mov -filter:v scale=640:-1 -c:v libx264 -preset:v slow -profile:v baseline -x264opts "level=3.0:vbv-maxrate=750:vbv-bufsize=3750:ref=1" -b:v 500k -r:v 25/1 -force_fps -movflags faststart -c:a libfaac -b:a 80k -pass X out.mp4
(Ugh. The ffmpeg syntax is horrible like this.)
> ffmpeg -y -i in.mov -vf scale=640:-1 -vcodec libx264 -vpreset slow -vprofile baseline -x264opts "level=3.0:vbv-maxrate=750:vbv-bufsize=3750:ref=1" -vb 500k -r 25/1 -force_fps -movflags faststart -acodec libfaac -ab 80k -pass X out.mp4
(A bit better)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130219/33cdee9c/attachment.asc>
More information about the ffmpeg-user
mailing list