Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Android 模拟器支持哪些格式的视频文件?
我知道它可能不会实时播放,但是什么会播放呢?
秘密在于模拟器将播放 MP4 基线配置文件,而真实设备也将播放更好的 MP4 配置文件。
为了获得在模拟器中正常播放的视频文件,请尝试以下设置:
ffmpeg -i inputvideo.wmv -vcodec libx264 -vprofile baseline outputvideo.mp4
它支持H.263编码和解码,H.264 AVC 并且MPEG-4 SP都只解码。
H.263
H.264 AVC
MPEG-4 SP
在模拟器上,在速度或延迟方面的播放质量可能有点麻烦。
查看所有支持的媒体格式的图表以获取更多信息。