How to auto-reconnect to an (ASF) MMS stream?

About encoding, codec settings, muxers and filter usage
lunixc128
New Cone
New Cone
Posts: 1
Joined: 15 Aug 2016 14:04

How to auto-reconnect to an (ASF) MMS stream?

Postby lunixc128 » 15 Aug 2016 14:40

Hello,

I'm looking for the best way to save the MMS stream of a TV program (using Linux as my the OS for my computer), which 1) often has general connection problems (when watching it using the VLC frontend its playback sometimes gets interrupted or the vision gets blurry for a few seconds) - It seems that this problem got solved by the "--network-caching=1500" parameter I specified.
However, 2) sometimes the connection gets reset completely. So I need a solution, which provides a caching option and which automatically reconnects in order to write to the same output file when the connection drops.

This is the command which I use so far:

Code: Select all

clvc mms://xxx.xxx --no-repeat --network-caching=1500 --sout=file/avi:"tvstream$(date +%F).avi"
Actually it works very well regarding the first issue, but I need to find a solution for making clvc automatically reconnect if the connection fails, as I wrote above. Could someone help me with that?


Kinds regards and thanks in advance

lunixc128

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to auto-reconnect to an (ASF) MMS stream?

Postby Jean-Baptiste Kempf » 23 Sep 2016 14:16

--http-reconnect
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 4 guests