Das mit dem -rawvideo hatte ich nicht beachtet, Danke sneaker2.
Nun habe ich leider direkt ein anderes Problem.
Ich habe den trim befehl im AVS Script benutzt, habe diesen auf 500 Frames beschränkt, zwecks den Test Encodes.
Nur ist mir aufgefallen, das er jetzt mir diese 500 Frames nicht mehr encodet, sondern entweder nach 250 oder 150 Frames aufhört und sagt er ist fertig.
ZitatAlles anzeigen./encode$ WINEPREFIX=~/.wine32 wine avs2pipe26mod.exe -rawvideo ./test.avs | x265 - --merange 44 --no-rect --no-amp --aq-mode 1 --aq-strength 1.0 --rd 4 --psy-rd 1.6 --psy-rdoq 5.0 --rdoq-level 1 --no-sao --qcomp 0.75 --no-strong-intra-smoothing --rdpenalty 1 --tu-inter-depth 2 --tu-intra-depth 2 --ctu 32 --max-tu-size 16 --input-depth 10 --input-res 1280x720 --fps 24000/1001 -o test_x265.hevc
yuv [info]: 1280x720 fps 24000/1001 i444p10 unknown frame count
raw [info]: output file: test_x265.hevc
x265 [info]: HEVC encoder version 1.9+39-45c0dbd43dec
x265 [info]: build info [Linux][GCC 5.3.1][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main 4:4:4 10 profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features : 3 / wpp(23 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 8
x265 [info]: Residual QT: max TU size, max depth : 16 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge : hex / 44 / 2 / 2
x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
x265 [info]: Cb/Cr QP Offset : 6 / 6
x265 [info]: Intra 32x32 TU penalty type : 1
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / 1 / 1
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.75
x265 [info]: tools: rd=4 psy-rd=1.60 rdoq=1 psy-rdoq=5.00 signhide tmvp
x265 [info]: tools: lslices=4 deblock
avs2pipemod [info]: writing 501 frames of 1280x1440 YUV-420-planar (i420) rawvideo.
avs2pipemod [info]: finished, wrote 501 frames [100%].
avs2pipemod [info]: total elapsed time is 165.658 sec [3.024fps].
x265 [info]: frame I: 2, Avg QP:38.98 kb/s: 107357.35
x265 [info]: frame P: 50, Avg QP:38.92 kb/s: 109706.93
x265 [info]: frame B: 198, Avg QP:40.82 kb/s: 86328.44
x265 [info]: Weighted P-Frames: Y:28.0% UV:24.0%
x265 [info]: consecutive B-frames: 3.8% 0.0% 0.0% 3.8% 92.3%encoded 250 frames in 186.51s (1.34 fps), 91172.37 kb/s, Avg QP:40.43
./encode$ WINEPREFIX=~/.wine32 wine avs2pipe26mod.exe -rawvideo ./test.avs | x265 - --merange 44 --no-rect --no-amp --aq-mode 1 --aq-strength 1.0 --rd 4 --psy-rd 1.6 --psy-rdoq 5.0 --rdoq-level 1 --no-sao --qcomp 0.75 --no-strong-intra-smoothing --rdpenalty 1 --tu-inter-depth 2 --tu-intra-depth 2 --ctu 32 --max-tu-size 16 --input-depth 10 --input-res 1280x720 --fps 24000/1001 -o test_x265.hevc
yuv [info]: 1280x720 fps 24000/1001 i444p10 unknown frame count
raw [info]: output file: test_x265.hevc
x265 [info]: HEVC encoder version 1.9+39-45c0dbd43dec
x265 [info]: build info [Linux][GCC 5.3.1][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main 4:4:4 10 profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features : 3 / wpp(23 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 8
x265 [info]: Residual QT: max TU size, max depth : 16 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge : hex / 44 / 2 / 2
x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
x265 [info]: Cb/Cr QP Offset : 6 / 6
x265 [info]: Intra 32x32 TU penalty type : 1
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / 1 / 1
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.75
x265 [info]: tools: rd=4 psy-rd=1.60 rdoq=1 psy-rdoq=5.00 signhide tmvp
x265 [info]: tools: lslices=4 deblock
avs2pipemod [info]: writing 501 frames of 1280x720 YUV-420-planar (i420) rawvideo.
avs2pipemod [info]: finished, wrote 501 frames [100%].
avs2pipemod [info]: total elapsed time is 109.353 sec [4.581fps].
x265 [info]: frame I: 2, Avg QP:38.88 kb/s: 96243.98
x265 [info]: frame P: 26, Avg QP:38.52 kb/s: 104466.96
x265 [info]: frame B: 97, Avg QP:40.76 kb/s: 70691.95
x265 [info]: Weighted P-Frames: Y:23.1% UV:19.2%
x265 [info]: consecutive B-frames: 7.1% 7.1% 0.0% 3.6% 82.1%
encoded 125 frames in 125.51s (1.00 fps), 78125.99 kb/s, Avg QP:40.27
ZitatAlles anzeigenGeneralComplete name : ./encode/test_x265.hevc
Format : HEVC
Format/Info : High Efficiency Video Coding
File size : 1.05 MiB
Writing library : x265 1.9+39-45c0dbd43dec:[Linux][GCC 5.3.1][64 bit] 10bit
Encoding settings : wpp / ctu=32 / min-cu-size=8 / max-tu-size=16 / tu-intra-depth=2 / tu-inter-depth=2 / me=1 / subme=2 / merange=44 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=1 / no-tskip / no-tskip-fast / no-strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=20 / lookahead-slices=4 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=6 / crqpoffs=6 / rd=4 / psy-rd=1.60 / rdoq-level=1 / psy-rdoq=5.00 / no-rd-refine / signhide / deblock / no-sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=28.0 / qcomp=0.75 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Video
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : @L3.1@Main
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:4:4
Bit depth : 10 bits
Writing library : x265 1.9+39-45c0dbd43dec:[Linux][GCC 5.3.1][64 bit] 10bit
Encoding settings : wpp / ctu=32 / min-cu-size=8 / max-tu-size=16 / tu-intra-depth=2 / tu-inter-depth=2 / me=1 / subme=2 / merange=44 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=1 / no-tskip / no-tskip-fast / no-strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=20 / lookahead-slices=4 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=6 / crqpoffs=6 / rd=4 / psy-rd=1.60 / rdoq-level=1 / psy-rdoq=5.00 / no-rd-refine / signhide / deblock / no-sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=28.0 / qcomp=0.75 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Hier mein AVS Script:
ZitatLWLibavVideoSource("test_01.mkv").AssumeFPS(24000,1001)
Dither_convert_8_to_16()
Dither_resize16(1280,720,kernel="blackmanminlobe", taps=4, y=3, u=3, v=3)
f3kdb(range = 20, grainY = 0, grainC = 0, Y = 80, Cb = 80, Cr = 80, keep_tv_range=true)
Dither_quantize(10,reducerange=true,mode=8).Dither_out()
trim(3500,4000)