开发者

Error while playing 3gp video stream in some phones

开发者 https://www.devze.com 2023-01-30 17:57 出处:网络
Getting error while playing/streaming3gp format in some phones (Motorola Droid /Galaxy S) but the video is playing without any problem开发者_如何学JAVA in Nexus 1.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号