question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vaapi h264 filter issue

See original GitHub issue

Hi !

I’m using 0.7.0-d2040eaa-docker-vaapi (cpu : i5-9500T) and I’m having issue with qsv and vaapi and format h264. my settings

Some videos work, some won’t.

If i’m using VAAPI - IHD, I have :

HLS process for channel 6 has terminated unsuccessfully with exit code 1: Impossible to convert between the formats supported by the filter 'Parsed_colorspace_5' and the filter 'auto_scale_1' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented Error while processing the decoded data for stream #0:0

full log ihd.txt

If i’m using VAAPI - i965, I have :

HLS process for channel 6 has terminated unsuccessfully with exit code 1: [AVHWDeviceContext @ 0x55b77c3ad940] Failed to initialise VAAPI connection: -1 (unknown libva error). Device creation failed: -5. Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Input/output error Error parsing global options: Input/output error

full log i965.txt

Finally, if i’m using QSV :

HLS process for channel 6 has terminated unsuccessfully with exit code 1: [hwdownload @ 0x5590e78711c0] Invalid output format yuv420p for hwframe download. [Parsed_hwdownload_4 @ 0x5590e78715c0] Failed to configure output pad on Parsed_hwdownload_4 Error reinitializing filters! Failed to inject frame into filter network: Invalid argument Error while processing the decoded data for stream #0:0

full log qsv.txt

Thank you a lot ! Don’t know if I should submit a new issue for each case.

Issue Analytics

  • State:open
  • Created 9 months ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
jasongdovecommented, Dec 23, 2022

Will keeping looking at QSV.

I wouldn’t worry about i965 driver - it’s only included as an option because some old iGPUs are not supported by the new iHD driver.

0reactions
Nihimiacommented, Jan 4, 2023

Hello,

Thank you for your work !

I wasn’t able to start a stream with i965 :

[09:37:40 ERR] HLS process for channel 3 has terminated unsuccessfully with exit code 1: [Parsed_scale_vaapi_2 @ 0x55a16b996e80] Hardware does not support output format p010le.
[Parsed_scale_vaapi_2 @ 0x55a16b996e80] Failed to configure output pad on Parsed_scale_vaapi_2
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0

I don’t plan to use the i965 but maybe it will affect other peoples.

0.7.1-beta-docker-vaapi

Read more comments on GitHub >

github_iconTop Results From Across the Web

ffmpeg vaapi and (video filter) equalizer
I am keep getting the following error when I am trying to combine video filter equalizer and vaapi: Impossible to convert between the...
Read more >
[VAAPI] Creating filter 'vavpp' failed. · Issue #511
Creating filter 'vavpp' failed. Trying to use hardware decoding. Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc ......
Read more >
VAAPI can't decode anything except h264 : r/archlinux
Hi! I recently installed arch on my laptop and I noticed that any video streaming site except for youtube is choppy.
Read more >
ffmpeg not working using h264_vaapi
Installing the non-free drivers resolved the problem for me: apt install intel-media-va-driver-non-free i965-va-driver-shaders.
Read more >
[FFmpeg-user] H264 VAAPI Encoder
error: Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto-inserted scaler 0' The command I use is:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found