搜索 社区服务 统计排行 帮助
  • 4269阅读
  • 6回复

mp4box append bug?

楼层直达
级别: 工作组
注册时间:
2003-08-26
在线时间:
13小时
发帖:
6600
在压maihime的bdrip,24+30于是手动切开然后分别x264压成两段mp4,然后用mp4box做append。做出来的视频似乎有问题

  1. Part1
  2. Video: MPEG4 Video (H264) 960x720 23.98fps [GPAC ISO Video Handler]
  3. General
  4. Complete name                    : Y:\BDEncoding\MaiHime\01.v.mp4
  5. Format                           : MPEG-4
  6. Format profile                   : Base Media
  7. Codec ID                         : isom
  8. File size                        : 144 MiB
  9. Duration                         : 23mn 56s
  10. Overall bit rate                 : 842 Kbps
  11. Video
  12. ID                               : 1
  13. Format                           : AVC
  14. Format/Info                      : Advanced Video Codec
  15. Format profile                   : High@L4.1
  16. Format settings, CABAC           : Yes
  17. Format settings, ReFrames        : 6 frames
  18. Format settings, GOP             : M=6, N=28
  19. Codec ID                         : avc1
  20. Codec ID/Info                    : Advanced Video Coding
  21. Duration                         : 23mn 56s
  22. Bit rate mode                    : Variable
  23. Bit rate                         : 840 Kbps
  24. Maximum bit rate                 : 5 110 Kbps
  25. Width                            : 960 pixels
  26. Height                           : 720 pixels
  27. Display aspect ratio             : 4:3
  28. Frame rate mode                  : Constant
  29. Frame rate                       : 23.976 fps
  30. Color space                      : YUV
  31. Chroma subsampling               : 4:2:0
  32. Bit depth                        : 8 bits
  33. Scan type                        : Progressive
  34. Bits/(Pixel*Frame)               : 0.051
  35. Stream size                      : 144 MiB (100%)
  36. Writing library                  : x264 core 114 r1924 08d04a4


  1. Part2
  2. Video: MPEG4 Video (H264) 960x720 29.95fps [GPAC ISO Video Handler]
  3. General
  4. Complete name                    : Y:\BDEncoding\MaiHime\01.vsp.mp4
  5. Format                           : MPEG-4
  6. Format profile                   : JVT
  7. Codec ID                         : avc1
  8. File size                        : 3.63 MiB
  9. Duration                         : 1mn 4s
  10. Overall bit rate                 : 475 Kbps
  11. Video
  12. ID                               : 1
  13. Format                           : AVC
  14. Format/Info                      : Advanced Video Codec
  15. Format profile                   : High@L4.1
  16. Format settings, CABAC           : Yes
  17. Format settings, ReFrames        : 6 frames
  18. Format settings, GOP             : M=1, N=32
  19. Codec ID                         : avc1
  20. Codec ID/Info                    : Advanced Video Coding
  21. Duration                         : 1mn 4s
  22. Bit rate mode                    : Variable
  23. Bit rate                         : 473 Kbps
  24. Maximum bit rate                 : 2 594 Kbps
  25. Width                            : 960 pixels
  26. Height                           : 720 pixels
  27. Display aspect ratio             : 4:3
  28. Frame rate mode                  : Constant
  29. Frame rate                       : 29.970 fps
  30. Color space                      : YUV
  31. Chroma subsampling               : 4:2:0
  32. Bit depth                        : 8 bits
  33. Scan type                        : Progressive
  34. Bits/(Pixel*Frame)               : 0.023
  35. Stream size                      : 3.61 MiB (99%)
  36. Writing library                  : x264 core 114 r1924 08d04a4


  1. >mp4box -cat ../01.v.mp4 -cat ../01.vsp.mp4 ../01.vx.mp4
  2. Appending file ../01.v.mp4
  3. No suitable destination track found - creating new one (type vide)
  4. Appending file ../01.vsp.mp4
  5. Saving to ../01.vx.mp4: 0.500 secs Interleaving
  6. Video: MPEG4 Video (H264) 960x720 567.70fps [GPAC ISO Video Handler]
  7. General
  8. Complete name                    : Y:\BDEncoding\MaiHime\01.vx.mp4
  9. Format                           : MPEG-4
  10. Format profile                   : Base Media
  11. Codec ID                         : isom
  12. File size                        : 148 MiB
  13. Duration                         : 25mn 0s
  14. Overall bit rate                 : 826 Kbps
  15. Video
  16. ID                               : 1
  17. Format                           : AVC
  18. Format/Info                      : Advanced Video Codec
  19. Format profile                   : High@L4.1
  20. Format settings, CABAC           : Yes
  21. Format settings, ReFrames        : 6 frames
  22. Format settings, GOP             : M=6, N=28
  23. Codec ID                         : avc1
  24. Codec ID/Info                    : Advanced Video Coding
  25. Duration                         : 25mn 0s
  26. Bit rate mode                    : Variable
  27. Bit rate                         : 824 Kbps
  28. Maximum bit rate                 : 5 110 Kbps
  29. Width                            : 960 pixels
  30. Height                           : 720 pixels
  31. Display aspect ratio             : 4:3
  32. Frame rate mode                  : Variable
  33. Frame rate                       : 24.232 fps
  34. Original frame rate              : 29.970 fps
  35. Minimum frame rate               : 23.976 fps
  36. Maximum frame rate               : 120.000 fps
  37. Color space                      : YUV
  38. Chroma subsampling               : 4:2:0
  39. Bit depth                        : 8 bits
  40. Scan type                        : Progressive
  41. Bits/(Pixel*Frame)               : 0.049
  42. Stream size                      : 147 MiB (100%)
  43. Writing library                  : x264 core 114 r1924 08d04a4

MPC-HC显示长度为1:04,画面卡顿完全没法看

  1. mp4box -add ../01.vx.mp4 -add ../01.ajp.mp4 -add ../01.aen.mp4 -add ../01.acn.mp4 -lang ja ../Mai\ Hime\ 01.mp4
  2. Video: MPEG4 Video (H264) 960x720 567.70fps [GPAC ISO Video Handler (jpn)]
  3. Audio: AAC 24000Hz stereo 138kbps [GPAC ISO Audio Handler (jpn)]
  4. Audio: AAC 24000Hz stereo 138kbps [GPAC ISO Audio Handler (jpn)]
  5. Audio: AAC 24000Hz stereo 140kbps [GPAC ISO Audio Handler (jpn)]
  6. General
  7. Complete name                    : Y:\BDEncoding\MaiHime\Mai Hime 01.mp4
  8. Format                           : MPEG-4
  9. Format profile                   : Base Media
  10. Codec ID                         : isom
  11. File size                        : 223 MiB
  12. Duration                         : 25mn 0s
  13. Overall bit rate                 : 1 247 Kbps
  14. Video
  15. ID                               : 1
  16. Format                           : AVC
  17. Format/Info                      : Advanced Video Codec
  18. Format profile                   : High@L4.1
  19. Format settings, CABAC           : Yes
  20. Format settings, ReFrames        : 6 frames
  21. Format settings, GOP             : M=6, N=28
  22. Codec ID                         : avc1
  23. Codec ID/Info                    : Advanced Video Coding
  24. Duration                         : 25mn 0s
  25. Bit rate mode                    : Variable
  26. Bit rate                         : 824 Kbps
  27. Maximum bit rate                 : 5 110 Kbps
  28. Width                            : 960 pixels
  29. Height                           : 720 pixels
  30. Display aspect ratio             : 4:3
  31. Frame rate mode                  : Variable
  32. Frame rate                       : 24.232 fps
  33. Original frame rate              : 29.970 fps
  34. Minimum frame rate               : 23.976 fps
  35. Maximum frame rate               : 120.000 fps
  36. Color space                      : YUV
  37. Chroma subsampling               : 4:2:0
  38. Bit depth                        : 8 bits
  39. Scan type                        : Progressive
  40. Bits/(Pixel*Frame)               : 0.049
  41. Stream size                      : 147 MiB (66%)
  42. Writing library                  : x264 core 114 r1924 08d04a4
  43. 下略

MPC-HC显示长度为25:00(正确),画面卡顿完全没法看

使用的mp4box是kurtnoise最后编译版 MP4Box-0.4.6-rev2735.zip

求解或者求相关信息

催片请点此处: http://bbs.popgo.org/bbs/read.php?tid=502402&displayMode=1#19103164
级别: 风云使者
注册时间:
2004-01-20
在线时间:
633小时
发帖:
549
只看该作者 6楼 发表于: 2011-05-30
涉及append都不敢去用mp4,一律弄mkv了...

ffmpeg的lavf封装比GPAC靠谱倒是真的

求资源,欢迎PM告知:
Xbox360 Clannad OP原版(WMV格式)
PS3 圣恩传说F / Tales of Graces F OP原版(BIK格式)


CLANNAD游戏OP/ED + TOMOYO after OP 无二次Credits内嵌字幕清晰版
BiliBili站点     AcFun站点

--- Direct264 自编译版 ---

碧之轨迹Nightmare VS风之剑圣 第1战(均无水印):6cn(六间房)   56(我乐)
BGM: Inevitable Struggle (Super Arrange Ver.)

Rockman 9 Rock Medley
级别: 骑士
注册时间:
2008-10-06
在线时间:
115小时
发帖:
319
只看该作者 5楼 发表于: 2011-05-30
gpac的东西真混乱……lsmash跑出来的清一色是Base Media / Version 2(mp42)……

Follow me: @06_taro

MediaFire links to:
Taro's tools (avs plugins & other useful tools' builds)
Taro's x264 builds (Latest build: x264 core:129 r2245+704_tMod (&tMod+10bit/MixAQ/OreAQ), Win & MacOS, built on 10 Jan 2012, gcc: 4.7.2)

nmm牆內鏡像(部分工具)
级别: 工作组
注册时间:
2003-08-26
在线时间:
13小时
发帖:
6600
只看该作者 4楼 发表于: 2011-05-30
前面花了些时间改了下mp4fpsmod的源码,编译了以后在第1话上用了一下发现成功了。以为自己已经搞定了,结果发现第2话开始mp4v2库出现内部错误了……

对比了一下基本数据,发现唯一有差别的就是major brand,第1话是isom(Base Media),而后面的全都是avc1(JVT)了……(发生什么事了?)

同一个脚本批量跑出来的竟然也会出这种问题……总之ffmpeg过一遍流似乎就好了……

催片请点此处: http://bbs.popgo.org/bbs/read.php?tid=502402&displayMode=1#19103164
级别: 骑士
注册时间:
2008-10-06
在线时间:
115小时
发帖:
319
只看该作者 3楼 发表于: 2011-05-30
刚刚想回复用mp4fpsmod试试的……
mp4box在我这儿对视频做append很少不RP的,不知道为啥……
还是老老实实等l-smash的standalone muxer出来吧……

Follow me: @06_taro

MediaFire links to:
Taro's tools (avs plugins & other useful tools' builds)
Taro's x264 builds (Latest build: x264 core:129 r2245+704_tMod (&tMod+10bit/MixAQ/OreAQ), Win & MacOS, built on 10 Jan 2012, gcc: 4.7.2)

nmm牆內鏡像(部分工具)
级别: 工作组
注册时间:
2003-08-26
在线时间:
13小时
发帖:
6600
只看该作者 2楼 发表于: 2011-05-30
补上修复方法:
在最终文件上,用ffmpeg的copy方法重写一遍流,然后用改动过的mp4fpsmod调整timescale重写一遍timecode就好了

第二步是可选的
[ 此帖被MeteorRain在2011-05-30 03:27重新编辑 ]

催片请点此处: http://bbs.popgo.org/bbs/read.php?tid=502402&displayMode=1#19103164
级别: 工作组
注册时间:
2003-08-26
在线时间:
13小时
发帖:
6600
只看该作者 1楼 发表于: 2011-05-29
顺带一下,解码器切成coreavc以后,虽然mpc-hc仍然报告567fps,但是至少不卡能看了……orz

催片请点此处: http://bbs.popgo.org/bbs/read.php?tid=502402&displayMode=1#19103164
快速回复

限150 字节
上一个 下一个