Skip to main content

Searching for H264 Baseline 3.0 Profile for the HTML 5 video source tag, for the codec attribute

2 posts / 0 new
Last post
johnedstone
Offline
Joined: 02/05/2010
Posts:
Searching for H264 Baseline 3.0 Profile for the HTML 5 video source tag, for the codec attribute

Summary: Does anyone have an mp4 profile that results in H264 Baseline 3.0?

The new video tag, for HTML 5, supports several multiple source tags inside the video tag. Here are several good resources.
http://chealion.ca/2010/08/using-html-5s-video-to-serve-baseline-and-mai...
http://videojs.com/
http://diveintohtml5.org/video.html

One of the often used attributes, for the source tag is codecs="avc1.42E01E, mp4a.40.2"
This is a video codec: H264 Baseline@3.0 that is used by the iPhone 3G.

To determine the type of mp4 I have, i.e Baseline, Main, or High, I run the command "mp4info name_of_mp4". Here's an example, showing an mp4 rendered as High 3.1

$ mp4info test.mp4
mp4info version 1.9.1
test.mp4:
Track Type Info
1 video H264 High@3.1, 18.018 secs, 1197 kbps, 512x384 @ 29.970030 fps
2 audio MPEG-4 AAC LC, 18.026 secs, 157 kbps, 48000 Hz
Encoded with: Lavf52.110.0

I made this once, with kdenlive, but I can't remember how I did it. I've been experimenting w/ different ffmpeg options, and the kdenlive rendering profiles that are posted here at kdenlive.org, but I can't get an mp4 that has the baseline profile. I've also tried the -vpre option, which points to the ffmpeg baseline preset configuration file w/o any success.

Does anyone have an mp4 profile that results in H264 Baseline 3.0? Thanks

Also, I read something that made me wonder if the ffmpeg baseline preset was broken. But this was just a conjecture, nothing certain on that.

0
Your rating: None
ddennedy
ddennedy's picture
Offline
Joined: 06/26/2007
Posts:
Re: Searching for H264 Baseline 3.0 Profile for the HTML 5 ...

Maybe you can get something from one of the mobile presets.