『漫游』酷论坛>『影音数码技术学习交流』>[请教]VFR重新封装问题
[请教]VFR重新封装问题
UTpop@2007-01-06 17:21
我看到 12)matroska能够添加可变帧率(VFR)的内容吗? 这个教程了,可打不开doom9(方正的烂网)。目前问题是用mkvmerge GUI 出现了下面的错误,应该本身应该就是VFR的MKV,现在就是想调整一下外挂字幕,其它的不动,但无法重新封装。想问一下集体到底如何操作才可重新封装。
mkvmerge output:
mkvmerge v1.8.1 ('Little By Little') built on Nov 25 2006 16:14:20
'G:\[MapleSnow_PPX]Black_Lagoon_01[DVDRip][H264_AC3][0C5B8A20].mkv': Using the Matroska
demultiplexer.
'G:\[MapleSnow_PPX]Black_Lagoon_01[DVDRip][H264_AC3][0C5B8A20].mkv' track 1: Using the text
subtitle output module.
'G:\[MapleSnow_PPX]Black_Lagoon_01[DVDRip][H264_AC3][0C5B8A20].mkv' track 2: Using the video
output module.
At the moment mkvmerge does not support converting from VfW-mode AVC/h.264 tracks to native
Matroska-mode AVC/h.264 tracks. You can, however, first import the video track into a MP4
file with e.g. 'MP4Box' (use Google). Then you can use mkvmerge and put the video into a
Matroska file.
If you're trying to get AVC/h.264 from an AVI into Matroska then the commands you need to
use are for example:
avi2raw avc.avi raw.264
mp4box -fps 23.976 -add raw.264 avc.mp4
Keep in mind to replace '-fps 23.976' with the actual frame rate of your source file.
If you really know what you are doing then you can force mkvmerge to put this AVC/h.264
track into a Matroska file even in VfW mode if you add '--engage allow_avc_in_vfw_mode' to
the command line. You can do that in mmg with the 'Add command line options' menu entry in
the 'Muxing' menu.
Errors:
Error: 'G:\[MapleSnow_PPX]Black_Lagoon_01[DVDRip][H264_AC3][0C5B8A20].mkv' track 2: You are
trying to put AVC/h.264 video from an AVI or a similar VfW (Video for Windows) compatible
source into a Matroska file in the so-called 'VfW compatibility mode'. Please note that this
is not the official way to store AVC/h.264 video in Matroska. Therefore proper playback of
such files cannot be guaranteed, and we strongly urge you to use the native Matroska-mode.
GOD_HIKARU MK2@2007-01-06 18:22
= = 会不会你那个版本问题
换1.6试下吧
badchris@2007-01-06 18:27
跟VFR有啥关系
加个参数强行封进去,就这段说的
track into a Matroska file even in VfW mode if you add '--engage allow_avc_in_vfw_mode' to
the command line. You can do that in mmg with the 'Add command line options' menu entry in
the 'Muxing' menu.
剩下的原因(其实还有方法等一切)这段英文讲的再清楚不过了,不再叙述
雷鸣@2007-01-06 19:59
avi2raw avc.avi raw.264
mp4box -fps 23.976 -add raw.264 avc.mp4
这是关键……虽然要花一些时间。
英文不行的话试试金山快译……虽然可能越译越看不懂
kagakadaj@2007-01-06 21:14
也就是说要用MP4封装了以后再装MKV....其实我觉得还不如直接输出MP4
UTpop@2007-01-06 22:50
问题已解决,多谢楼上诸位。如3楼badchris所说强加这个参数就可以,这比先提取再转MP4再封方便一些。
badchris@2007-01-06 22:52
直接输出MP4那是AVC吧……
x264 VFW还是有人在用……
h2o2shadow@2007-01-06 23:31
比如说我
挖哈哈
XD
kagakadaj@2007-01-07 11:49
引用
最初由 badchris 发布
直接输出MP4那是AVC吧……
x264 VFW还是有人在用……
抱歉 偶也用着[/KH]
只是不习惯已经封了MP4还得再封个MKV而已
雷鸣@2007-01-07 12:52
不是好多人都说VFW的X264容易出问题吗?
虽然在我这里从来没有出过问题……不过既然都有和VFW接近于一样的GUI我也就不用VFW了。毕竟对于我来说,我并不重视其中视频走了什么路线,注重的是最终的效果(不过VFW的确实比较好编辑)。
不过,既然都只是重新封装,avc2avi怎么会那么耗费CPU呢……不解。
realsweet@2007-01-07 13:11
直接VFW出来的不会有问题
CLI的硬塞AVI才会出问题
比如avidemux出来的那种
| TOP