[FFmpeg-user] converting .mov(MJPEG) to web optimized .mp4(h264)

Reindl Harald h.reindl at thelounge.net
Mon Jun 30 12:19:19 CEST 2014



Am 30.06.2014 12:10, schrieb Christian Ebert:
> * Reindl Harald on Monday, June 30, 2014 at 11:39:24 +0200
>> Am 30.06.2014 11:30, schrieb Amila Perera:
>>> .mp4 conversion is successful. The file plays quite well on VLC.
>>> But it doesn't play as html5 video on browser, when served through apache.
>>> The same file when converted through HandBrake can be played as html5 video
>>> on browser without any problem.
>>
>> you missed the basics fact that HTML5 needs profile *baseline*
>>
>> -profile:v baseline
> 
> Are you sure? For compatibility with all mobile devices, yes,
> plus a few more restrictions. But HTML5 video in general? Desktop
> browsers (if they can play MP4) have no problem with high
> profile, many mobile devices by now support at least main.

pretty sure and even if you find some random client
payling the file makes it not smarter to play with
fire - AFAIK there are also legal reasons to do so

why not just enter "ffmpeg -i HandBrake-converted-file.mp4" and i bet
Video: h264 (Constrained Baseline) is part of the output

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140630/1dd501f5/attachment.asc>


More information about the ffmpeg-user mailing list