lordmulder / Simple-x264-Launcher

Simple x264/x265 Launcher
http://muldersoft.com/
GNU General Public License v2.0
151 stars 20 forks source link

vpyp info Deprecated option --y4m specified, use -c y4m instead #31

Closed ted423 closed 3 weeks ago

ted423 commented 2 years ago

vspipe.exe -c y4m

lordmulder commented 2 years ago

I think this will break compatibility with older VapourSynth versions?

Do you know what was the first version of vspipe.exe that supports the -c y4m option?

ted423 commented 2 years ago

Not really clear, but r57 is definitely -c y4m

ted423 commented 2 years ago

https://github.com/vapoursynth/vapoursynth/blob/6eb77a6f9ecc4c675dd55aef2554a1bf481280f1/doc/vspipe.rst https://github.com/vapoursynth/vapoursynth/blob/e47e61ca7803d17d8ed65ec28c6158545a8ac3e9/doc/output.rst it seems changed on 2021-09

lordmulder commented 2 years ago

Well, so I think I will stick with --y4m for a while.

MRos7909 commented 1 month ago

Hello @lordmulder,

First of all thank you for the awesome software. Secondly, I think that this issue is now more relevant. In fact from R66 (latest is R68) VapourSynth deprecated --y4m. Due to this, the program is now unable to start VapourSynth job entirely. Can you look into it? I can do a PR if you like (even if the change is very simple).

lordmulder commented 1 month ago

So, you are telling me that --y4m now is not working at all? Usually "deprecation" means that something is no longer is recommended and might be removed in future, but it is still there (for now).

Well, will look into this, as soon as I find some time.

MRos7909 commented 1 month ago

So, you are telling me that --y4m now is not working at all? Usually "deprecation" means that something is no longer is recommended and might be removed in future, but it is still there (for now).

Well, will look into this, as soon as I find some time.

Hi @lordmulder, for deprecated I mean removed. The deprecation notice is there (in vspipe output as warning) since 2021/2022 as stated in @ted423 comment here:

https://github.com/vapoursynth/vapoursynth/blob/6eb77a6f9ecc4c675dd55aef2554a1bf481280f1/doc/vspipe.rst https://github.com/vapoursynth/vapoursynth/blob/e47e61ca7803d17d8ed65ec28c6158545a8ac3e9/doc/output.rst it seems changed on 2021-09

This is the proof of the removal (using vapoursynth version R68):

$ vspipe -c y4m
No script file specified
$ vspipe --y4m
Unknown argument: --y4m
lordmulder commented 1 month ago

Can you please try with this version? Testing/x264_launcher-TEST.2024-06-16.exe

MRos7909 commented 1 month ago

Hi @lordmulder,

sorry for the delay. I've tried to run a job with Vapoursynth R68 (latest release) and now the process is not crashing and it's working as expected. Thank you.

Here is the complete job log as proof:

[2024-06-29][14:43:02] Simple x264 Launcher (Build #1221), built 2024-06-16
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Job started at 2024-06-29, 14:43:02.
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Source file : E:\test_r68\test_r68.vpy
[2024-06-29][14:43:02] Output file : E:\test_r68\test_r68.hevc
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] --- SYSTEMINFO ---
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Binary Path : E:\utility\simple_x264_launcher
[2024-06-29][14:43:02] Avisynth    : No
[2024-06-29][14:43:02] VapourSynth : Yes
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] --- SETTINGS ---
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Encoder : x265 (HEVC/H.265), 64-Bit (x64), 10-Bit
[2024-06-29][14:43:02] Source  : VapourSynth (vpy)
[2024-06-29][14:43:02] RC Mode : CRF
[2024-06-29][14:43:02] Preset  : veryslow
[2024-06-29][14:43:02] Tuning  : <None>
[2024-06-29][14:43:02] Profile : <Unrestricted>
[2024-06-29][14:43:02] Custom  : --pme --pmode --hme --hme-range 16,32,48 --hme-search dia,umh,star --deblock -1:1 --sao --cbqpoffs -1 --crqpoffs -1 --min-keyint 1 --keyint 1440 --rskip 0 --no-early-skip --rd-refine --aq-mode 4 --colormatrix 9 --transfer 16 --colorprim 9 --selective-sao 2 --sao-non-deblock --limit-sao --subme 5 --qg-size 8 --tu-intra-depth 4 --tu-inter-depth 4 --rc-lookahead 60 --hdr10 --hdr10-opt --psy-rd 2 --psy-rdoq 4 --aq-strength 0.6 --no-rect --no-amp --ctu 32 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)"
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] --- CHECK VERSION ---
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Detect video encoder version:
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Creating process:
[2024-06-29][14:43:02] E:\utility\simple_x264_launcher\toolset\x64\x265_x64.exe --version
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] x265 [info]: HEVC encoder version 3.5+100-3dae0c3cc
[2024-06-29][14:43:02] x265 [info]: build info [Windows][GCC 12.2.0][64 bit] 8bit+10bit+12bit
[2024-06-29][14:43:02] x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Detect video source version:
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Creating process:
[2024-06-29][14:43:02] E:\utility\VapourSynth\core\vspipe.exe --version
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] VapourSynth Video Processing Library
[2024-06-29][14:43:02] Copyright (c) 2012-2023 Fredrik Mellbin
[2024-06-29][14:43:02] Core R68
[2024-06-29][14:43:02] API R4.1
[2024-06-29][14:43:02] API R3.6
[2024-06-29][14:43:02] Options: -
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] > x265 version: 3.5+100
[2024-06-29][14:43:02] > VapourSynth version: r68 (API r3)
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] --- GET SOURCE INFO ---
[2024-06-29][14:43:02] 
[2024-06-29][14:43:02] Creating process:
[2024-06-29][14:43:02] E:\utility\VapourSynth\core\vspipe.exe --info E:\test_r68\test_r68.vpy -
[2024-06-29][14:43:02] 
[2024-06-29][14:43:05] Width: 3840
[2024-06-29][14:43:05] Height: 1600
[2024-06-29][14:43:05] Frames: 100
[2024-06-29][14:43:05] FPS: 24000/1001 (23.976 fps)
[2024-06-29][14:43:05] Format Name: YUV420P10
[2024-06-29][14:43:05] Color Family: YUV
[2024-06-29][14:43:05] Alpha: No
[2024-06-29][14:43:05] Sample Type: Integer
[2024-06-29][14:43:05] Bits: 10
[2024-06-29][14:43:05] SubSampling W: 1
[2024-06-29][14:43:05] SubSampling H: 1
[2024-06-29][14:43:05] 
[2024-06-29][14:43:05] Resolution: 3840 x 1600
[2024-06-29][14:43:05] Frame Rate: 24000/1001
[2024-06-29][14:43:05] No. Frames: 100
[2024-06-29][14:43:05] 
[2024-06-29][14:43:05] --- ENCODING VIDEO ---
[2024-06-29][14:43:05] 
[2024-06-29][14:43:05] Creating input process:
[2024-06-29][14:43:05] E:\utility\VapourSynth\core\vspipe.exe -c y4m E:\test_r68\test_r68.vpy -
[2024-06-29][14:43:05] 
[2024-06-29][14:43:05] Creating encoder process:
[2024-06-29][14:43:05] E:\utility\simple_x264_launcher\toolset\x64\x265_x64.exe -D 10 --crf 12.0 --preset veryslow --pme --pmode --hme --hme-range 16,32,48 --hme-search dia,umh,star --deblock -1:1 --sao --cbqpoffs -1 --crqpoffs -1 --min-keyint 1 --keyint 1440 --rskip 0 --no-early-skip --rd-refine --aq-mode 4 --colormatrix 9 --transfer 16 --colorprim 9 --selective-sao 2 --sao-non-deblock --limit-sao --subme 5 --qg-size 8 --tu-intra-depth 4 --tu-inter-depth 4 --rc-lookahead 60 --hdr10 --hdr10-opt --psy-rd 2 --psy-rdoq 4 --aq-strength 0.6 --no-rect --no-amp --ctu 32 --master-display G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50) --output E:\test_r68\test_r68.hevc --frames 100 --y4m -
[2024-06-29][14:43:05] 
[2024-06-29][14:43:09] y4m [info]: 3840x1600 fps 24000/1001 i420p10 unknown frame count
[2024-06-29][14:43:09] raw [info]: output file: E:\test_r68\test_r68.hevc
[2024-06-29][14:43:09] x265 [info]: HEVC encoder version 3.5+100-3dae0c3cc
[2024-06-29][14:43:09] x265 [info]: build info [Windows][GCC 12.2.0][64 bit] 10bit
[2024-06-29][14:43:09] x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2024-06-29][14:43:09] x265 [warning]: Turning on repeat-headers for HDR compatibility
[2024-06-29][14:43:09] x265 [info]: Main 10 profile, Level-5 (Main tier)
[2024-06-29][14:43:09] x265 [info]: Thread pool created using 24 threads
[2024-06-29][14:43:09] x265 [info]: Slices : 1
[2024-06-29][14:43:09] x265 [info]: frame threads / pool features : 4 / wpp(50 rows)+pmode+pme
[2024-06-29][14:43:09] x265 [info]: Coding QT: max CU size, min CU size : 32 / 8
[2024-06-29][14:43:09] x265 [info]: Residual QT: max TU size, max depth : 32 / 4 inter / 4 intra
[2024-06-29][14:43:09] x265 [info]: HME L0,1,2 / range / subpel / merge : dia, umh, star / 48 / 5 / 5
[2024-06-29][14:43:09] x265 [info]: Keyframe min / max / scenecut / bias : 1 / 1440 / 40 / 5.00
[2024-06-29][14:43:09] x265 [info]: Cb/Cr QP Offset : -1 / -1
[2024-06-29][14:43:09] x265 [info]: Lookahead / bframes / badapt : 60 / 8 / 2
[2024-06-29][14:43:09] x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
[2024-06-29][14:43:09] x265 [info]: References / ref-limit cu / depth : 5 / off / off
[2024-06-29][14:43:09] x265 [info]: AQ: mode / str / qg-size / cu-tree : 4 / 0.6 / 8 / 1
[2024-06-29][14:43:09] x265 [info]: Rate Control / qCompress : CRF-12.0 / 0.60
[2024-06-29][14:43:09] x265 [info]: tools: rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=4.00 rd-refine signhide
[2024-06-29][14:43:09] x265 [info]: tools: tmvp b-intra strong-intra-smoothing deblock(tC=-1:B=1)
[2024-06-29][14:43:09] x265 [info]: tools: sao-non-deblock selective-sao
[2024-06-29][14:43:50] x265 [info]: frame I: 1, Avg QP:17.00 kb/s: 343.14
[2024-06-29][14:43:50] x265 [info]: frame P: 12, Avg QP:15.36 kb/s: 5196.37
[2024-06-29][14:43:50] x265 [info]: frame B: 87, Avg QP:19.91 kb/s: 451.97
[2024-06-29][14:43:50] x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
[2024-06-29][14:43:50] x265 [info]: Weighted B-Frames: Y:3.4% UV:2.3%
[2024-06-29][14:43:50] encoded 100 frames in 41.25s (2.42 fps), 1020.21 kb/s, Avg QP:19.33
[2024-06-29][14:43:50] vpyp [info]: Output 100 frames in 26.09 seconds (3.83 fps)
[2024-06-29][14:43:50] Final file size is 522.2 KB bytes.
[2024-06-29][14:43:50] 
[2024-06-29][14:43:50] --- COMPLETED ---
[2024-06-29][14:43:50] 
[2024-06-29][14:43:50] Job finished at 2024-06-29, 14:43:50. Process took 0 minutes, 47 seconds.
lordmulder commented 3 weeks ago

Okay, good to know. So I think this should be solved 😄