Closed DatPat closed 1 month ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
No idea, but there are similar reports when running it on bare metal, which seems to be av1_qsv related: https://www.reddit.com/r/ffmpeg/comments/1blbi6i/cant_use_qsv_hardware_acceleration_decoding_with/
No idea, but there are similar reports when running it on bare metal, which seems to be av1_qsv related: https://www.reddit.com/r/ffmpeg/comments/1blbi6i/cant_use_qsv_hardware_acceleration_decoding_with/
you are right, this happens on bare-metal as well in the same way, so the issue does not pertain to this container and can be closed. I apologize for having not tested on baremetal before opening this issue.
Is there an existing issue for this?
Current Behavior
whenever I try to use QSV I get spammed with errors and the encode results in a corrupted output file.
"docker run --rm -it --device=/dev/dri:/dev/dri -v $(pwd):/config linuxserver/ffmpeg -hwaccel qsv -i /config/input.mkv -c:v av1_qsv -global_quality 25 /config/output.mkv
this the command I run. and here are the errors I get (they repeat extremely frequently) [hevc_qsv @ 0x5613531e5ac0] get_buffer() failed [vist#0:0/hevc @ 0x5613531e4c40] [dec:hevc_qsv @ 0x56135322b2c0] Error submitting packet to decoder: Cannot allocate memory [hevc_qsv @ 0x5613531e5ac0] get_buffer() failed [vist#0:0/hevc @ 0x5613531e4c40] [dec:hevc_qsv @ 0x56135322b2c0] Error submitting packet to decoder: Cannot allocate memory [hevc_qsv @ 0x5613531e5ac0] get_buffer() failed [vist#0:0/hevc @ 0x5613531e4c40] [dec:hevc_qsv @ 0x56135322b2c0] Error submitting packet to decoder: Cannot allocate memory [hevc_qsv @ 0x5613531e5ac0] get_buffer() failed [vist#0:0/hevc @ 0x5613531e4c40] [dec:hevc_qsv @ 0x56135322b2c0] Error submitting packet to decoder: Cannot allocate memory [hevc_qsv @ 0x5613531e5ac0] get_buffer() failed [vist#0:0/hevc @ 0x5613531e4c40] [dec:hevc_qsv @ 0x56135322b2c0] Error submitting packet to decoder: Cannot allocate memory [hevc_qsv @ 0x5613531e5ac0] Error during QSV decoding.: device failed (-17) [vist#0:0/hevc @ 0x5613531e4c40] [dec:hevc_qsv @ 0x56135322b2c0] Error submitting packet to decoder: Input/output error
Expected Behavior
I would like a working output file.
Steps To Reproduce
docker run --rm -it --device=/dev/dri:/dev/dri -v $(pwd):/config linuxserver/ffmpeg -hwaccel qsv -hwaccel_output_format qsv -i /config/input.mkv -c:v av1_qsv -global_quality 25 /config/output.mkv
Environment
Docker creation
Container logs