HTTP Live Stream via CLI does not obey EXTINF?
Posted: 09 Apr 2012 20:28
I have been trying to save an HTTP Live Stream with VLC by launching it from the command line, unfortunately while this does begin to save the file it soon exhausts the playlist and then quits.
When playing the stream via the GUI everything is fine and plays+saves as expected. I suspect that this is because VLC is playing the stream in real time and is updating the playlist after every segment. If I launch VLC through the command line with the dummy switch there is no video to play and VLC just steams ahead and downloads everything in the playlist as fast as it can. This is causing me issues because the playlist I am trying to save is being updated constantly with new entries.
Here is the command I am trying:
Without the dummy switch VLC loads the full interface but no video is played (although it is saved) and the problem occurs in the same way. It seems that the video has to be playing in order for this to work correctly.
According to this draft (http://tools.ietf.org/html/draft-pantos ... tion-6.3.4), the player should read the EXINF attribute in the playlist and use that to workout when to next reload the playlist.
Can anyone advise if this is a bug or if I doing this incorrectly? I have tested with VLC 2.0.1 and the nightly builds on Windows and Linux - both act the same way.
When playing the stream via the GUI everything is fine and plays+saves as expected. I suspect that this is because VLC is playing the stream in real time and is updating the playlist after every segment. If I launch VLC through the command line with the dummy switch there is no video to play and VLC just steams ahead and downloads everything in the playlist as fast as it can. This is causing me issues because the playlist I am trying to save is being updated constantly with new entries.
Here is the command I am trying:
This successfully launches VLC and downloads the entries in the playlist. The problem is that the playlist is running out of new content as VLC does not appear to be obeying the EXTINF attribute of the playlist.vlc -vvv "input_stream" --sout "#file{dst=output.ts}" -I dummy
Without the dummy switch VLC loads the full interface but no video is played (although it is saved) and the problem occurs in the same way. It seems that the video has to be playing in order for this to work correctly.
According to this draft (http://tools.ietf.org/html/draft-pantos ... tion-6.3.4), the player should read the EXINF attribute in the playlist and use that to workout when to next reload the playlist.
Can anyone advise if this is a bug or if I doing this incorrectly? I have tested with VLC 2.0.1 and the nightly builds on Windows and Linux - both act the same way.