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

Reindl Harald h.reindl at thelounge.net
Mon Jun 30 11:39:24 CEST 2014


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

> On Mon, Jun 30, 2014 at 1:23 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 
>> Amila Perera <perera.amila <at> gmail.com> writes:
>>
>>> I need to convert .mov(MJPEG) to .mp4(h264) so that the
>>> .mp4 file can be viewed as html5 video.
>>> Starting from the simplest form
>>> "ffmpeg -i 1.mov -vcodec libx264 1.mp4", I tried several
>>> other commands but none of them worked for me.
>>
>> Complete, uncut console output missing / what didn't work
>> for you?

-------------- 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/52085572/attachment.asc>


More information about the ffmpeg-user mailing list