run vlc using libvlc as rtsp server

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
moti.lahiani
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Feb 2010 08:37

run vlc using libvlc as rtsp server

Postby moti.lahiani » 02 Jan 2011 07:59

Hello all

I'm new to vlc, rtsp and streaming
i have a project that i need to play a video file (avi container with codec h264/mpeg/mpeg4) or audio file (mp3,wav...) while the file is downloading.
the idea i have is:
when the file is downloading open vlc rtsp server and stream the file to 127.0.0.1: 8000 and open a vlc rtsp client and read the stream from 127.0.0.1:8000
my problems are:
1) i dont know from where the file is downloading so the server cannot read from that ip (to stream the file)
2) is this is the right way to do that? is there any/better options?
3) how can i or what i need to configure in the libvlc command line so the vlc will act as server? what will be the command line to send to server?

any help will be useful
Thanks

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: run vlc using libvlc as rtsp server

Postby Jean-Baptiste Kempf » 02 Jan 2011 14:28

How are you downloading?
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.

moti.lahiani
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Feb 2010 08:37

Re: run vlc using libvlc as rtsp server

Postby moti.lahiani » 04 Jan 2011 13:05

Thanks for your reply

An application is download the file from some where and i get the path (in the temp directory) where the file is download to.
and i want to show/play the file while its still downloading

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: run vlc using libvlc as rtsp server

Postby Jean-Baptiste Kempf » 05 Jan 2011 17:18

What protocol are you downloading it from?
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 “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 22 guests