tank8888jx
帖子: 21
注册时间: 2011-07-07 15:58

VFR的MKV重新封装成MP4 影音不同步

D:\movie\[SumiSora&CASO][Aria_the_Scarlet_Ammo][GB_BIG5_JPN][720p]\[SumiSora&CASO][Aria_the_Scarlet_Ammo][01][x264_aac](2CB50685).mkv
General
Unique ID : 205359007716480340074219743889461932233 (0x9A7EB4CB8F68250DACAABEC5C858F0C9)
Complete name : D:\movie\[SumiSora&CASO][Aria_the_Scarlet_Ammo][GB_BIG5_JPN][720p]\[SumiSora&CASO][Aria_the_Scarlet_Ammo][01][x264_aac](2CB50685).mkv
Format : Matroska
Format version : Version 2
File size : 390 MiB
Duration : 24mn 29s
Overall bit rate : 2 226 Kbps
Encoded date : UTC 2011-04-23 03:45:04
Writing application : mkvmerge v4.6.0 ('Still Crazy After All These Years') built on Mar 10 2011 02:50:32
Writing library : libebml v1.2.0 + libmatroska v1.1.0
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 24mn 29s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 114 r1913 5fd3dce
Encoding settings : cabac=1 / ref=4 / deblock=1:1:0 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=0.30:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=8 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:0.80
Language : Japanese
Audio #2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 24mn 29s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Language : Japanese
Menu
00:00:00.054 : ja:00:00:00.054
这个是带有章节的MKV视频信息

用MKVExtractGUI-2提取.H264和aac文件然后用megui重新封装出来影音不同步 帧率megui自动读取正确
尝试过用mkvmergeGUI导入该视频 然后取消勾选章节部分再混流输出MKV 输出后的MKV重新封装出的MP4一样影音不同步.

后来又尝试把章节也用MKVExtractGUI-2提取出来,提取出的是ogg文件 自己改成txt,然后用megui混流时加入该章节文件,输出的mp4 用 Haali 分离器直接报错 用 LAV splitter 分离器一快进就没声音.

现在在考虑是不是timecode的问题?
上次由 tank8888jx 在 2011-07-10 21:09,总共编辑 1 次。
cunhan
核心会员
核心会员
帖子: 214
注册时间: 2010-09-20 22:09

Re: 带有章节的MKV重新封装成MP4 影音不同步

与章节无关,就是timecode。
你需要一个工具tc2mp4
264768502
核心会员
核心会员
帖子: 402
注册时间: 2010-09-23 17:38

Re: 带有章节的MKV重新封装成MP4 影音不同步

ffmpeg一步到位
ffmpeg -i "D:\movie\[SumiSora&CASO][Aria_the_Scarlet_Ammo][GB_BIG5_JPN][720p]\[SumiSora&CASO][Aria_the_Scarlet_Ammo][01][x264_aac](2CB50685).mkv" -vcodec copy -acodec copy "D:\movie\[SumiSora&CASO][Aria_the_Scarlet_Ammo][GB_BIG5_JPN][720p]\01.mp4"
头像
xiao7
帖子: 138
注册时间: 2010-09-25 16:16

Re: 带有章节的MKV重新封装成MP4 影音不同步

ffmpeg不是输入MKV有问题么? 肉粥版?还是说已经修复了问题?
头像
-o-o-304-o-o-
超级版主
帖子: 640
注册时间: 2010-10-10 20:00
来自: US
联系: 网站

Re: 带有章节的MKV重新封装成MP4 影音不同步

看这样子澄空应该是做了vfr(中间有30i滚动字幕貌似

方法推荐草大回复的方法,ffmpeg直接封
► 显示剧情透露 En Taro 06!Taro Pie NC Fanclub project始动!聊天用Q群开放中
► 显示剧情透露 胸中有万言,退敌无一策,是谓书生误国"
► 显示剧情透露 前辈们的信念
► 显示剧情透露 妇联招新广告,走过路过可以看看撒
► 显示剧情透露 香芋派,后期菊苣们的一致选择
► 显示剧情透露 众菊苣喜评香芋派
► 显示剧情透露 聊天用工具
tank8888jx
帖子: 21
注册时间: 2011-07-07 15:58

Re: 带有章节的MKV重新封装成MP4 影音不同步

谢谢大家 我用ffmpeg试试看
tank8888jx
帖子: 21
注册时间: 2011-07-07 15:58

Re: 带有章节的MKV重新封装成MP4 影音不同步

已经用ffmpeg直接重新封装成功 但是输入命令转码有的不太方便
有这类能批量的GUI工具么
头像
xiao7
帖子: 138
注册时间: 2010-09-25 16:16

Re: 带有章节的MKV重新封装成MP4 影音不同步

mediacoder
tank8888jx
帖子: 21
注册时间: 2011-07-07 15:58

Re: 带有章节的MKV重新封装成MP4 影音不同步

mediacoder在用 但是好像我勾选了复制视频流 复制音频流 进行重新封装 经常出现错误
头像
-o-o-304-o-o-
超级版主
帖子: 640
注册时间: 2010-10-10 20:00
来自: US
联系: 网站

Re: 带有章节的MKV重新封装成MP4 影音不同步

tank8888jx 写了:mediacoder在用 但是好像我勾选了复制视频流 复制音频流 进行重新封装 经常出现错误
mediacoder的remux应该走的是ffmpeg吧(之前菊苣们提过貌似),应该没啥问题吧(没用过我猜的
► 显示剧情透露 En Taro 06!Taro Pie NC Fanclub project始动!聊天用Q群开放中
► 显示剧情透露 胸中有万言,退敌无一策,是谓书生误国"
► 显示剧情透露 前辈们的信念
► 显示剧情透露 妇联招新广告,走过路过可以看看撒
► 显示剧情透露 香芋派,后期菊苣们的一致选择
► 显示剧情透露 众菊苣喜评香芋派
► 显示剧情透露 聊天用工具

回到 “封装容器 / Container muxer and demuxer”