垃圾袋
帖子: 1
注册时间: 2013-01-15 9:17

Re: avs4x264mod-0.9.0-git-r62(691c5c4)【自動修正fps,支持非avs格式輸入】

吐槽一下:

line 858-885:

代码: 全选

for (i=1;i<argc;i++)
        {
            if( !strncmp(argv[i], "--seek", 6) )
            {
                if( !strcmp(argv[i], "--seek") )
                {
                    i_frame_start = atoi(argv[i+1]);
                    if( !b_tc && !b_qp && !b_seek_safe ) /* delete seek parameters if no timecodes/qpfile and seek-mode=fast */
                    {
                        for (int k=i;k<argc-2;k++)
                            argv[k] = argv[k+2];
                        argc -= 2;
                        i--;
                    }
                }
                else
                {
                    i_frame_start = atoi(argv[i]+7);
                    if( !b_tc && !b_qp && !b_seek_safe ) /* delete seek parameters if no timecodes/qpfile and seek-mode=fast */
                    {
                        for (int k=i;k<argc-1;k++)
                            argv[k] = argv[k+1];
                        argc -= 1;
                        i--;
                    }
                }
            }
        }
如果用户输入了 --seek8100 这样的参数?

line 148-155

代码: 全选

static AVS_Value update_clip( avs_hnd_t avs_h, const AVS_VideoInfo *vi, AVS_Value res, AVS_Value release )
{
    avs_h.func.avs_release_clip( avs_h.clip );
    avs_h.clip = avs_h.func.avs_take_clip( res, avs_h.env );
    avs_h.func.avs_release_value( release );
    vi = avs_h.func.avs_get_video_info( avs_h.clip );
    return res;
}
= =
没记错的话,x264/input/avs.c里面是这样子的

代码: 全选

static AVS_Value update_clip( avs_hnd_t *h, const AVS_VideoInfo **vi, AVS_Value res, AVS_Value release )
{
    h->func.avs_release_clip( h->clip );
    h->clip = h->func.avs_take_clip( res, h->env );
    h->func.avs_release_value( release );
    *vi = h->func.avs_get_video_info( h->clip );
    return res;
}
{:cat_15}
lwjkk666
帖子: 321
注册时间: 2012-05-29 13:43

Re: avs4x264mod-0.9.0-git-r62(691c5c4)【自動修正fps,支持非avs格式輸入】

萨默尔 写了:这个怎么用?我是新手 比如我有一个 123.avi 怎么弄出来 123.MP4?请原谅 实在是不懂
新手就先用格式工厂先吧,基本可以满足要求,AVI转MP4,单纯转格式的话。
萨默尔
帖子: 4
注册时间: 2013-04-15 11:15

Re: avs4x264mod-0.9.0-git-r62(691c5c4)【自動修正fps,支持非avs格式輸入】

啥时候可以玩这个?一直用着megui。那这个不是单纯转格式,还有啥? 我也想高压缩,体积小的mp4啊,同时还兼顾时间。
头像
msg7086
帖子: 600
注册时间: 2011-02-19 0:49

Re: avs4x264mod-0.9.0-git-r62(691c5c4)【自動修正fps,支持非avs格式輸入】

萨默尔 写了:啥时候可以玩这个?一直用着megui。那这个不是单纯转格式,还有啥? 我也想高压缩,体积小的mp4啊,同时还兼顾时间。
这是个管道,avs->x264的
Delogo LGD Collections 各种台标下载 | Home Of VapourSynth Evolution

<回答が無い理由>
1. 誰も知らない
2. 質問文が意味不明
3. 知ってるが、お前の態度が気に入らない
4. 良いボケが思いつかない
Akari
帖子: 9
注册时间: 2012-05-25 18:04

Re: avs4x264mod-0.9.0-git-r62(691c5c4)【自動修正fps,支持非avs格式輸入】

求解为什么我在Win7下使用avs4x264mod直接就挂了?
代码如下:

代码: 全选

avs4x264mod --x264-binary "x264_tMod-10bit" --profile high10 --crf 18 --ref 5 --deblock -1:-1 --b-adapt 2 --bframes 5 --keyint infinite --min-keyint 1 --scenecut 40 --direct auto --me tesa --merange 24 --subme 9 --rc-lookahead 50 --psy-rd 0.8:0 --trellis 2 --input-depth 10 --output "Accel World - NCOP 1_v.mp4" "Accel World - NCOP 1.avs"
AVS是也是使用taro菊莒的f3kdb做的纯位深转换:

代码: 全选

AVCSource(dga="Accel World - NCOP 1.dga",deblock=false)
f3kdb(Y=0,Cb=0,Cr=0,keep_tv_range=true,precision_mode=3,output_mode=2,output_depth=10)
TextSub("Accel World - NCOP 1.ass")
崩溃截图:
图片

Win8下没有问题的
akw28888
帖子: 171
注册时间: 2012-02-24 17:12

Re: avs4x264mod-0.9.0-git-r62(691c5c4)【自動修正fps,支持非avs格式輸入】

Akari 写了:求解为什么我在Win7下使用avs4x264mod直接就挂了?
代码如下:

代码: 全选

avs4x264mod --x264-binary "x264_tMod-10bit" --profile high10 --crf 18 --ref 5 --deblock -1:-1 --b-adapt 2 --bframes 5 --keyint infinite --min-keyint 1 --scenecut 40 --direct auto --me tesa --merange 24 --subme 9 --rc-lookahead 50 --psy-rd 0.8:0 --trellis 2 --input-depth 10 --output "Accel World - NCOP 1_v.mp4" "Accel World - NCOP 1.avs"
AVS是也是使用taro菊莒的f3kdb做的纯位深转换:

代码: 全选

AVCSource(dga="Accel World - NCOP 1.dga",deblock=false)
f3kdb(Y=0,Cb=0,Cr=0,keep_tv_range=true,precision_mode=3,output_mode=2,output_depth=10)
TextSub("Accel World - NCOP 1.ass")
崩溃截图:
图片

Win8下没有问题的
光看avs 加字幕請在8bit的時候加
sikele2236
帖子: 10
注册时间: 2013-11-06 23:09

Re: avs4x264mod-0.9.1-git-r64(105c53a)

这个也是不支持unicode的。。悲剧啊
gloryhussar
帖子: 23
注册时间: 2013-10-01 16:23

Re: avs4x26x-0.10.0-git-r70(28fdd98)

可否编写一个进程,同时pipe给两个x264/x265?这样在特殊情况下有很大用处。
头像
wongyi
帖子: 6
注册时间: 2015-10-27 20:50

Re: avs4x26x-0.10.0-git-r70(28fdd98)

当把x264log的级别设置成debug之后会停止运行
原版也有这个问题,不知道为什么

回到 “视频编码器 / Video encoder discussion”