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