[FFmpeg-user] HTML5 <video> tag problem

Reindl Harald h.reindl at thelounge.net
Tue Dec 4 09:53:24 CET 2012



Am 04.12.2012 09:42, schrieb Pethe Attila:
> Hello,
> HTML5 uses  MPEG 4 files with H264 video codec (and AAC
> audio codec) in Internet explorer, chrome

profile BASELINE to be specific!

> I run ffmpeg like (with frame rate reduction to fit www purposes):
> 
> ffmpeg -i input.avi -r 24 output.mp4

this is NOT H264
you need to specify codec adn ffmpeg compiled with libx624

ffmpeg -i input.avi -y \
 -f 'mp4' \
 -vcodec 'libx264' \
 -vb '512k' \
 -maxrate '758k' \
 -acodec 'libfaac' \
 -ab '128k' \
 -r 24 \
 -profile 'baseline' \
 "output.mp4"

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


More information about the ffmpeg-user mailing list