TVheadend on Raspios HD issues

Oct 25, 2023 Last reply: 2 years ago 7 Replies

Further joys of exploring a Pi 4B with a TV hat on have proved frustrating



I ported my TVheadend server configuration to it and that worked fairly OK except when I popped a TV Hat on it that was allegedly capable of doing HD TV.



Well out of the box it didn't, but web searches eventually got me to the stage where the HD channels were recognised, but they show no EPG data, and when streaming, there is no sound.



It does show 139% CPU usage too, in 'top' but seems to play ok



The suggestion is that the transcoding from HD LATM to web-vorbis-vp8 protocol (the only one that has ever worked on the software: the others either don't work or crash the server with what look like out of bound memory accesses) needs something more than the current issue.



Anyone have any klews on this?


streaming to local HDMI display, or over LAN to VLC?

if the latter, it's not unknown for it to pick the wrong audio track, how many different ones do you see?

Neither. Over lan to browser via custom server

I'll try and see. VLC is happy to play a *recorded* HD though.

Hmm. celluloid is happy to play it but the profile is 'pass' which does no transcoding. I'm trying to get it to play in a browser...browsers don't understand raw TV streams

So it needs transcoding

What about the "Live TV Player" in a browser from the TVH GUI? I think mine does live transcoding (certainly more buffering that using VLC) it can still get the audio track wrong ... just tried and I was getting the audio description channel instead of "normal" channel.

Here are the logs

Oct 25 20:28:38 Coriolanus tvheadend[5840]: subscription: 0003: "HTTP" subscribing on channel "5SELECT", weight: 100, adapter: "Sony CXD2880 #0 : DVB-T #0", network: "DVB-T Network", mux: "682MHz", service: "5SELECT", profile="webtv-vp8-vorbis-webm", hostname="192.168.0.100", username="media" Oct 25 20:28:40 Coriolanus tvheadend[5840]: transcode: 0001: 01:H264: ==> Using profile webtv-vp8 Oct 25 20:28:40 Coriolanus tvheadend[5840]: transcode: 0001:

02:AAC-LATM: ==> Using profile webtv-vorbis

^^^ that doesn't seem to work

Oct 25 20:28:40 Coriolanus tvheadend[5840]: transcode: 0001:

03:AAC-LATM: ==> Filtered out Oct 25 20:28:40 Coriolanus tvheadend[5840]: transcode: 0001: 04:DVBSUB: ==> Filtered out Oct 25 20:28:41 Coriolanus tvheadend[5840]: libav: AVCodecContext: v1.12.0 Oct 25 20:28:54 Coriolanus tvheadend[5840]: subscription: 0003: "HTTP" unsubscribing from "5SELECT", hostname="192.168.0.100", username="media"

Oct 25 20:28:55 Coriolanus tvheadend[5840]: mpegts: 682MHz in DVB-T Network - tuning on Sony CXD2880 #0 : DVB-T #0 Oct 25 20:28:55 Coriolanus tvheadend[5840]: subscription: 0005: "epggrab" subscribing to mux "682MHz", weight: 4, adapter: "Sony CXD2880 #0 : DVB-T #0", network: "DVB-T Network", service: "Raw PID Subscription"

Oct 25 20:30:22 Coriolanus tvheadend[5840]: mpegts: 538MHz in DVB-T Network - tuning on Sony CXD2880 #0 : DVB-T #0 Oct 25 20:30:22 Coriolanus tvheadend[5840]: subscription: 0005: "epggrab" unsubscribing ...

Oct 25 20:30:22 Coriolanus tvheadend[5840]: subscription: 0006: "HTTP" subscribing on channel "5USA", weight: 100, adapter: "Sony CXD2880 #0 : DVB-T #0", network: "DVB-T Network", mux: "538MHz", service: "5USA", profile="webtv-vp8-vorbis-webm", hostname="192.168.0.100", username="media" Oct 25 20:30:23 Coriolanus tvheadend[5840]: transcode: 0002:

01:MPEG2VIDEO: ==> Using profile webtv-vp8 Oct 25 20:30:23 Coriolanus tvheadend[5840]: transcode: 0002: 02:MPEG2AUDIO: ==> Using profile webtv-vorbis ^^^^^^^^^ That DOES work

Oct 25 20:30:23 Coriolanus tvheadend[5840]: transcode: 0002:

03:MPEG2AUDIO: ==> Filtered out Oct 25 20:30:23 Coriolanus tvheadend[5840]: transcode: 0002: 04:DVBSUB: ==> Filtered out Oct 25 20:30:26 Coriolanus tvheadend[5840]: libav: AVCodecContext: v1.12.0

I can get neither sound NOR EPG out of the 682MHZ Mux.

TVheadend can play channels in the MUX in passthru mode, but not when transcoding TVheadend has never managed to get EPG data from that MUX, ever.

Works, but that is passthru and it invokes 'celluloid'

I've not had that at all. The logs show the correct audio channel is being transcoded, but no sound emerges :-(

The Natural Philosopher wrote:([[br) />

I have a combined DVB-T2/S2 tuner, but terrestrial is disabled due to aerial issues

2023-10-26 08:52:41.900 mpegts: 11024H in Astra28E2 - tuning on DVB-S #0 2023-10-26 08:52:42.235 subscription: 7F74: "HTTP" subscribing on channel "BBC NEWS HD", weight: 100, adapter: "DVB-S #0", network: "Astra28E2", mux: "11024H", provider: "BSkyB", service: "BBC NEWS HD", profile="webtv-vp8-vorbis-webm", hostname="fe80::908c:6162:b5f8:828a", client="Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/119.0" 2023-10-26 08:52:44.102 transcode: 0003: 01:H264: ==> Using profile webtv-vp8 2023-10-26 08:52:44.102 transcode: 0003: 04:AC3: ==> Using profile webtv-vorbis 2023-10-26 08:52:44.102 transcode: 0003: 02:DVBSUB: ==> Filtered out 2023-10-26 08:52:44.103 transcode: 0003: 05:TEXTSUB: ==> Filtered out

Seems your TVH is unsure about AAC-LATM and MPEG2AUDIO audio, mine gets AC3 and is happy with it?

Its AAC-LATM that seems to be the issue. And the lack of EPG for the channels.

Well I can do HD TV in other ways if I really need it by using (one of the) the TV headend native interfaces.

One works, the other has no sound...

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required