Problem using RTSP

*nix specific usage questions
Nem
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Jun 2007 10:05

Problem using RTSP

Postby Nem » 10 Jul 2007 16:28

Hi !

Here my configuration :
CentOS 4.4
VLC 0.9.0 snapshot 24/06/2007.
ffmpeg snapshot 25/06/2007
live555 01/07/2007
I'm working on a P4 3.00Ghz, 500MB physical memmory.

Openning a file locally works good.

I'm trying to open a RTSP stream (from a camera) via vlc. Everything going fine, the video shows up 3 secs, then freezze and error message :

Code: Select all

[00000265] ffmpeg decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
I've used that command

Code: Select all

./vlc rtsp://my_ip:1125/mpeg4/media.amp
and here is a more verbose launch

Code: Select all

VLC media player 0.9.0-svn Grishenko [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file /home/xxxxxx/.vlc/cache/plugins-04041e.dat [00000001] main libvlc debug: recursively browsing `modules' [00000001] main libvlc debug: recursively browsing `/long_path/vlc/lib/vlc' [00000001] main libvlc warning: cannot load module `/long_path/vlc/lib/vlc/gui/libskins2_plugin.so' (/long_path/vlc/lib/vlc/gui/libskins2_plugin.so: undefined symbol: FT_Init_FreeType) [00000001] main libvlc debug: recursively browsing `plugins' [00000001] main libvlc debug: module bank initialized, found 184 modules [00000001] main libvlc debug: opening config file (/home/xxxxxx/.vlc/vlcrc) [00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main libvlc debug: looking for memcpy module: 3 candidates [00000001] main libvlc debug: using memcpy module "memcpymmxext" [00000254] main playlist error: Reloading playlist not implemented. [00000255] main private debug: waiting for thread completion [00000255] main private debug: thread 3073608608 (preparser) created at priority 0 (playlist/thread.c:81) [00000256] main private debug: waiting for thread completion [00000256] main private debug: thread 3063118752 (fetcher) created at priority 0 (playlist/thread.c:107) [00000254] main playlist debug: waiting for thread completion [00000254] main playlist debug: thread 3052628896 (playlist) created at priority 0 (playlist/thread.c:117) [00000257] main interface debug: looking for interface module: 1 candidate [00000257] main interface debug: using interface module "hotkeys" [00000257] main interface debug: thread 3042139040 (interface) created at priority 0 (interface/interface.c:218) [00000254] main playlist debug: adding item `rtsp://my_ip:1125/mpeg4/media.amp' ( rtsp://my_ip:1125/mpeg4/media.amp ) [00000259] main interface debug: looking for interface module: 1 candidate Interface de commande à distance initialisée, « h » pour obtenir de l’aide. [00000259] main interface debug: using interface module "rc" [00000254] main playlist debug: rebuilding array of current - root Liste de lecture [00000254] main playlist debug: rebuild done - 1 items, index -1 [00000254] main playlist debug: starting new item [00000254] main playlist debug: processing request item null node Liste de lecture skip 0 [00000254] main playlist debug: creating new input thread [00000261] main input debug: waiting for thread completion [00000001] main libvlc error: option key-menu-on does not exist [00000001] main libvlc error: option key-menu-off does not exist [00000001] main libvlc error: option key-menu-right does not exist [00000001] main libvlc error: option key-menu-left does not exist [00000001] main libvlc error: option key-menu-up does not exist [00000001] main libvlc error: option key-menu-down does not exist [00000001] main libvlc error: option key-menu-select does not exist [00000261] main input debug: thread 3031645088 (input) created at priority 0 (input/input.c:332) [00000254] main playlist debug: requesting art for rtsp://my_ip:1125/mpeg4/media.amp [00000261] main input debug: `rtsp://my_ip:1125/mpeg4/media.amp' gives access `rtsp' demux `' path `my_ip:1125/mpeg4/media.amp' [00000261] main input debug: creating demux: access='rtsp' demux='' path='my_ip:1125/mpeg4/media.amp' [00000262] main demuxer debug: looking for access_demux module: 1 candidate Sending request: OPTIONS rtsp://my_ip:1125/mpeg4/media.amp RTSP/1.0 CSeq: 1 User-Agent: VLC media player (LIVE555 Streaming Media v2007.07.01) Received OPTIONS response: RTSP/1.0 200 OK CSeq: 1 Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN Sending request: DESCRIBE rtsp://my_ip:1125/mpeg4/media.amp RTSP/1.0 CSeq: 2 Accept: application/sdp User-Agent: VLC media player (LIVE555 Streaming Media v2007.07.01) Received DESCRIBE response: RTSP/1.0 200 OK CSeq: 2 Content-Base: rtsp://my_ip:1125/mpeg4/media.amp/ Content-Type: application/sdp Content-Length: 1024 Need to read 1024 extra bytes Read 1024 extra bytes: v=0 o=- 1184082123990526 1184082123990537 IN IP4 my_ip s=Media Presentation e=NONE c=IN IP4 0.0.0.0 b=AS:272 t=0 0 a=control:* a=range:npt=now- a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoEAAE8BAQ8DAQOAkwABQHRkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBVGdCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBQStnQUFBUG9BQVlCQkFFWkFwOERGUUJsQlFRTlFCVUFDN2dBQUQ2QUFBQStnQVlCQXc9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAA0IAAkA+ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTZ1RBcUJYSmhCSWhRUlFVL0FBPT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA" a=isma-compliance:1,1.0,1 m=video 0 RTP/AVP 96 b=AS:256 a=framerate:10.0 a=control:trackID=1 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=000001B003000001B5891300000100000001200086C40FA285020F0A21 a=mpeg4-esid:201 m=audio 0 RTP/AVP 97 b=AS:16 a=control:trackID=2 a=rtpmap:97 mpeg4-generic/8000/1 a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1588; sizeLength=13; indexLength=3; indexDeltaLength=3; profile=1; bitrate=16000 a=mpeg4-esid:101 [00000262] live555 demuxer debug: RTP subsession 'video/MP4V-ES' Sending request: SETUP rtsp://my_ip:1125/mpeg4/media.amp/trackID=1 RTSP/1.0 CSeq: 3 Transport: RTP/AVP;unicast;client_port=33230-33231 User-Agent: VLC media player (LIVE555 Streaming Media v2007.07.01) Received SETUP response: RTSP/1.0 200 OK CSeq: 3 Session: 203793140 Transport: RTP/AVP;unicast;client_port=33230-33231;server_port=50162-50163;ssrc=12F6E6ED;mode="PLAY" [00000261] main input debug: selecting program id=0 [00000262] live555 demuxer debug: RTP subsession 'audio/MPEG4-GENERIC' Sending request: SETUP rtsp://my_ip:1125/mpeg4/media.amp/trackID=2 RTSP/1.0 CSeq: 4 Transport: RTP/AVP;unicast;client_port=33232-33233 Session: 203793140 User-Agent: VLC media player (LIVE555 Streaming Media v2007.07.01) [00000254] main playlist debug: art not found for rtsp://my_ip:1125/mpeg4/media.amp Received SETUP response: RTSP/1.0 200 OK CSeq: 4 Session: 203793140 Transport: RTP/AVP;unicast;client_port=33232-33233;server_port=50164-50165;ssrc=186F667C;mode="PLAY" [00000262] live555 demuxer debug: setup start: -1 stop:-1 Sending request: PLAY rtsp://my_ip:1125/mpeg4/media.amp/ RTSP/1.0 CSeq: 5 Session: 203793140 User-Agent: VLC media player (LIVE555 Streaming Media v2007.07.01) Received PLAY response: RTSP/1.0 200 OK CSeq: 5 Session: 203793140 Range: npt=now- RTP-Info: url=trackID=1;seq=41572;rtptime=1377072496, url=trackID=2;seq=62986;rtptime=902609678 [00000262] live555 demuxer debug: play start: -1 stop:-1 [00000262] main demuxer debug: using access_demux module "live555" [00000265] main decoder debug: looking for decoder module: 17 candidates [00000265] ffmpeg decoder debug: libavcodec initialized (interface 3352580 ) [00000265] ffmpeg decoder debug: postprocessing disabled [00000265] ffmpeg decoder debug: using direct rendering [00000265] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started [00000265] main decoder debug: using decoder module "ffmpeg" [00000265] main decoder debug: thread 3021155232 (decoder) created at priority 0 (input/decoder.c:191) [00000287] main decoder debug: looking for decoder module: 17 candidates [00000287] main decoder debug: using decoder module "faad" [00000287] main decoder debug: thread 3010665376 (decoder) created at priority 0 (input/decoder.c:191) [00000261] main input debug: `rtsp://my_ip:1125/mpeg4/media.amp' successfully opened [00000265] ffmpeg decoder warning: header damaged (mpeg4@0x88b28c0) [00000265] ffmpeg decoder warning: cannot decode one frame (800 bytes) [00000287] faad decoder warning: decoded zero sample [00000265] main decoder debug: no usable vout present, spawning one [00000288] main video output debug: window size: 320x240 [00000288] main video output debug: looking for video output module: 3 candidates [00000288] xvideo video output debug: adaptor 0, port 69, format 0x32315659 (YV12) planar [00000287] faad decoder debug: AAC SBR (channels: 2, samplerate: 16000) [00000287] main decoder debug: no aout present, spawning one [00000291] main audio output debug: looking for audio output module: 3 candidates ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Périphérique ou ressource occupé [00000291] alsa audio output warning: audio device: default is already in use [00000291] alsa audio output debug: failed to find a useable alsa configuration [00000291] oss audio output error: cannot open audio device (/dev/dsp) [00000291] main audio output debug: using audio output module "dummy" [00000291] main audio output debug: output 'fl32' 16000 Hz Stereo frame=1 samples/8 bytes [00000291] main audio output debug: mixer 'fl32' 16000 Hz Stereo frame=1 samples/8 bytes [00000291] main audio output debug: no need for any filter [00000291] main audio output debug: looking for audio mixer module: 3 candidates [00000291] main audio output debug: using audio mixer module "float32_mixer" [00000291] main audio output debug: input 'fl32' 16000 Hz Stereo frame=1 samples/8 bytes [00000291] main audio output debug: filter(s) 'fl32'->'fl32' 17600 Hz->16000 Hz Stereo->Stereo [00000301] main private debug: looking for audio filter module: 21 candidates [00000301] main private debug: using audio filter module "bandlimited_resampler" [00000291] main audio output debug: found a filter for the whole conversion [00000288] xvideo video output debug: Window manager supports NetWM [00000288] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN [00000288] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE [00000288] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW [00000288] xvideo video output debug: Window manager supports _NET_WM_STATE_STAYS_ON_TOP [00000288] main video output debug: using video output module "xvideo" [00000288] main video output debug: waiting for thread completion [00000288] main video output debug: got 8 direct buffer(s) [00000288] main video output debug: picture in 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1 [00000288] main video output debug: picture user 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1 [00000288] main video output debug: picture out 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1 [00000288] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7 [00000288] main video output debug: thread 3000175520 (video output) created at priority 0 (video_output/video_output.c:454) [00000265] ffmpeg decoder warning: warning: first frame is no keyframe (mpeg4@0x88b28c0) [00000303] main private debug: looking for video blending module: 1 candidate [00000303] blend private debug: chroma: YUVP -> I420 [00000303] main private debug: using video blending module "blend" [00000305] main private debug: looking for text renderer module: 1 candidate [00000305] main private debug: using text renderer module "dummy" [00000262] live555 demuxer debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP() [00000262] live555 demuxer debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP() [00000291] main audio output warning: buffer is 110165 late, triggering upsampling [00000288] main video output warning: late picture skipped (12865) [00000288] main video output warning: late picture skipped (11904) [00000288] main video output warning: late picture skipped (10917) [00000288] main video output warning: late picture skipped (9928) [00000288] main video output warning: late picture skipped (30604) [00000288] main video output warning: late picture skipped (29651) [00000288] main video output warning: late picture skipped (28661) [00000288] main video output warning: late picture skipped (27670) [00000288] main video output warning: late picture skipped (26680) [00000288] main video output warning: late picture skipped (47596) [00000288] main video output warning: late picture skipped (134584) [00000288] main video output warning: late picture skipped (243585) [00000288] main video output warning: late picture skipped (308653) [00000288] main video output warning: late picture skipped (571581) [00000288] main video output warning: late picture skipped (592595) [00000288] main video output warning: late picture skipped (790577) [00000288] main video output warning: late picture skipped (1053574) [00000288] main video output warning: late picture skipped (1096581) [00000288] main video output warning: late picture skipped (1117587) [00000288] main video output warning: late picture skipped (1163578) [00000288] main video output warning: late picture skipped (1206592) [00000288] main video output warning: late picture skipped (1293573) [00000288] main video output warning: late picture skipped (1578575) [00000288] main video output warning: late picture skipped (1577618) [00000288] main video output warning: late picture skipped (1642571) [00000288] main video output warning: late picture skipped (1861565) [00000288] main video output warning: late picture skipped (1904571) [00000288] main video output warning: late picture skipped (2035569) [00000288] main video output warning: late picture skipped (2166563) [00000288] main video output warning: late picture skipped (2451559) [00000288] main video output warning: late picture skipped (2472572) [00000288] main video output warning: late picture skipped (2559557) [00000288] main video output warning: late picture skipped (2624563) [00000288] main video output warning: late picture skipped (2865555) [00000288] main video output warning: late picture skipped (2886965) [00000288] main video output warning: late picture skipped (2907566) [00000288] main video output warning: late picture skipped (3082557) [00000288] main video output warning: late picture skipped (3081595) [00000288] main video output warning: late picture skipped (3124554) [00000288] main video output warning: late picture skipped (3189549) [00000288] main video output warning: late picture skipped (3320546) [00000288] main video output warning: late picture skipped (3429550) [00000288] main video output warning: late picture skipped (3472549) [00000288] main video output warning: late picture skipped (3713553) [00000288] main video output warning: late picture skipped (3734597) [00000288] main video output warning: late picture skipped (4019542) [00000288] main video output warning: late picture skipped (4194541) [00000288] main video output warning: late picture skipped (4193581) [00000288] main video output warning: late picture skipped (4236538) [00000288] main video output warning: late picture skipped (4257546) [00000288] main video output warning: late picture skipped (4300542) [00000288] main video output warning: late picture skipped (4365535) [00000288] main video output warning: late picture skipped (4496535) [00000288] main video output warning: late picture skipped (4671533) [00000288] main video output warning: late picture skipped (4692545) [00000288] main video output warning: late picture skipped (4779531) [00000288] main video output warning: late picture skipped (4954527) [00000265] ffmpeg decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
And Hell, i can't figure out any solution.
I've tried to use --rtsp-caching, same problem.
I've search on the forum, no solutions.

I have no idea from where could come the problem.
If someone have a solution, i take it ^^ !
Thx for any answer !

Nem
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Jun 2007 10:05

Re: Problem using RTSP

Postby Nem » 12 Jul 2007 18:11

I've found an alternative to my problem, i use vlc 0.8.6c.
I've build it with the same options than vlc0.9.0 and it works fine.
Really don't know from where comes the problem.
I'v compared the -vvv launch in both versions, and it was almost the same. So i fear that there is a problem with rtsp in 0.9.0.

But i have now an other problem.
I'm trying to connect on my cam with login/pass, so i've but searched on the wiki, forum, tied few solution, but no one works.

Code: Select all

./vlc rtsp://ip_to_cam/mpeg4/media.amp --rtsp-user my_user --rtsp-pwd my_pass ./vlc rtsp://user:pass@ip_to_cam/mpeg4/media.amp
Can someone give me a clue ?
Thx !

GillroY
New Cone
New Cone
Posts: 6
Joined: 07 Feb 2007 11:22

Re: Problem using RTSP

Postby GillroY » 24 Jul 2007 13:57

I've got exactly the same problem. 0.8.6a works great with transcoding my rtsp mpeg4 stream to wmv, in 0.9.0-svn I keep getting those "late picture skipped" errors.

I urgently need help...


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests