Linux No video TVHeadend stream with VAAPI enabled
#1
I have had this issue for a few months now.
When VAAPI is enabled, Live TV stops working. The audio starts playing but the video doesn't show.
The debug log shows the following:
Code:
13:04:39 T:140573117769472 WARNING: VAAPI::FFGetBuffer - no surface available - dec: 0, render: 0
13:04:39 T:140573117769472   ERROR: ffmpeg[7FD9BABFE700]: [mpeg2video] get_buffer() failed
13:04:39 T:140573117769472   ERROR: ffmpeg[7FD9BABFE700]: [mpeg2video] thread_get_buffer() failed
13:04:39 T:140573117769472   ERROR: ffmpeg[7FD9BABFE700]: [mpeg2video] get_buffer() failed (-1 (nil))
13:04:39 T:140573117769472   DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0

Or for a h264 stream:
Code:
13:25:23 T:140573675616000   DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 1
13:25:23 T:140573675616000   DEBUG: Previous line repeats 1 times.
13:25:23 T:140573675616000   DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 3
13:25:23 T:140574078265088   DEBUG: Previous line repeats 1 times.
13:25:23 T:140574078265088   DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
13:25:23 T:140574078265088 WARNING: VAAPI::FFGetBuffer - no surface available - dec: 0, render: 0
13:25:23 T:140574078265088   ERROR: ffmpeg[7FD9F3FFE700]: [h264] get_buffer() failed
13:25:23 T:140574078265088   ERROR: ffmpeg[7FD9F3FFE700]: [h264] thread_get_buffer() failed
13:25:23 T:140574078265088   ERROR: ffmpeg[7FD9F3FFE700]: [h264] decode_slice_header error
13:25:23 T:140574078265088   ERROR: ffmpeg[7FD9F3FFE700]: [h264] no frame!


I tried updating TVHeadend to the latest version but that didn't help. Also, timeshift is disabled. I also disabled "Prefer VAAPI render method" but that didn't work either. Video files play fine.
The obvious workaround is just using software decoding, but I'd like to get hardware acceleration again.

I'm using Arch Linux with Kodi 15.2. Anyone got a clue on what the problem is?
Reply
#2
Don't cut logfiles. When shit is sent in, shit comes out.

Most likely we receive garbage or a frame with height 0 and width 0 but nobody can tell you, as you cut away all the relevant log.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Alright, I apologize.
I did a reboot, then started a h264 stream and after that a mpeg2 stream (both only gave audio, no video)

The log was too big for pastebin.com so here it is on a different site:
http://pasted.co/726701a4
Reply
#4
I think this is already fixed in v16 or v17
Reply
#5
Pff, I can't seem to get the development of Kodi + hts addon installed on Arch Linux so I'll wait until v16 is stable.
I'll let you know once I've tested it.
Reply
#6
Just updated to Kodi 16 and the problem is fixed. Thanks.
Reply
#7
Problem surfaced in 18.5 once again. Logs are inconclusive apart from the the usual "Unsupported stream ... Stream disabled".
Reply
#8
Kodi has not changed at all - please fix the rootcase and now for real.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
No video TVHeadend stream with VAAPI enabled0