Page 1 of 1

Problem trying to stream

Posted: 01 Jul 2009 12:57
by Tanthalas
Hello everybody. I am using vlc 0.9.8a and i am trying trying to connect to a server using rtsp. To do this, i click on "Open Network", i select the protocol and I type the address rtsp://IP:PORT. The problem is that vlc does not reproduce anything, if i check the messages it says "live555 error: no data received in 10s, aborting", the communication is opened successfully but it does not receive anything.

I have found other message which is "live555 debug: play start: 0 stop:0". So i don't know if the problem is that i say "start in 0 and stop in 0" in that case obviously vlc reproduce nothing, or maybe (due to the first error) i have to specify vlc to wait for more time to the server.

Does anyone know how to solve this?

Here I paste the complete trace of messages:
qt4 debug: New item: rtsp://163.117.141.114:5554/channel2
main debug: adding item `rtsp://163.117.141.114:5554/channel2' ( rtsp://163.117.141.114:5554/channel2 )
main debug: rebuilding array of current - root Lista de reproducción
main debug: rebuild done - 5 items, index 3
main debug: starting new item
main debug: processing request item rtsp://163.117.141.114:5554/channel2 node null skip 0
main debug: resyncing on rtsp://163.117.141.114:5554/channel2
main debug: rtsp://163.117.141.114:5554/channel2 is at 4
main debug: creating new input thread
main debug: Creating an input for 'rtsp://163.117.141.114:5554/channel2'
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 5812 (input) created at priority 1 (input/input.c:370)
main debug: `rtsp://163.117.141.114:5554/channel2' gives access `rtsp' demux `' path `163.117.141.114:5554/channel2'
qt4 debug: Updating the stream status: 3
main debug: creating demux: access='rtsp' demux='' path='163.117.141.114:5554/channel2'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/MP4V-ES'
main debug: selecting program id=0
qt4 debug: New Event: type 1108
live555 debug: setup start: 0 stop:0
live555 debug: play start: 0 stop:0
main debug: using access_demux module "live555"
main debug: TIMER module_Need() : 798.000 ms - Total 798.000 ms / 1 intvls (Avg 798.000 ms)
main debug: looking for a subtitle file in C:\Archivos de programa\VideoLAN\VLC\
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec initialized (interface 3408896 )
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_Need() : 161.000 ms - Total 161.000 ms / 1 intvls (Avg 161.000 ms)
main debug: thread 5936 (decoder) created at priority 0 (input/decoder.c:217)
main debug: `rtsp://163.117.141.114:5554/channel2' successfully opened
qt4 debug: New Event: type 1103
qt4 debug: Updating the stream status: 3
main debug: thread started
main debug: control type=1
live555 warning: no data received in 10s. Switching to TCP
avcodec debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: removing module "avcodec"
main debug: thread ended
main debug: thread times: real 0m10.515625s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 5936 joined (input/decoder.c:248)
main debug: killing decoder fourcc `mp4v', 0 PES in FIFO
main debug: Program doesn't contain anymore ES
live555 debug: RTP subsession 'video/MP4V-ES'
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec already initialized
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: thread 5924 (decoder) created at priority 0 (input/decoder.c:217)
main debug: thread started
live555 debug: setup start: 0 stop:0
live555 debug: play start: 0 stop:0
live555 error: no data received in 10s, aborting
main debug: EOF reached
main debug: finished input
main debug: dying input
qt4 debug: Updating the stream status: 8
main debug: dying input
main debug: removing module "live555"
avcodec debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: removing module "avcodec"
main debug: thread ended
main debug: dying input
main debug: thread times: real 0m0.609375s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 5924 joined (input/decoder.c:248)
main debug: killing decoder fourcc `mp4v', 0 PES in FIFO
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m13.062500s, kernel 0m0.000000s, user 0m0.031250s
main debug: thread 5812 joined (playlist/engine.c:244)
main debug: TIMER input launching for 'rtsp://163.117.141.114:5554/channel2' : 967.000 ms - Total 967.000 ms / 1 intvls (Avg 967.000 ms)
main debug: starting new item
main debug: changing item without a request (current 4/5)
main debug: nothing to play
Thank you in advance.

Re: Problem trying to stream

Posted: 01 Jul 2009 18:24
by VLC_help
Could you try 1.0.0 nightly builds and report back if they don't work?
http://nightlies.videolan.org/build/win32/?C=M;O=D (branches are 1.0.0)

Re: Problem trying to stream

Posted: 02 Jul 2009 11:05
by Tanthalas
I have tried with branch-20090702-0003/ but it doesn't reproduce anything. I have read the log and i got the same errors:
main debug: `rtsp://163.117.141.114:5554/channel2' successfully opened
live555 debug: setup start: 0.000000 stop:0.000000
live555 error: no data received in 10s, aborting


This is the complete output:
main debug: adding item `rtsp://163.117.141.114:5554/channel2' ( rtsp://163.117.141.114:5554/channel2 )
qt4 debug: Adding a new MRL to recent ones: rtsp://163.117.141.114:5554/channel2
main debug: rebuilding array of current - root Lista de reproducción
main debug: rebuild done - 2 items, index 0
main debug: processing request item rtsp://163.117.141.114:5554/channel2 node Lista de reproducción skip 0
main debug: resyncing on rtsp://163.117.141.114:5554/channel2
main debug: rtsp://163.117.141.114:5554/channel2 is at 1
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'rtsp://163.117.141.114:5554/channel2'
main debug: thread (input) created at priority 1 (input/input.c:230)
main debug: thread started
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\DOCUME~1\agpardo\CONFIG~1\Temp'
main debug: `rtsp://163.117.141.114:5554/channel2' gives access `rtsp' demux `' path `163.117.141.114:5554/channel2'
main debug: creating demux: access='rtsp' demux='' path='163.117.141.114:5554/channel2'
main debug: looking for access_demux module: 1 candidate
qt4 debug: IM: Setting an input
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
live555 debug: RTP subsession 'video/MP4V-ES'
main debug: selecting program id=0
qt4 debug: New Event: type 1119
qt4 debug: New Event: type 1119
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
live555 debug: setup start: 0.000000 stop:0.000000
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1108
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1119
qt4 debug: New Event: type 1112
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1114
qt4 debug: New Event: type 1114
qt4 debug: New Event: type 1114
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: TIMER module_need() : 783.000 ms - Total 783.000 ms / 1 intvls (Avg 783.000 ms)
main debug: looking for a subtitle file in C:\Documents and Settings\agpardo\Escritorio\Proyectos\Prueba_PFC\Prueba_PFC\bin\Debug\
main debug: looking for decoder module: 35 candidates
avcodec debug: libavcodec already initialized
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: thread (decoder) created at priority 0 (input/decoder.c:315)
main debug: thread started
main debug: `rtsp://163.117.141.114:5554/channel2' successfully opened
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1108
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1112
qt4 debug: New Event: type 1103
live555 warning: no data received in 10s. Switching to TCP
main debug: thread times: real 0m10.531250s, kernel 0m0.000000s, user 0m0.000000s
avcodec debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: removing module "avcodec"
main debug: killing decoder fourcc `mp4v', 0 PES in FIFO
main debug: Program doesn't contain anymore ES
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
live555 debug: RTP subsession 'video/MP4V-ES'
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
main debug: looking for decoder module: 35 candidates
avcodec debug: libavcodec already initialized
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: thread (decoder) created at priority 0 (input/decoder.c:315)
main debug: thread started
live555 debug: setup start: 0.000000 stop:0.000000
qt4 debug: New Event: type 1107
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1108
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: New Event: type 1114
qt4 debug: New Event: type 1114
qt4 debug: New Event: type 1114
live555 debug: play start: 0.000000 stop:0.000000
live555 error: no data received in 10s, aborting
main debug: EOF reached
main debug: finished input
main debug: thread times: real 0m10.718750s, kernel 0m0.000000s, user 0m0.000000s
avcodec debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: removing module "avcodec"
main debug: killing decoder fourcc `mp4v', 0 PES in FIFO
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m22.984375s, kernel 0m0.000000s, user 0m0.000000s
main debug: changing item without a request (current 1/2)
main debug: nothing to play
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 375
qt4 debug: sizeHint: 106 - 349
main debug: Destroying the input for 'rtsp://163.117.141.114:5554/channel2'
main debug: TIMER input launching for 'rtsp://163.117.141.114:5554/channel2' : 791.000 ms - Total 791.000 ms / 1 intvls (Avg 791.000 ms)

Re: Problem trying to stream

Posted: 02 Jul 2009 17:27
by VLC_help
I can play the whole stream using VLC 0.9.9, there have been some reports earlier about timeout issues (specially with some IP cams) but I don't know why you have this issue and I don't.

Re: Problem trying to stream

Posted: 03 Jul 2009 10:42
by Tanthalas
Ok, thanks a lot.