Best Practice to access a FREE stream? #5364
-
DescriptionWhat is the best way to access a normal stream that is freely available and not "protected" in any way (tokens etc.)? Option Nr. 1: Direct call using ffmpeg:
Option Nr. 2: Access via streamlink
Option Nr. 3: Combination of Streamlink and ffmpeg
To top it all off, I have the impression that the optimal method depends on the particular stream. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
HLS stream discontunities are unsupported. |
Beta Was this translation helpful? Give feedback.
-
Mmmh, none of the two example streams contains a discontinuity tag, see below. ==> Which of the proposed three options is considered the best to open a stream? Playlist.m3u of Kronehit:
Content of their chunklist.....m3u8:
Playlist.m3u of MusicTop:
Their chunklist:
|
Beta Was this translation helpful? Give feedback.
-
When using what I called "option 2 - streamlink" the log of tvheadend shows the following:
That's what you and I call a "continuity error", right? When using "option 3 - streamlink piping into ffmpeg" no error is shown. Why? Does ffmpeg (unintentionally) make a correction? At the moment I'm on the verge of checking for each stream individually which method I use to call it. With ~20 streams a bunch of work that I would like to avoid. |
Beta Was this translation helpful? Give feedback.
-
I get it, thanks anyway for the detailed explanations! In the meantime I've tried out a number of streams and the good old KISS principle ('Keepi it simple, stupid!') for the interaction of TVHeadend and Streamlink has also proven its worth here: |
Beta Was this translation helpful? Give feedback.
-
To warm up the topic again: |
Beta Was this translation helpful? Give feedback.
Out of scope.
Streamlink simply writes the concatenated segment data to its output, without any remuxing of the content streams. If there is further processing required by whatever application you're using when consuming the stream data, then you'll have to ask there.
tvheadend implements its own MPEG-TS demuxer and the warnings are coming from here:
Because you're re…