Question

I'm creating 3GP videos with the Android - however, when the 3GP files are posted on a site, the same Android phone cannot view it back. (The file works on the iPhone).

What is right way to encode/resize the 3GP video so that the video player on Android can play it back?

Thanks

Was it helpful?

Solution

Solved this by converting it to MP4 and then recompiling the Nginx server to have the MP4 streaming module. By default, Nginx mimetype was set to [application/octet-stream] instead of [video/mp4].

OTHER TIPS

This seemingly was resolved on Froyo handsets - at least, when a 3gp file is opened in a browser window using http, and not rtsp, the video plays fine. On 2.1 it doesn't.

To make mp4 video streamable, you should change it's 'atom' byte order. I'm using qt-faststart tool from ffmpeg package for this.

This tool changes the order of some meta-data inside mp4 container and as result allows to perform video "streaming" over HTTP.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top