无法播放从iphone上传的android视频 [英] Can't Play video in android uploaded from iphone

查看:193
本文介绍了无法播放从iphone上传的android视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android和iPhone设备上传和播放视频,但从iPhone上传的视频无法在Android上运行。在Android视频播放器中无法播放。它给了我错误信息

I have upload and play videos on both Android and iPhone devices but video uploaded from iPhone is not working on Android.it's not play in android video player. It's give me error message


抱歉这段视频无法播放

"sorry this video can not be played"

视频采用mp4格式。

推荐答案

是的,没错。

这是因为android支持有限的编解码器内置如mp3,mp4,mpeg。

It happens because the android support limited codecs in-built like mp3,mp4,mpeg.

虽然iphone支持大多数编解码器。

While iphone support most of codecs.

解决此问题的方法是什么?

视频和MP3的MP4对于音频广泛接受并在两个平台上工作。

MP4 for video and MP3 for audio are widely accepted and work on both platforms.

所以你需要在服务器上做一些事情。实现ffmpeg库,将所有视频转换为MP4,音频转换为MP3。

So you need do some stuff at the server. Implement the ffmpeg library that will convert all the videos to MP4 and audio to MP3.

我们正在采用相同的机制解决此问题。

We are doing same mechanism to resolve this issue.

查找PHP的FFMPEG实现此处

Find FFMPEG implementation for PHP Here and

将所有视频转换为MP4的命令这里
希望这可以帮到你。

Command to convert all videos to MP4 Here Hope this helps you.

谢谢。

这篇关于无法播放从iphone上传的android视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆