I wanted to convert some old Flash videos to 1 video format so the content will show on a mobile phone. I got some mp4 and it doesn't work on Android, specifically Chrome 32 running on Android 4.3.
It is loading the mp4 file on Chrome 32 on Android 4.3, but I thought there is no support for H.256
Then I went to a this site http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5/
and the mp4 video there works on Android/Chrome.
I used VLC to check the codecs and they look the same
H264 - MPEG-4 AVC (part 10) (avc1)
Resolution: is different (working one is 560x320
Resolution: mp4 not working is 640x480
Framerate: working is 30, not working is 12
Decoded format: Planar4:2:0 YUV
I then searched the codec then with ffmpeg and I see that there is a property called compatible_brands: mp42icomavc1
which is different than the non-working mp4 which has this property set to compatible: mp42mp41
The file sizes are quite different as well. Could this be an issue.
When I load http://html5test.com the Chrome on Android browser says MPEG-4 is not supported by H.264 is. it doesn't say anything about the container.
ok here is some source code, I thought chrome on android doesn't support mp4 files, but when I load the following on Chrome 32 running on Sony Xperia Tablet running Android 4.3. I had an mp4 file that I converted to webm, but chrome still could not run it. It is 8 MB so perhaps the size is an issue....this mp4 has a different size and frameframe. Other than that I only see compatible version different as mentioned above.
<html>
<head>
<meta name="viewport" content="width=device-width">
</head>
<body>
<h4>This is mp4 video</h4>
<video id="small" controls="controls" autoplay="autoplay" preload="auto" name="small">
<source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
</video>
</body>
</html>