VideoView 和 .mp4 冻结

发布于 2024-10-08 13:27:16 字数 245 浏览 0 评论 0原文

大家好!当我尝试通过 rtsp 流播放 .mp4 时,我的 VideoView 遇到一些问题,我的手机屏幕上的图片冻结了。同时声音正常,但视频仍然冻结。对于播放器,我使用了 api 演示中的标准代码,mediaplayer 和 videoview 的工作原理相同,它在播放时仍然可以释放。有人知道解决办法吗?

以下是有关 vlc 播放器视频的信息: mpeg AAC 音频 (mp4a) 44100 Gz H264 - MPEG-4 AVC 480 x 320

Hi there everybody! I have some problem with VideoView when I try to play my .mp4 througn rtsp stream I got freezing pic on phone screen. At the same time sounds goes on fine, but video still freeze. For player I used standart code from api demos, mediaplayer and videoview work the same, it still freeing when play. Someone know the solution?

Here is info about the video from vlc player:
mpeg AAC Audio (mp4a) 44100 Gz
H264 - MPEG-4 AVC 480 x 320

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

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

发布评论

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

评论(1

十年九夏 2024-10-15 13:27:16

如果您在模拟器上播放此内容,则模拟器无法很好地播放视频,除非您拥有速度极快的开发机器。我在双核 2.5GHz 笔记本电脑上播放本地 MP4 时出现了您所描述的症状。

If you are playing this on an emulator, the emulator cannot play back video very well, unless you have an extremely fast development machine. I get the symptoms you describe playing back a local MP4 on a dual-core 2.5GHz notebook.

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