However, symbols containing hyphens cannot be used as named tuple names, which is used by encoder_options.
EDIT: Symbol("x265-params") isn't allowed, but var"x265-params" works. Not sure what to do about that here, but maybe the error message on the Julia side could be improved.
For at least the libx265 codec, it uses a hyphenated argument,
x265-params
; this is required to pass certain options, such aslossless=1
.https://trac.ffmpeg.org/wiki/Encode/H.265
However, symbols containing hyphens cannot be used as named tuple names, which is used by
encoder_options
.EDIT:
Symbol("x265-params")
isn't allowed, butvar"x265-params"
works. Not sure what to do about that here, but maybe the error message on the Julia side could be improved.