danielgtaylor / qtfaststart

Quicktime atom positioning in Python for fast streaming

Home Page:http://programmer-art.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qt-faststart videos don't work in iOS

thekidoo opened this issue · comments

Hi,

I am trying to make videos work cross-platform, so I use qt-faststart in the conversion process.

I was able to convert videos to mp4 using ffmpeg. However, after I ran qt-faststart, the videos would not work in iOS. How should I fix this while using the qt-faststart for quick playing on desktop computers? Thanks.

Can you upload a small sample file somewhere so that I can investigate? Which version of qtfaststart are you using, and what command did you use? Any extra info you could give me would be helpful.

Hi Daniel,

Thank you for the quick response. I'm using qtfaststart 1.6.

This is the original video file:
https://mega.co.nz/#!lFpiiLLY!DM58MAui2pD590gd5IzwwXDRY6hEuZzB7ZQhW63byh4

Here's the converted mp4 using the ffmpeg command (ffmpeg -i source.wmv -y -vcodec libx264 -crf 23 -vpre lossless_fast video.mp4):
https://mega.co.nz/#!NZZ3WCLY!UxNnZElp7PyWy9i6aauZUEwHBXo9MzIm64Pi7lQ0NTw

Here's the converted mp4 after treated with qt-faststart (qtfaststart video.mp4):
https://mega.co.nz/#!hIB0zTKR!W_X7OSB3N0SSF_K1jB12CHgTzOI4CKzRkyPDksUfIvo

This is my html code:
< !DOCTYPE html>
< html>
< head>< title>vid< /title>< /head>
< body>
< video width="480" height="360" controls preload>
< source src="video.mp4" type="video/mp4" />
< /video>
< /body>< /html>

Your help is greatly appreciated.

Hi Daniel,

Any update on this one? Thanks.

I'm a bit stumped - no idea why it isn't working on iOS... I'll keep looking into it as I have time.

Is this still an issue? I downloaded video from Mega, uploaded to Rackspace Cloud Files, and tested on Browserstack iOS emulators. Is working on all except iPhone 4S running 5.1. Oh, and we're using JWPlayer on this project. Anyway, any other info available?

Just re-tested on Browserstack iPhone 4S w/ 5.1 and worked this time...