[mythtv-users] HLS Streaming Problem

Jean-Yves Avenard jean-yves at avenard.org
Tue Oct 23 00:26:27 UTC 2012


Hi

On 23 October 2012 07:49, Chris Notley <mythtv at notleyc.fastmail.fm> wrote:
> 2012-10-22 21:08:47.493707 I  HLSBuffer: updated hls stream
> (program-id=0, bitrate=0) has 1 segments
> 2012-10-22 21:08:50.960231 I  sleeping for 60000 ms (interuptable)
> 2012-10-22 21:08:52.494786 I  HLSBuffer: reloading HLS live meta
> playlist
> 2012-10-22 21:08:53.096349 I  HLSBuffer: Live Playlist HLS protocol
> version: 1
> 2012-10-22 21:08:53.096397 I  HLSBuffer: updated hls stream
> (program-id=0, bitrate=0) has 1 segments
> 2012-10-22 21:08:54.975745 I  Cardid 1: max bitrate 162597 KB/min
> 2012-10-22 21:08:54.975756 I  Maximal bitrate of busy encoders is 162597
> KB/min
> 2012-10-22 21:08:58.096612 I  HLSBuffer: reloading HLS live meta
> playlist
> 2012-10-22 21:08:58.698109 I  HLSBuffer: Live Playlist HLS protocol
> version: 1
> 2012-10-22 21:08:58.698157 I  HLSBuffer: updated hls stream
> (program-id=0, bitrate=0) has 1 segments
>
> Running wireshark during the attempted recording shows an HTTP get
> request being sent to the Enigma2 box from the mythtv box, so it appears
> the structure of the playlist is sound, but the recording never seems to
> happen.

Hum.. I wonder if the issue is related to do with the fact that your
HLS stream only contains one segment at a time... I've just realised
that this is something I've never tried as you usually have at least 3
segments available at a time.

The HLS streamer tries to buffer data in advance, it tries to buffer
three segments if available. It should use less when there is less.
But with only one segment there could be a situation not handled by
the recorder.

Those logs show no obvious problem however, you would need to make the
log a bit more verbose.

something like --loglevel debug -v audio,playback

And post the output....

JY


More information about the mythtv-users mailing list