250516 nightly Intel av1 encoding fails

Started by upwithav1, May 18, 2025, 09:53:12 AM

Previous topic - Next topic

upwithav1

Hi,
avidemuxLinux_GLIBC_2.36_amd64_250516_1308.app

Encoding to Intel av1 throws no error
or sometimes error
"Too short - The saved video is incomplete. The error occurred at 00:00:00,120 (0%). This may happen as result of invalid time stamps in the video"

which could be for tv recordings but it didn't do that before for the same files.

and resulting file contains just the first frame and complete audio.
Using Intel Core Ultra 7 which is capable of av1 hardware encoding (I tried gpu screen recorder and it works ok)

$./avidemuxLinux_GLIBC_2.36_amd64_250516_1308.app 2>&1 | tee avidemux.log

https://paste.debian.net/hidden/693118cd/

Resulting file
https://k00.fr/v94iljz3

Idx file
https://k00.fr/eke261ex

I did this with a Linux Mint live iso because this laptop is brand new and not mine..Windows on it.. Intel h264 and hevc, av1 libaom (slooow) work btw

$cat /proc/cpuinfo
https://paste.debian.net/hidden/245ae258/

P.S. btw thanks @eumagga0x2a for your work, just trying to help debugging, interested in intel av1..

eumagga0x2a

I was able to try the nightly briefly on an AMD (not Intel) PC with an AV1-capable hw encoder accessible via VA-API and didn't succeed in triggering "resource temporarily unavailable" error. Maybe I didn't try hard enough, maybe one needs Intel graphics for that. Will keep an eye on it.

Instead, I witnessed that OpenGL in the official nightly didn't work on Fedora 42 (it worked fine in a local build).

Thank you for your report.

upwithav1

I also realized it's impossible to do lossless av1 cut, it core dumps at loading file or it just shows a black window. I'm sure I successfully did that before but I can't remember which version I was using, probably not a nightly.

eumagga0x2a

Loading files (Matroska) with AV1 video track definitely worked for me with the latest official nightly, so should cutting in copy mode (will recheck to be sure). Please provide nore detail (Avidemux console output, mediainfo output).

upwithav1

Attaching log here because paste.debian does not allow files greater than 150KB

Edit file
https://k00.fr/2ufii6gr

upwithav1

Sorry, I forgot to mention I did this on a 11th Gen Intel(R) Core(TM) i7-1165G7 which is capable of hardware av1 decoding (not encoding) but also tried on the brand new laptop (Core Ultra 7) and result is the same.

eumagga0x2a

Thank you, I completely missed that in course of struggle for fixing build with Microsoft Visual Studio the compilation of libaom AV1 decoder plugin was disabled, my apologies. The black screen is a result of the aforementioned plugin missing.

Will be fixed ASAP, alongside with an assert failure / a crash opening the plugins dialog in the "Help" menu (we have video encoders one too many than the dialog can handle).

upwithav1

Thank you. Maybe you could use libaom version which was included in 241212 nigthly so that it won't crash when using resize filter? Just an idea..

eumagga0x2a

The reason for updating libaom were AV1 streams generated by desktop recording tools using NVIDIA hw encoder not supported by older versions (for decoding). Need to contemplate our options.