Opened 3 months ago

Last modified 3 months ago

#11117 new defect

libsvtav1 encoding preset incorrect parsing

Reported by: Matthew Owned by:
Priority: normal Component: undetermined
Version: 6.1.1 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Matthew)

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.

Attachments (1)

log.tar.gz (461.7 KB ) - added by Matthew 3 months ago.
output log (I had to compress for fir 2.5MB file limit)

Download all attachments as: .zip

Change History (2)

by Matthew, 3 months ago

Attachment: log.tar.gz added

output log (I had to compress for fir 2.5MB file limit)

comment:1 by Matthew, 3 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.