Flash 中的渐进式 MP4 视频问题 - 视频停止渲染

发布于 2024-08-19 20:20:21 字数 1025 浏览 4 评论 0原文

我目前正在开发一个 Flash 项目,该项目有一个介绍视频,在进入主应用程序之前会播放该视频。该视频是 H.264 .mp4、1550x540、大约 10MB。

目前让我抓狂的问题是,当我测试它时,有时视频会开始播放,然后突然停止渲染视频帧,使音频在后台播放,屏幕上什么也没有。一旦文件完全播放(基于收听音频),我的播放完成事件就会像它应该的那样触发,但我找不到任何有类似问题的人的信息。

附件是 .mp4 元数据的跟踪,以防有帮助。

视频帧速率:24
音频通道:2
音频编解码器:mp4a
音频采样率:48000
曲目信息:
0:
长度:608000
时间尺度:24000
语言:英语
样本描述:
0:
样本类型:avc1
1:
长度:1218560
时间尺度:48000
语言:英语
样本描述:
0:
样本类型:mp4a
持续时间:25.386666666666667
宽度:1540
视频编解码器:avc1
寻找点:
0:
时间:0
偏移量:13964
1:
时间:0.333
偏移量:16893
2:
时间:0.667
偏移量:34212
... 73:
时间:24.333
偏移量:9770329
74:
时间:24.667
偏移量:9845709
75:
时间:25
偏移量:9895215
移动位置:32
身高:540
avc配置文件:77
AVC等级:51
aacaot:2

这已经让我彻底疯了......任何帮助将不胜感激!

I'm currently working on a flash project that has an intro video that plays before heading into the main app. This video is an H.264 .mp4, 1550x540, and around 10MB.

The problem thats currently driving me insane is that when I test it, occasionally the video will begin playing, and then suddenly stop rendering the video frames, leaving the audio playing in the background with nothing on screen. Once the file is played through fully (based on listening to the audio), my playback complete event fires like it should, but I can't find any info of people having similar issues.

Attached is a trace of the .mp4 metadata in case that helps.

videoframerate : 24
audiochannels : 2
audiocodecid : mp4a
audiosamplerate : 48000
trackinfo:
0:
length : 608000
timescale : 24000
language : eng
sampledescription:
0:
sampletype : avc1
1:
length : 1218560
timescale : 48000
language : eng
sampledescription:
0:
sampletype : mp4a
duration : 25.386666666666667
width : 1540
videocodecid : avc1
seekpoints:
0:
time : 0
offset : 13964
1:
time : 0.333
offset : 16893
2:
time : 0.667
offset : 34212
...
73:
time : 24.333
offset : 9770329
74:
time : 24.667
offset : 9845709
75:
time : 25
offset : 9895215
moovposition : 32
height : 540
avcprofile : 77
avclevel : 51
aacaot : 2

This has been driving me absolutely insane... any help would be much appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心意如水 2024-08-26 20:20:21

事实证明这是闪存中的内存问题。

This turned out being a memory issue in Flash.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文