#11117: libsvtav1 encoding preset incorrect parsing
---------------------------------+----------------------------------------
             Reporter:  Matthew  |                    Owner:  (none)
                 Type:  defect   |                   Status:  new
             Priority:  normal   |                Component:  undetermined
              Version:  6.1.1    |               Resolution:
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+----------------------------------------
Description changed by Matthew:

Old description:

> Summary of the bug:
> How to reproduce:
> {{{
> ffmpeg -v 9 -loglevel 99 -report -i ./input.mp4 \
>     -map 0:v -s:v:0 1920x1080 -c:v:0 libsvtav1 -preset 6 -crf 30 -b:v:0
> 6M -maxrate:v:0 6M -bufsize:v:0 12M \
>     -map 0:v -s:v:1 1920x1080 -c:v:1 libx264 -preset slow -crf 23 -b:v:1
> 6M -maxrate:v:1 6M -bufsize:v:1 12M \
>     -map 0:a -c:a:0 libopus -b:a:0 320k \
>     -map 0:a -c:a:1 aac -b:a:1 320k \
>     -use_timeline 1 -use_template 1 \
>     -f dash chunks/output.mpd
> }}}
> The main issue is this error
> {{{
> [libsvtav1 @ 0x5643ecca2ec0] [Eval @ 0x7ffe41354010] Undefined constant
> or missing '(' in 'slow'
> [libsvtav1 @ 0x5643ecca2ec0] Unable to parse option value "slow"
> [libsvtav1 @ 0x5643ecca2ec0] Error setting option preset to value slow.
> }}}
> where the libsvtav1 encoder is trying to parse the preset set for
> libx264. I attached the full output log of the command.

New description:

 Summary of the bug:

 I am trying to produce a dash format video with two different video
 codecs; one being av1 and the other being h264. However, it seems as
 though libsvtav1 is attempting to parse the parameters for libx264 and
 preventing the command from running.

 How to reproduce:
 {{{
 ffmpeg -v 9 -loglevel 99 -report -i ./input.mp4 \
     -map 0:v -s:v:0 1920x1080 -c:v:0 libsvtav1 -preset 6 -crf 30 -b:v:0 6M
 -maxrate:v:0 6M -bufsize:v:0 12M \
     -map 0:v -s:v:1 1920x1080 -c:v:1 libx264 -preset slow -crf 23 -b:v:1
 6M -maxrate:v:1 6M -bufsize:v:1 12M \
     -map 0:a -c:a:0 libopus -b:a:0 320k \
     -map 0:a -c:a:1 aac -b:a:1 320k \
     -use_timeline 1 -use_template 1 \
     -f dash chunks/output.mpd
 }}}
 The main issue is this error
 {{{
 [libsvtav1 @ 0x5643ecca2ec0] [Eval @ 0x7ffe41354010] Undefined constant or
 missing '(' in 'slow'
 [libsvtav1 @ 0x5643ecca2ec0] Unable to parse option value "slow"
 [libsvtav1 @ 0x5643ecca2ec0] Error setting option preset to value slow.
 }}}
 where the libsvtav1 encoder is trying to parse the preset set for libx264.
 I attached the full output log of the command.

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11117#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to