Does RTSP support moving forward?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
chemi
Blank Cone
Blank Cone
Posts: 22
Joined: 16 Jan 2010 10:13

Does RTSP support moving forward?

Postby chemi » 19 Jan 2010 10:18

Hi, I am experimenting with video streaming. I have VLC 1.0.3 and accessing via RTSP to a on-demand video (it has AVI extension). It works great but when I try to move forward (30 minutes forward for example), it tries something and then after a couple of seconds it stops and closes the movie.

Is it a restriction of RTSP protocol (reading http://es.wikipedia.org/wiki/RTSP I didn't find fwd command)? Is it a restriction of AVI format?

Thanks in advance,

Chemi.

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

Re: Does RTSP support moving forward?

Postby Rémi Denis-Courmont » 19 Jan 2010 16:58

The RTSP protocol should support it. But that depends on the server.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

chemi
Blank Cone
Blank Cone
Posts: 22
Joined: 16 Jan 2010 10:13

Re: Does RTSP support moving forward?

Postby chemi » 19 Jan 2010 17:19

Ok. Does VLC 1.0.3 support forward with RTSP protocol? Just trying to figure out if I have a problem with my AVI files or it is a restriction of current version then.

Thanks,

Chemi.

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

Re: Does RTSP support moving forward?

Postby Rémi Denis-Courmont » 19 Jan 2010 17:26

Sure.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

chemi
Blank Cone
Blank Cone
Posts: 22
Joined: 16 Jan 2010 10:13

Re: Does RTSP support moving forward?

Postby chemi » 19 Jan 2010 19:28

Any help about how to investigate why it is not working for me?
I have tested with different files using following codecs: XviD/MP3 and DivX 5/MP3. It doesn't work with any.
BTW, the time line slider, doesn't progress with regular play.

I have VLC 1.0.3 streaming VOD via RTSP on a WinXP Box and VLC 1.0.3 playing it from network from a different WinXP box.

I don't know what else to test if VLC implements RTSP with forward/backward features. Any tip?

Thanks in advance,

Chemi.

P.S.: If I open those files locally from file system instead via network, forward/backward works fine. And the time line slider moves perfectly when playing.

chemi
Blank Cone
Blank Cone
Posts: 22
Joined: 16 Jan 2010 10:13

Re: Does RTSP support moving forward?

Postby chemi » 20 Jan 2010 09:54

I activated verbosity level 2 in Message window and this is the info I get when try to move forward (it seems it gets stuck buffering at 36%). Is there any setting I can use in the server to avoid this problem?

Log:

main debug: control type=5
main warning: received buffer in the future
main warning: can't get output picture
live555 debug: seek start: 0.000000 stop:2536.000000
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main error: ES_OUT_RESET_PCR called
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main error: ES_OUT_RESET_PCR called
main debug: Buffering 0%
main debug: End of audio preroll
main debug: Buffering 2%
main debug: Buffering 2%
main debug: Buffering 4%
main debug: Buffering 4%
main debug: End of video preroll
main debug: Received first picture
main debug: Buffering 6%
main debug: Buffering 11%
main debug: Buffering 11%
main debug: Buffering 11%
main debug: Buffering 11%
main debug: Buffering 12%
main debug: Buffering 14%
main debug: Buffering 17%
main debug: Buffering 17%
main debug: Buffering 17%
main debug: Buffering 18%
main debug: Buffering 20%
main debug: Buffering 23%
main debug: Buffering 23%
main debug: Buffering 23%
main debug: Buffering 24%
main debug: Buffering 26%
main debug: Buffering 27%
main debug: Buffering 28%
main debug: Buffering 30%
main debug: Buffering 32%
main debug: Buffering 34%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
main debug: Buffering 36%
live555 warning: no data received in 10s, eof ?
main debug: EOF reached
main debug: Stream buffering done (432 ms in 10630 ms)
main debug: Decoder buffering done in 0 ms
main warning: PTS is out of range (-10000), dropping buffer
main warning: output PTS is out of range (10495000), clearing out
main warning: PTS is out of range (-34000), dropping buffer
mpgatofixed32 debug: libmad error: bad main_data_begin pointer
main debug: waiting decoder fifos to empty
main debug: finished input
main debug: thread times: real 0m33.093750s, kernel 0m0.015625s, user 0m0.484375s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing module "mpgatofixed32"
main debug: removing module "scaletempo"
main debug: removing module "bandlimited_resampler"
aout_directx debug: closing audio device
aout_directx debug: DirectSoundThread exiting
main debug: thread ended
main debug: thread times: real 0m32.875000s, kernel 0m0.000000s, user 0m0.000000s
main debug: removing module "aout_directx"
main debug: removing module "converter_float"
main debug: removing module "float32_mixer"
main debug: releasing aout
main debug: thread times: real 0m33.203125s, kernel 0m0.015625s, user 0m1.500000s
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: [0] 4 0
main debug: [1] 4 0
main debug: [2] 4 0
main debug: [3] 4 0
main debug: [4] 4 0
main debug: [5] 2 0
main debug: [6] 2 0
main debug: [7] 4 0
main debug: [8] 4 0
main debug: [9] 4 0
main debug: [10] 4 0
main debug: [11] 4 0
main debug: [12] 4 0
main debug: [13] 4 0
main debug: [14] 4 0
main debug: saving a free vout
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 0m33.437500s, kernel 0m0.062500s, user 0m0.078125s
main debug: changing item without a request (current 0/1)
main debug: nothing to play
main debug: destroying useless vout
vout_directx debug: DirectXCloseSurface
vout_directx debug: DirectXCloseDisplay
vout_directx debug: DirectXCloseDisplay clipper
vout_directx debug: DirectXCloseDisplay display
vout_directx debug: DirectXCloseDDraw
vout_directx debug: DirectXEventThread terminating
vout_directx debug: DirectXCloseWindow
vout_directx debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Qt: Entering Fullscreen
main debug: TIMER input launching for 'rtsp://192.168.1.35/PulpFiction.1994.DVDR.avi' : 263.000 ms - Total 263.000 ms / 1 intvls (Avg 263.000 ms)
qt4 debug: Video is not needed anymore
qt4 debug: Updating the geometry
main debug: removing module "qt4"
main debug: thread ended
main debug: thread times: real 0m33.218750s, kernel 0m0.015625s, user 0m0.000000s
main debug: removing module "vout_directx"
main debug: removing module "blend"
main debug: thread times: real 0m0.000000s, kernel 0m0.000000s, user 0m0.000000s
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"

And this is the info at server side, which seems to be able to move forward without problems, and it is the client which has the problem:

vod_rtsp debug: RtspCallback query: type=10
vod_rtsp debug: HTTPD_MSG_PAUSE for session: 26500
main debug: control type=1
vod_rtsp debug: RtspCallback query: type=9
vod_rtsp debug: HTTPD_MSG_PLAY for session: 26500
vod_rtsp debug: seeking request: npt=45.648-
main debug: control type=5
avi debug: seek requested: 45 seconds 1%
avi debug: old:22800000 < new 45647998
avi debug: seek: 45 seconds
main debug: Buffering 0%
main debug: Buffering 8%
main debug: Buffering 16%
main debug: Buffering 25%
main debug: Buffering 33%
main debug: Buffering 41%
main debug: Buffering 50%
main debug: Buffering 58%
main debug: Buffering 66%
main debug: Buffering 75%
main debug: Buffering 83%
main debug: Buffering 91%
main debug: Buffering 100%
main debug: Stream buffering done (325 ms in 23 ms)
main debug: Decoder buffering done in 0 ms
vod_rtsp debug: RtspCallback query: type=12
vod_rtsp debug: HTTPD_MSG_TEARDOWN for session: 26500
vod_rtsp debug: closing session: 26500, connections: 0
main debug: control type=0
main debug: control: stopping input
main debug: thread times: real 0m33.687500s, kernel 0m0.000000s, user 0m0.000000s
main debug: removing module "packetizer_mpeg4video"
main debug: killing decoder fourcc `XVID', 117 PES in FIFO
main debug: removing a sout input (sout_input:0x1ca3700)
main debug: thread times: real 0m33.656250s, kernel 0m0.156250s, user 0m0.015625s
main debug: thread times: real 0m33.687500s, kernel 0m0.015625s, user 0m0.000000s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 13 PES in FIFO
main debug: removing a sout input (sout_input:0x1c21980)
main debug: thread times: real 0m33.671875s, kernel 0m0.000000s, user 0m0.000000s
avi debug: free chunk avih
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi warning: unknown chunk (not unloaded)
avi debug: free chunk LIST
avi debug: free chunk LIST
avi debug: free chunk ISFT
avi debug: free chunk LIST
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk idx1
avi debug: free chunk RIFF
avi debug: free chunk JUNK
avi debug: free chunk LIST
main debug: removing module "avi"
main debug: removing module "stream_filter_record"
main debug: removing module "access_file"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: thread times: real 0m33.765625s, kernel 0m0.109375s, user 0m0.046875s
main debug: destroying chain... (name=rtp)
main debug: removing module "stream_out_rtp"
main debug: destroying chain done
main debug: TIMER input launching for 'PulpFiction.1994.DVDR.avi' : 68.000 ms - Total 68.000 ms / 1 intvls (Avg 68.000 ms)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 75 guests