[mythtv-users] Debugging problem with ExternalRecorder and streamlink

Peter Bennett pb.mythtv at gmail.com
Fri Jun 25 15:33:46 UTC 2021


On 6/24/21 5:32 PM, Peter Carlsson wrote:
> According to the log above it receive data from streamlink but fails to
> find the start of the stream to sync/lock on.
>
> I have no knowledge about how this is working but it feels that MythTV
> and VLC have different ways of finding the start of a stream.
>
> Could someone explain how this works in MythTV?
>
> I can build MythTV and add more logging but am not sure where to put it
> and what I should log to best find out what is failing.
>
> Best regards,
> Peter Carlsson

I don't know what streamlink is. I am working on a system using the 
external recorder to record from Xfinity stream, and it is working 
reasonably well.

Can you explain your setup.

I am using capturecard External Black Box. In mythtv-setup I give it the 
name and location of a bash script. That script does a few things and 
then calls mythexternrecorder passing the name of a configuration file. 
The configuration file contains the names of scripts that are executed 
to tune, to record, to end recordings and to signal a new episode.

Is this similar to your setup?

The script that is executed to record must output a transport stream to 
stdout and not output anything else (no messages, etc.). Since the 
capture device I have does not output a transport stream I execute 
ffmpeg to convert to a transport stream. I can share the details.

Peter




More information about the mythtv-users mailing list