VideoView 和 .mp4 冻结
大家好!当我尝试通过 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 技术交流群。

如果您在模拟器上播放此内容,则模拟器无法很好地播放视频,除非您拥有速度极快的开发机器。我在双核 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.