How can I judge the video stream is not available

*nix specific usage questions
zhangtower
Blank Cone
Blank Cone
Posts: 34
Joined: 04 Feb 2008 04:28

How can I judge the video stream is not available

Postby zhangtower » 26 Oct 2010 04:51

Now i am using vlc play network video stream, then as the steam is not avaliable i want vlc play the media file stored on the local disk automatically.
and when the video stream is avaliable again, vlc will change to play video stream.
My question is how can i judge the video stream is not avaliable? Does it need a new plugin. How to achieve it?
Anyone who tell me the implement procedure? Thanks very very very much!!!

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How can I judge the video stream is not available

Postby Rémi Denis-Courmont » 26 Oct 2010 17:04

Depends on what not available practically means.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

zhangtower
Blank Cone
Blank Cone
Posts: 34
Joined: 04 Feb 2008 04:28

Re: How can I judge the video stream is not available

Postby zhangtower » 27 Oct 2010 03:02

Not available means the URL can't open or no video stream to dispaly.

zhangtower
Blank Cone
Blank Cone
Posts: 34
Joined: 04 Feb 2008 04:28

Re: How can I judge the video stream is not available

Postby zhangtower » 01 Nov 2010 01:44

Anyone who know the method?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: How can I judge the video stream is not available

Postby Sébastien Escudier » 01 Nov 2010 11:17

you could create a playlist, with your network stream in first posision, and then your local files. When the network stream dies, it will play your file.
But I don"t think vlc can check the stream to come back to it when it is available again.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 9 guests