[mythtv-users] next step the player, any suggestions?

Hika van den Hoven hikavdh at gmail.com
Tue Oct 25 11:58:39 UTC 2022


Hoi Stephen,

Tuesday, October 25, 2022, 1:29:59 PM, you wrote:

> On Tue, 25 Oct 2022 12:58:39 +0200, you wrote:

>>Hoi Mike,
>>
>>Tuesday, October 25, 2022, 11:21:09 AM, you wrote:
>>
>>> On 25/10/2022 09:55, Stephen Worthington wrote:
>>>> On Tue, 25 Oct 2022 03:15:42 +0200, you wrote:
>>>> 
>>>>> Hoi All,
>>>>>
>>>>> I now have hdhomerun_config working which outputs a ts stream with
>>>>> only audio. But I can not use mplayer as that again won't install
>>>>> without the graphical toolchain.
>>>>> As far as I have found the alsa tools won't work either, I have tried
>>>>> mpg321 and madplay, but either I haven't jet found the right options
>>>>> or they cannot handle ts. Any suggestions?
>>>> 
>>>> Last time I tried VLC with our NZ DVB-T radio stations it worked. They
>>>> are .ts files with AAC audio in an MPEG2 transport stream container.
>>>> I have not tried the RPi version of VLC though.  But VLC will likely
>>>> need a lot of graphics stuff to install it.  Once installed, this
>>>> might do what you want:
>>>> 
>>>> cvlc --no-video /path/to/.ts
>>>> 
>>> I would add that a .ts stream is not an audio stream and therefore has to be decoded first.
>>
>>> Perhaps a simpler option would be to use ffmppeg to select out the audio which, by rights, should
>>> then be readable by the ALSA tools?
>>
>>Nice thought Mike! Do you perchance know the commands to use ffmpeg
>>like that? I will find them but it will save some time.
>>
>>I even came onto the mentioning of a ffmgeg-python module and
>>audio streams I have handled in python before in the analog radio
>>times. I already have build a python shell around  hdhomerun_config
>>for scanning and tuning. I'll share it when it is working.

> FFmpeg can be a pain if you want it to select out a stream for you.
> There are various things that you would think would work, but actually
> do not.  I tried using it to extract the MHEG5 EPG stream from our
> local DVB-T service, and it just could not do it.  It could create a
> transport stream with just that stream in it, but it could not provide
> just a copy of that single stream without the transport stream
> container.  A tool that will work for extracting a stream from a .ts
> file is TSDuck:

> https://tsduck.io

> Unfortunately, TSDuck is not normally available as packages and you
> have to build it from source.
> _______________________________________________


How about libav? On Gentoo it's the alternative to ffmpeg.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list