Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with AV1 encoder #177

Open
paulrouget opened this issue Oct 17, 2023 · 3 comments
Open

Issue with AV1 encoder #177

paulrouget opened this issue Oct 17, 2023 · 3 comments

Comments

@paulrouget
Copy link
Member

AV1 is important as it is poised to become the next VP9.

We use this version libaom 3.7.0 (https://aomedia.googlesource.com/aom/+/refs/tags/v3.7.0) which seems to freeze ffmpeg during encoding. We should either figure out with the Google team what's going on, or switch to SVT-AV1 (libsvtav1) or rav1e (librav1e).

@paulrouget paulrouget changed the title Issue with AV1 encore Issue with AV1 encoder Oct 17, 2023
@mi-g
Copy link
Collaborator

mi-g commented Oct 17, 2023

with the current vdhcoapp/ffmpeg, the command line below does the job inside one thread, at very low speed (0.0663x)

~/git/vdhcoapp/dist/linux/x86_64/ffmpeg "-y" "-i" "/tmp/vdh--3163143-h28yZKXDuJeV-.tmp" "-i" "/tmp/vdh--3163143-l9Qz7TItvz8o-.tmp" "-c:v" "av1" "-strict" "experimental" "/home/mig/dwhelper/Weekly.mp4"

where /tmp/vdh--3163143-h28yZKXDuJeV-.tmp is a audio aac file and /tmp/vdh--3163143-l9Qz7TItvz8o-.tmp is an av1 video file (using another vp9 video file does not seem to change the low performance).

@paulrouget
Copy link
Member Author

Normally the strict experimental option should not be necessary. If it is necessary, that means there's something funky going on (the experimental flag was removed after aom v2, we use v3).

@mi-g
Copy link
Collaborator

mi-g commented Oct 17, 2023

The same command without the `-strict experimental" produces an ffmpeg error:

[libaom-av1 @ 0x5597c5ef9700] The encoder 'libaom-av1' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
Conversion failed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants