xia兄的教程写得不错,之前已经给红心了。昨天压片的时候遇到一个问题,不知道解决了没有。
这是欧美区的一个帖子
http://67.220.92.23/bbs/thread-2517694-1-2.html
我昨天压的就是这个,这个f4v封装的也是AVC+AAC,我写完AVS脚本,打开非常缓慢,几分钟才能打开,之前也压过一个8M 码率的1080P的视频,也没有遇到过这种情况,好不容易打开了,trim了3000到4000帧来测试,用megui载入的又是漫长的等待,加入任务的时候也卡了几分钟,压制的时候每秒只有几帧,比我之前用更高码率压的1080P视频还慢得多。
这时候我想了一个办法,用mmg将这个f4v视频重新封装为MKV,成功了,因为封装过程并没有重新编码,所以我对前后视频体积的变化感到奇怪,不知道什么原因。然后AVS脚本里加载 了这个MKV,打开很快,但是压制依然缓慢,26分钟的视频足足压了160分钟,比我之前压的那个要慢得多。不知道怎么回事。
一下是这三个视频的信息
原版1080P的f4v复制内容到剪贴板
代码:
E:\nomoniquealec_1080.f4v
General
Complete name : E:\nomoniquealec_1080.f4v
Format : f4v
Codec ID : f4v
File size : 811 MiB
Duration : 26mn 20s
Overall bit rate : 4 303 Kbps
Encoded date : UTC 2009-09-09 18:45:53
Tagged date : UTC 2009-09-09 18:45:53
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 26mn 20s
Bit rate mode : Variable
Bit rate : 3 990 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate mode : Constant
Frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.064
Stream size : 752 MiB (93%)
Title : Video
Encoded date : UTC 2009-09-09 18:45:53
Tagged date : UTC 2009-09-09 18:45:53
Audio #2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 26mn 20s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 24.1 MiB (3%)
Title : Audio
Encoded date : UTC 2009-09-09 18:45:53
Tagged date : UTC 2009-09-09 18:45:53
重新封装的1080P的MKV复制内容到剪贴板
代码:
E:\nomoniquealec_1080.mkv
General
Complete name : E:\nomoniquealec_1080.mkv
Format : Matroska
File size : 776 MiB
Duration : 26mn 20s
Overall bit rate : 4 121 Kbps
Encoded date : UTC 2009-10-28 21:13:24
Writing application : mkvmerge v2.9.7 ('Tenderness') built on Jul 1 2009 18:43:35
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 26mn 18s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Audio #2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 26mn 20s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
我压制后封装的720P的MKV复制内容到剪贴板
代码:
E:\nomoniquealec_720.mkv
General
Complete name : E:\nomoniquealec_720.mkv
Format : Matroska
File size : 402 MiB
Duration : 26mn 20s
Overall bit rate : 2 134 Kbps
Encoded date : UTC 2009-10-29 04:09:30
Writing application : mkvmerge v2.9.7 ('Tenderness') built on Jul 1 2009 18:43:35
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 26mn 18s
Nominal bit rate : 2 100 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.095
Writing library : x264 core 72 r1240 35627b6
Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2100 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / aq=1:1.00
Audio #2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : Yes
Format settings, PS : Yes
Codec ID : A_AAC
Duration : 26mn 20s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Resolution : 16 bits