• TVheadend on Raspios HD issues

    From The Natural Philosopher@3:770/3 to All on Wednesday, October 25, 2023 18:50:22
    XPost: comp.os.linux.misc

    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?





    --
    For in reason, all government without the consent of the governed is the
    very definition of slavery.

    Jonathan Swift

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to The Natural Philosopher on Wednesday, October 25, 2023 19:00:00
    XPost: comp.os.linux.misc

    The Natural Philosopher wrote:

    when streaming, there is no sound.

    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?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Andy Burns on Wednesday, October 25, 2023 20:14:53
    XPost: comp.os.linux.misc

    On 25/10/2023 19:00, Andy Burns wrote:
    The Natural Philosopher wrote:

    when streaming, there is no sound.

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

    Neither. Over lan to browser via custom server

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

    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


    --
    “I know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most
    obvious truth if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which
    they have proudly taught to others, and which they have woven, thread by thread, into the fabric of their lives.”

    ― Leo Tolstoy

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to The Natural Philosopher on Wednesday, October 25, 2023 20:28:51
    XPost: comp.os.linux.misc

    On 25/10/2023 20:14, The Natural Philosopher wrote:

    On 25/10/2023 19:00, Andy Burns wrote:
    The Natural Philosopher wrote:

    when streaming, there is no sound.

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

    Neither. Over lan to browser via custom server

    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.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Andy Burns on Wednesday, October 25, 2023 21:18:41
    XPost: comp.os.linux.misc

    On 25/10/2023 20:28, Andy Burns wrote:
    On 25/10/2023 20:14, The Natural Philosopher wrote:

    On 25/10/2023 19:00, Andy Burns wrote:
    The Natural Philosopher wrote:

    when streaming, there is no sound.

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

    Neither. Over lan to browser via custom server

    What about the "Live TV Player" in a browser from the TVH GUI?

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

    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.


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


    --
    “I know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most
    obvious truth if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which
    they have proudly taught to others, and which they have woven, thread by thread, into the fabric of their lives.”

    ― Leo Tolstoy

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to The Natural Philosopher on Wednesday, October 25, 2023 21:17:04
    XPost: comp.os.linux.misc

    On 25/10/2023 20:14, The Natural Philosopher wrote:
    On 25/10/2023 19:00, Andy Burns wrote:
    The Natural Philosopher wrote:

    when streaming, there is no sound.

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

    Neither. Over lan to browser via custom server

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

    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


    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.


    --
    “The ultimate result of shielding men from the effects of folly is to
    fill the world with fools.”

    Herbert Spencer

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Andy Burns on Thursday, October 26, 2023 09:19:49
    XPost: comp.os.linux.misc

    On 26/10/2023 09:04, Andy Burns wrote:
    The Natural Philosopher wrote:([[br) />

    Oct 25 20:28:40 Coriolanus tvheadend[5840]: transcode: 0001:
    03:AAC-LATM: ==> Filtered out

    Oct 25 20:30:23 Coriolanus tvheadend[5840]: transcode: 0002:
    02:MPEG2AUDIO: ==> Using profile webtv-vorbis

    Oct 25 20:30:23 Coriolanus tvheadend[5840]: transcode: 0002:
    03:MPEG2AUDIO: ==> Filtered out
    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...



    --
    "If you don’t read the news paper, you are un-informed. If you read the
    news paper, you are mis-informed."

    Mark Twain

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to The Natural Philosopher on Thursday, October 26, 2023 09:04:22
    XPost: comp.os.linux.misc

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

    Oct 25 20:28:40 Coriolanus tvheadend[5840]: transcode: 0001:
    03:AAC-LATM: ==> Filtered out

    Oct 25 20:30:23 Coriolanus tvheadend[5840]: transcode: 0002:
    02:MPEG2AUDIO: ==> Using profile webtv-vorbis

    Oct 25 20:30:23 Coriolanus tvheadend[5840]: transcode: 0002:
    03:MPEG2AUDIO: ==> Filtered out
    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?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)