Problem converting - Undefined constant or missing '(' in 'reserved'
vanastasis opened this issue · 0 comments
Hi,
Came across this a few times with certain videos;
ffmpeg started on 2023-09-21 at 21:30:37
Report written to "_ffmpeg_57087_2190836.mkv.log"
Log level: 40
Command line:
ffmpeg -loglevel error -stats -i "Island Escape - 2023.mk" -map 0:0 -c:v hevc_nvenc -pix_fmt:v p010le -b:v 4000k -maxrate:v 12000k -bufsize:v 12000k -color_primaries:v reserved -color_trc:v reserved -colorspace:v bt709 -metadata:s:v "title=" -disposition:v default -map 0:1 -c:a:0 copy -metadata:s:a:0 "title=" -disposition:a:0 default -map 0:2 -c:s:0 copy -disposition:s:0 0 -metadata:g "title=" -default_mode passthrough "Island Escape - 2023.mkv"
ffmpeg version 6.0-6 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13 (Debian 13.2.0-2)
configuration: --prefix=/usr --extra-version=6 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
[h264 @ 0x55be87cb6b40] Reinit context to 1920x1088, pix_fmt: yuv420p
Input #0, matroska,webm, from 'Island Escape - 2023.mk':
Metadata:
ENCODER : Lavf60.3.100
Duration: 01:26:05.45, start: 0.000000, bitrate: 13851 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709/reserved/reserved, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
BPS : 13207607
NUMBER_OF_FRAMES: 123846
NUMBER_OF_BYTES : 8527908016
_STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-09-17 00:17:35
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 01:26:05.451000000
Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
Metadata:
BPS : 640000
NUMBER_OF_FRAMES: 161420
NUMBER_OF_BYTES : 413235200
_STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-09-17 00:17:35
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 01:26:05.440000000
Stream #0:2(eng): Subtitle: subrip (default) (hearing impaired)
Metadata:
BPS : 50
NUMBER_OF_FRAMES: 1191
NUMBER_OF_BYTES : 31703
_STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-09-17 00:17:35
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 01:24:57.540000000
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
[h264 @ 0x55be87cd7000] Reinit context to 1920x1088, pix_fmt: yuv420p
[graph 0 input from stream 0:0 @ 0x55be897bb440] w:1920 h:1080 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:1/1
[auto_scale_0 @ 0x55be897bdb80] w:iw h:ih flags:'' interl:0
[format @ 0x55be897bbdc0] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scale_0 @ 0x55be897bdb80] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1920 h:1080 fmt:p010le sar:1/1 flags:0x00000004
[auto_scale_0 @ 0x55be897bdb80] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1920 h:1080 fmt:p010le sar:1/1 flags:0x00000004
[auto_scale_0 @ 0x55be897bdb80] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1920 h:1080 fmt:p010le sar:1/1 flags:0x00000004
[auto_scale_0 @ 0x55be897bdb80] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1920 h:1080 fmt:p010le sar:1/1 flags:0x00000004
[hevc_nvenc @ 0x55be87cd3b80] [Eval @ 0x7ffdba2183c0] Undefined constant or missing '(' in 'reserved'
[hevc_nvenc @ 0x55be87cd3b80] Unable to parse option value "reserved"
[hevc_nvenc @ 0x55be87cd3b80] Error setting option color_primaries to value reserved.
[vost#0:0/hevc_nvenc @ 0x55be87cb8b80] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[AVIOContext @ 0x55be87e31a80] Statistics: 0 bytes written, 0 seeks, 0 writeouts
Terminating demuxer thread 0
[AVIOContext @ 0x55be87cb9b00] Statistics: 1734135 bytes read, 0 seeks
Conversion failed!