HTML5 Video in Safari -
little bit confused @ moment, have 2 .mp4 files, both h.264 encoded video.
| #safari | video 1 | video 2 | | windows | failed | played | | osx | played | played |
my code
<video width="550" height="400" controls> <source src="test/charlie.mp4" type="video/mp4" /> <source src="test/charlie.ogv" type="video/ogg" /> nope. </video> video 1
status: http/1.1 200 ok date: wed, 27 jun 2012 09:19:02 gmt server: apache/2.2.22 (debian) last-modified: wed, 27 jun 2012 08:06:41 gmt etag: "aff04e8-49c7f3-4c36fb1f12640" accept-ranges: bytes content-length: 4835315 connection: close content-type: video/mp4
video 2
status: http/1.1 200 ok date: wed, 27 jun 2012 09:18:37 gmt server: apache/2.2.22 (debian) last-modified: mon, 28 dec 2009 05:06:33 gmt etag: "aff04eb-45de48-47bc2de762840" accept-ranges: bytes content-length: 4578888 connection: close content-type: video/mp4
the ffmpeg command using video 1 is
ffmpeg -y -i input.avi -vcodec libx264 -r 24 -preset medium -crf 20 -bufsize 20m -acodec libfaac -ac 2 -ar 44100 -ab 128k out.mp4
anyone seen kind of behaviour before?
-preset medium looks bit suspicious. exactly? iiuc h264 depends on [levels](http://en.wikipedia.org/wiki/h.264/mpeg-4_avc#levels] have varying support amongst devices , browsers.
Comments
Post a Comment