jytroy 发表于 2023/9/9 11:32

请教下shanaencoder 6.0.1.2转x265错误frames duplicated

Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
x265 : HEVC encoder version 3.5+103-8f18e3ad3
x265 : build info 10bit
x265 : using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 : Main 10 profile, Level-4 (Main tier)
x265 : Thread pool created using 16 threads
x265 : Slices                              : 1
x265 : frame threads / pool features       : 4 / wpp(18 rows)
x265 : Coding QT: max CU size, min CU size : 32 / 8
x265 : Residual QT: max TU size, max depth : 32 / 3 inter / 3 intra
x265 : ME / range / subpel / merge         : hex / 57 / 5 / 3
x265 : Keyframe min / max / scenecut / bias: 1 / 300 / 40 / 5.00
x265 : Cb/Cr QP Offset                     : -2 / -2
x265 : Lookahead / bframes / badapt      : 60 / 8 / 2
x265 : b-pyramid / weightp / weightb       : 1 / 1 / 1
x265 : References / ref-limitcu / depth: 4 / off / on
x265 : AQ: mode / str / qg-size / cu-tree: 4 / 1.0 / 32 / 1
x265 : Rate Control / qCompress            : CRF-20.0 / 0.60
x265 : tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 : tools: rskip mode=2 rskip-edge-threshold=0.05 limit-tu=4 signhide
x265 : tools: tmvp b-intra deblock(tC=-2:B=-2)
More than 1000 frames duplicated
More than 10000 frames duplicated
More than 100000 frames duplicated

* 编码错误已经发生。

>> 速度 0.272x 已耗时 04:19:10

CPU是intel 12600KF内存32G D4 目前线程是默认的

小樱 发表于 2023/9/9 18:51

是否只有特定的片源出现frames duplicated错误?
F6里面勾选帧速率,设置一个固定的值试试?看看还会不会出现相同的错误

jytroy 发表于 2023/9/10 03:03

会,这个没有特定的片源,恒定帧速率是60,关键帧10

小樱 发表于 2023/9/10 07:04

jytroy 发表于 2023/9/10 03:03
会,这个没有特定的片源,恒定帧速率是60,关键帧10

https://bbs.itzmx.com/thread-10422-1-1.html
F8里面加个参数, -vsync 2 试试?(也就是别勾选恒定帧速率,使用可变的vfr来编码)
在6.0新版本中,需要使用 -fps_mode 来代替

jytroy 发表于 2023/9/11 11:48

-f mp4
-c:v libx265 -preset slower -tune:v none -crf 20.0 -r 60 -shanakeyframe 10 -libx265main10
-x265-params ctu=32:scenecut=40:ref=4:me=hex:subme=5:merange=57:max-merge=3:psy-rd=2.0:psy-rdoq=1.0:rdoq-level=2:aq-mode=4:aq-strength=1.0:qcomp=0.60:pbratio=1.2:open-gop=no:no-strong-intra-smoothing=1:no-sao=1:selective-sao=0:cutree=yes:amp=no:rect=no:weightp=1:weightb=1:cbqpoffs=-2:crqpoffs=-2:deblock=-2,-2:rc-lookahead=60:lookahead-slices=0:min-keyint=1:rd=4:rskip=2:early-skip=0:bframes=8:b-adapt=2:b-intra=1 -ac 2
-sn -c:a libfdk_aac -b:a 192k
-map_metadata -1 -map_chapters -1 -fps_mode cfr
这个是我的参数,在内容里已经写了,还是会出错,比如十几个任务中会有那么几个出错,我感觉是不是跟线程数有关
默认的5个文件数之间会不会造成冲突才会导致转换失败,5.0版本的出错过少是不是因为是一个文件一个文件转换的?

jytroy 发表于 2023/9/12 10:56

测试了几天,把任务数调为1-2,错误率就没有了,应该是任务数多了,错误率也高了,看来转换时不能用电脑做其它事了
页: [1]
查看完整版本: 请教下shanaencoder 6.0.1.2转x265错误frames duplicated