rtsp viewing
Posted: 30 Jan 2006 18:54
I am using the current version of VLC/ActiveX. I use VB 6.0 as the development platform.
I create the ALC controls at runtime(eliminates studio issues). I am able to view multicast streams (udp://@224.1.1.1:8501 - where 8501 is the port) .
When I try to start a video using: rtsp://192.168.2.50:554/r1/movie(.mpg)
nothing happens and I just see the cone:
code:
VOptions() = Array(":no-audio")
PlayStr = "rtsp://192.168.2.50:554/r1/movie"
VirtualVcMain.addTarget PlayStr, VOptions, VLCPlayListReplace, -666
VirtualVcMain.play
OPERATIONAL NOTES:
I can use the same string into an Amino STB and it plays, so IP/port/filename is okay.
I tried both with and without file extension.
Using the VLC player: it also does not play
messages from VLC player:
main debug: adding playlist item `rtsp://192.168.2.50:554/r1/movie.mpg' ( rtsp://192.168.2.50:554/r1/movie.mpg )
main debug: creating new input thread
main debug: set input option: sout to #duplicate{dst=display}
main debug: waiting for thread completion
main debug: thread 6808 (input) created at priority 1 (src/input/input.c:230)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module: 1 candidate
main debug: using sout stream module "stream_out_display"
main debug: using sout stream module "stream_out_duplicate"
main debug: `rtsp://192.168.2.50:554/r1/movie.mpg' gives access `rtsp' demux `' path `192.168.2.50:554/r1/movie.mpg'
main debug: creating demux: access='rtsp' demux=''
path='192.168.2.50:554/r1/movie.mpg'
main debug: looking for access_demux module: 1 candidate
livedotcom error: describeURL failed (cannot handle DESCRIBE response: RTSP/1.0 501 Not Implemented)
main warning: no access_demux module matching "rtsp" could be loaded
main debug: creating access 'rtsp' path='192.168.2.50:554/r1/movie.mpg'
main debug: looking for access2 module: 5 candidates
main debug: net: connecting to 192.168.2.50 port 554
main debug: connection in progress
access_realrtsp debug: rtsp connected
access_realrtsp debug: only real/helix rtsp servers supported for now
vcd debug: trying .cue file: 192.168.2.50:554/r1/movie.cue
access_file warning: 192.168.2.50:554/r1/movie.mpg: No such file or directory
cdda debug: trying .cue file: 192.168.2.50:554/r1/movie.cue
cdda warning: could not open 192.168.2.50:554/r1/movie.mpg
main warning: no access2 module matching "rtsp" could be loaded
main error: no suitable access module for `rtsp://192.168.2.50:554/r1/movie.mpg'
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=display)
main debug: unlocking module "stream_out_display"
main debug: destroying chain done
main debug: unlocking module "stream_out_duplicate"
main debug: destroying chain done
main debug: thread times: real 0m0.218750s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 6808 joined (src/input/input.c:386)
main: nothing to play
<><>><><><><><><><><><><
Sorry for extended text, but just trying to get it all at once.
Anyway, what am I doing wrong!!
THANX in advance
Bill
I create the ALC controls at runtime(eliminates studio issues). I am able to view multicast streams (udp://@224.1.1.1:8501 - where 8501 is the port) .
When I try to start a video using: rtsp://192.168.2.50:554/r1/movie(.mpg)
nothing happens and I just see the cone:
code:
VOptions() = Array(":no-audio")
PlayStr = "rtsp://192.168.2.50:554/r1/movie"
VirtualVcMain.addTarget PlayStr, VOptions, VLCPlayListReplace, -666
VirtualVcMain.play
OPERATIONAL NOTES:
I can use the same string into an Amino STB and it plays, so IP/port/filename is okay.
I tried both with and without file extension.
Using the VLC player: it also does not play
messages from VLC player:
main debug: adding playlist item `rtsp://192.168.2.50:554/r1/movie.mpg' ( rtsp://192.168.2.50:554/r1/movie.mpg )
main debug: creating new input thread
main debug: set input option: sout to #duplicate{dst=display}
main debug: waiting for thread completion
main debug: thread 6808 (input) created at priority 1 (src/input/input.c:230)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module: 1 candidate
main debug: using sout stream module "stream_out_display"
main debug: using sout stream module "stream_out_duplicate"
main debug: `rtsp://192.168.2.50:554/r1/movie.mpg' gives access `rtsp' demux `' path `192.168.2.50:554/r1/movie.mpg'
main debug: creating demux: access='rtsp' demux=''
path='192.168.2.50:554/r1/movie.mpg'
main debug: looking for access_demux module: 1 candidate
livedotcom error: describeURL failed (cannot handle DESCRIBE response: RTSP/1.0 501 Not Implemented)
main warning: no access_demux module matching "rtsp" could be loaded
main debug: creating access 'rtsp' path='192.168.2.50:554/r1/movie.mpg'
main debug: looking for access2 module: 5 candidates
main debug: net: connecting to 192.168.2.50 port 554
main debug: connection in progress
access_realrtsp debug: rtsp connected
access_realrtsp debug: only real/helix rtsp servers supported for now
vcd debug: trying .cue file: 192.168.2.50:554/r1/movie.cue
access_file warning: 192.168.2.50:554/r1/movie.mpg: No such file or directory
cdda debug: trying .cue file: 192.168.2.50:554/r1/movie.cue
cdda warning: could not open 192.168.2.50:554/r1/movie.mpg
main warning: no access2 module matching "rtsp" could be loaded
main error: no suitable access module for `rtsp://192.168.2.50:554/r1/movie.mpg'
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=display)
main debug: unlocking module "stream_out_display"
main debug: destroying chain done
main debug: unlocking module "stream_out_duplicate"
main debug: destroying chain done
main debug: thread times: real 0m0.218750s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 6808 joined (src/input/input.c:386)
main: nothing to play
<><>><><><><><><><><><><
Sorry for extended text, but just trying to get it all at once.
Anyway, what am I doing wrong!!
THANX in advance
Bill