专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 多媒体/流媒体开发

mp4文件有关问题,录像生成的mp4文件在android手机上能正常播放,iphone4下不能播放

发布时间:2011-06-27 19:29:40 文章来源:www.iduyao.cn 采编人员:星星草
mp4文件问题,录像生成的mp4文件在android手机上能正常播放,iphone4下不能播放
录像生成的mp4文件在android 手机上能正常播放,但是放到iphone4上不能播放,
视频编码为avc的,音频为aac。
android手机上2.1的版本,2.2的都能播放,VLC也能播放。android测试手机HTC g8,LG p990都能播放。

跟能在iphone4下的mp4文件比较, 很多box都相同的。
自己用mp4info工具分析了,
也对照iso-iec-14496-12文档仔细比对了二进制文件,还是找不到什么原因,
猜想是否是avc1 中的内容有什么区别。
苹果的qtff.pdf文档也稍微看了下。
请各位兄弟姐妹给点意见,谢谢!
或者如果哪位也遇到同样问题可以一起讨论讨论。

我录像使用的库是 MP4 Mux and Demux Filters的开源代码。
官方网站( http://www.gdcl.co.uk/mpeg4/index.htm )


使用格式工程提取文件信息如下

General
Complete name : C:\1109-101853.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 3.88 MiB
Duration : 12s 623ms
Overall bit rate : 2 579 Kbps

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L4.0
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 12s 623ms
Bit rate mode : Variable
Bit rate : 2 515 Kbps
Width : 352 pixels
Height : 256 pixels
Display aspect ratio : 1.375
Frame rate mode : Variable
Frame rate : 30.025 fps
Minimum frame rate : 29.412 fps
Maximum frame rate : 90 000.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.929
Stream size : 3.78 MiB (98%)
Language : English

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : Yes
Format settings, PS : Yes 
Codec ID : 40
Duration : 12s 623ms
Bit rate mode : Variable
Bit rate : 57.9 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 32.0 KHz
Resolution : 16 bits
Stream size : 89.3 KiB (2%)
Language : English



------解决方案--------------------
www.gdcl.co.uk的这个mp4 mux filter录完以后用mp4box加hint,
ipad可以播放的
------解决方案--------------------
你把baseline4.1改为3.1试下
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: