版面规则
提问时请注意:尽量详细描述操作过程、AVS脚本内容等,最好能写出片名,只贴图有时无法看出问题原因。
提示:发布原创内容请尽量使用附件上传。使用网盘会出现过期失效的问题,请注意。
头像
Neroldy
帖子: 18
注册时间: 2014-09-11 13:23

[已解决]关于Average的问题

最近手里有个2046的蓝光原盘,但是是5张中连续2张blending的情况,,然后我打算用srestore去除blending,avs脚本如下:

代码: 全选

LWLibavVideoSource("I:\BluRay & DVD & HDTV\2046 2004 KOR BluRay 1080i AVC DTS-HD MA5.1-Nio@CHDBits\BDMV\STREAM\00001.m2ts")
srestore(frate=25.000, omode="pp3")
decimate(cycle=5, quality=0)
但是出现了错误:Average: all clips must be have same or greater number of frames as the first one.
然后我去查看了一下Average的帖子,看到了那几条使用约束,但是还是不知道我这个问题应该如何解决。
附一段10s的sample:http://pan.baidu.com/s/1eQENI9O
片子的mediainfo:

代码: 全选

General
ID                                       : 0 (0x0)
Complete name                            : I:\BluRay & DVD & HDTV\2046 2004 KOR BluRay 1080i AVC DTS-HD MA5.1-Nio@CHDBits\BDMV\STREAM\00001.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 20.4 GiB
Duration                                 : 2h 7mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 22.8 Mbps
Maximum Overall bit rate                 : 48.0 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Format settings, GOP                     : M=3, N=24
Codec ID                                 : 27
Duration                                 : 2h 7mn
Bit rate mode                            : Variable
Maximum bit rate                         : 33.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 fps
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : MBAFF
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Muxing mode                              : Stream extension
Codec ID                                 : 134
Duration                                 : 2h 7mn
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossless / Lossy

Text #1
ID                                       : 4608 (0x1200)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144

Text #2
ID                                       : 4609 (0x1201)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144

Text #3
ID                                       : 4610 (0x1202)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Language                                 : Chinese

Text #4
ID                                       : 4611 (0x1203)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Language                                 : Chinese
还请各位大神帮忙,多谢了~
上次由 Neroldy 在 2015-02-14 23:07,总共编辑 1 次。
头像
Neroldy
帖子: 18
注册时间: 2014-09-11 13:23

Re: 关于Average的问题

问题已解决,就是用srestore的时候不要用tp7的Average,改用mg262的Average就OK了。
Reel.Deel said:
You must be using tp7's updated Average, unlike the original it has a few sanity checks (it's the correct thing to do but it can potentially break compatibility with some scripts in certain situations). I encountered this not too long ago, try trimming or adding a frame, if that doesn't work then use the original Average (bottom of the page).

回到 “AviSynth”