智捷社区

查看: 6291|回复: 1

关于用hls切割MP4失败的问题

[复制链接]

2

主题

3

帖子

51

积分

注册会员

Rank: 2

积分
51
发表于 2014-10-20 23:36:48 | 显示全部楼层 |阅读模式
我尝试了用书里的方法切割MP4,但是总是出现问题,报错如下
  1. AppledeMacBook-Pro:stream apple$ mediafilesegmenter -t 100 -f hls3/ 2.mp4
  2. Oct 16 2014 20:39:53.027: Using floating point is not backward compatible to iOS 4.1 or earlier devices
  3. Oct 16 2014 20:39:53.029: Processing file /Library/WebServer/Documents/stream/2.mp4
  4. Oct 16 2014 20:39:53.234: Finalized /Library/WebServer/Documents/stream/hls3/fileSequence0.ts
  5. Oct 16 2014 20:39:53.234: segment bitrate 410.82 kbits/sec is new max
  6. Oct 16 2014 20:39:53.362: Finalized /Library/WebServer/Documents/stream/hls3/fileSequence1.ts
  7. Oct 16 2014 20:39:53.362: segment bitrate 464.69 kbits/sec is new max
  8. Oct 16 2014 20:39:53.492: Finalized /Library/WebServer/Documents/stream/hls3/fileSequence2.ts
  9. Oct 16 2014 20:39:53.621: Finalized /Library/WebServer/Documents/stream/hls3/fileSequence3.ts
  10. Oct 16 2014 20:39:53.741: Finalized /Library/WebServer/Documents/stream/hls3/fileSequence4.ts
  11. Oct 16 2014 20:39:53.880: Finalized /Library/WebServer/Documents/stream/hls3/fileSequence5.ts
  12. Oct 16 2014 20:39:54.016: Finalized /Library/WebServer/Documents/stream/hls3/fileSequence6.ts
  13. Oct 16 2014 20:39:54.075: Error with H.264 frame - offset 4 + nal length 2147642384 greater than frame size 105
  14. Oct 16 2014 20:39:54.075: couldn't transform frame
  15. Oct 16 2014 20:39:54.079: Finalized /Library/WebServer/Documents/stream/hls3/fileSequence7.ts
  16. Oct 16 2014 20:39:54.079: average bit rate is 393.16 kbits/sec - max file bit rate is 464.69 kbits/sec
复制代码
看起来问题应该是出在了 Error with H.264 frame - offset 4 + nal length 2147642384 greater than frame size 105
但是为什么会这样呢,我尝试了切割好几个文件都是如此,不过切割书中自带的MP4倒是没事,请问这个问题改怎么解决

回复

使用道具 举报

10

主题

76

帖子

332

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
332
发表于 2014-11-3 15:50:35 | 显示全部楼层
这是你视频文件的问题,你转换成mp4或mov是一下,也可以是视频本中哪个帧有问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|智捷社区 ( 京ICP备09013343号-1

GMT+8, 2020-7-5 22:39 , Processed in 0.324754 second(s), 31 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表