Getting error while playing/streaming 3gp format in some phones (Motorola Droid /Galaxy S) but the video is playing without any problem开发者_如何学JAVA in Nexus 1.
How can i resolve this issue other than using FFmpeg?
Take a look at the specific codecs that are used in the 3gp files. You can use ffmpeg or mplayer to inspect and tinker with files. Compare those codecs with the spec sheets for the phones and ensure you're using a codec that is on both.
Also, in order to stream video via HTTP, you need to have your header information at the beginning of the video file. ffmpeg comes with a tool called qt-faststart
which can modify your files in that way.
Also: 3gp are essentially mp4 files, with a limited set of codecs. They're supposed to be interoperable, but I suspect it's possible to create an incompatible 3gp file by using some particularly advanced codecs.
精彩评论