我的MKV到MP4转换后的视频不会在弯曲玩 [英] My MKV to MP4 converted video doesn't play in flex

查看:250
本文介绍了我的MKV到MP4转换后的视频不会在弯曲玩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被困在一个问题从去年1天。我使用Adobe Flex的视频显示播放​​视频为我的网站。

I am stuck on one issue from last 1 day. I am using Adobe flex video display to play video for my site.

有一个从MKV一些转换后的视频用ffmpeg的MP4。

There is some converted video from MKV to MP4 using ffmpeg.

ffmpeg -i Test.mkv -vcodec copy -acodec copy Test.mp4

现在,我试图播放的视频从当地它的正常工作。但是,当我上传视频服务器和尝试播放视频。然后,它会不会与柔性工作的VideoDisplay 同样将工作在浏览器和HTML录像机,也适用于JWPlayer。

Now, i am trying to play that video from local it's working fine. But when i upload that video on server and trying to play video. Then it will not work with flex VideoDisplay same will work in browser and HTML videoplayer and also works with JWPlayer.

这是不能转换其他的MP4视频作品非常精致。只有转换后的影片不工作只在弯曲的VideoDisplay。

Other mp4 video which are not converted works very fine. Only converted Videos are not working in only flex VideoDisplay.

我只是打使用。

<s:VideoDisplay id="videoDisp" autoPlay="false" autoDisplayFirstFrame="true" />

和给予路径的VideoDisplay 这样的:

videoDisp.source = Video_path;

我的视频文件,视频和音频codeC是如下图所示:

My video file Video and Audio codec is as shown in below image:

任何帮助将AP preciate,
谢谢你。

Any help will be appreciate,
Thanks.

推荐答案

有关我的第一次测试中,我看到了一个#2032错误,这是一个流错误,我认为它是由视频的大小引起的,因为Flash播放器正试图开始播放之前下载整个视频,我觉得有一个超时或类似的这火是错误的东西。因此,为了避免这种情况,你可以使用的 QT-的fastStart 移动元数据和偏移信息,这将有助于更迅速地发挥它的文件的前面。

For my first tests, I saw an #2032 error, which is a stream error, and I think it's caused by the size of your video, because Flash player is trying to download the whole video before starting playing it, and I think there is a timeout or something like that which fire that error. So to avoid that, you can use qt-faststart to move metadata and offset information to the front of the file which will help to play it more quickly.

您可以在这里下载从该工具或者如果你是蟒蛇的乐趣你可以从试试这里。我也将上传一份这里为Win64的

You can download that tool from here or if you are a fun of python you can try it from here. I will also upload a copy here for Win64.

希望能有所帮助。

这篇关于我的MKV到MP4转换后的视频不会在弯曲玩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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