mpeg5 / xeve

eXtra-fast Essential Video Encoder, MPEG-5 EVC (Essential Video Coding)
Other
165 stars 39 forks source link

[D:\a\xeve\xeve\app\xeve_app.c:1035] vui parameters is not prop #104

Closed Selur closed 5 months ago

Selur commented 5 months ago

both:

xeve-base --verbose 2 --input stdin --input-depth 10 --input-csp 1 --fps 25/1 --codec-bit-depth 10  --rc-type 0 --qp 32 --profile "baseline" --level-idc 0 --range "limited" --colorprim "2-unspecified" --transfer "2-unspecified" --matrix-coefficients "5-bt470bg" --sar 1:1 --output "J:\tmp\2024-04-27@21_32_15_5510\test_1_2024-04-27@21_32_15_5510_01.evc"

and

xeve-base --verbose 2 --input stdin --input-depth 10 --input-csp 1 --fps 25/1 --codec-bit-depth 10  --rc-type 0 --qp 32 --profile "baseline" --level-idc 0 --range "limited" --colorprim "unspecified" --transfer "unspecified" --matrix-coefficients "bt470bg" --sar 1:1 --output "J:\tmp\2024-04-27@21_32_15_5510\test_1_2024-04-27@21_32_15_5510_01.evc"

give me: [D:\a\xeve\xeve\app\xeve_app.c:1035] vui parameters is not proper

looking at the help:

--colorprim [STRING] (optional) [None]
    : 1- bt709, 2-unspecified, 3- reserved, 4- bt470m, 5- bt470bg, 6- smpte170m,         7- smpte240m, 8- Generic film, 9- bt2020, 10-smpte428, 11-smpte431, 12-smpte432,          22-EBU Tech. 3213 Default 2-unspecified
  --transfer [STRING] (optional) [None]
    : 1- transfer characteristics from bt709, 2-unspecified, 3-reserved, 4-bt470m, 5-bt470bg, 6-smpte170m,         7-smpte240m, 8-linear, 9-log100, 10-log316, 11-iec61966-2-4, 12-bt1361e, 13-iec61966-2-1,         14-bt2020-10, 15-bt2020-12, 16-smpte2084, 17-smpte428, 198-arib-std-b67. Default 2-unspecified
  --matrix-coefficients [STRING] (optional) [None]
    : 0-gbr, 1-bt709, 2-unspecified, 3-reserved, 4-fcc, 5-bt470bg, 6-smpte170m, 7-smpte240m,           8-ycgco, 9-bt2020nc, 10-bt2020c, 11-smpte2085, 12-chroma-derived-nc, 13-chroma-derived-c, 14-ictcp, 15-255 reserved};

I have no clue how to set the vui parameters properly, when neither '2-unspecified' nor 'unspecified' work. Would be nice if this could be explained.

Selur commented 5 months ago

okay, instead of 'unspecified' 'unknown' needs to be used. => please rework the help