Error with SDP URL

About encoding, codec settings, muxers and filter usage
wesswess
New Cone
New Cone
Posts: 3
Joined: 19 Oct 2004 11:39

Error with SDP URL

Postby wesswess » 25 Oct 2004 11:03

Hi

I would like to use VLC as a server relay for an Axis IP camera video stream. The camera send a MPEG-4 video stream in multicast. I use a SDP URL to display the video stream (http://192.168.1.201/mpeg4/video.sdp). It works in a windows machine but not in a linux machine (suse 9.1). :(

It works also when I use a VLC client on a linux machine with a relay server on a windows machine.

Below the error generated:

toto@linux:~> vlc http://192.168.1.201/mpeg4/1/video.sdp
VLC media player 0.7.2 Bond
[00000220] main input: playlist item `http://192.168.1.201/mpeg4/1/video.sdp'
[00000220] ts_dvbpsi input error: cannot peek()
[00000220] ts input error: cannot peek()
[00000222] ts2 demuxer error: cannot peek
[00000220] main input: EOF reached

Any help please ? Anyone have an idea how to fix this problem ?

Below the debug:


toto@linux:~> vlc -vvv http://192.168.1.201/mpeg4/1/video.sdp
VLC media player 0.7.2 Bond
[00000000] main root debug: VLC media player - version 0.7.2 Bond - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --prefix=/usr --enable-debug --enable-dvdread --enable-dvdplay --enable-dvbpsi --enable-v4l --enable-vcd --enable-mad --enable-pp --enable-ffmpeg --with-ffmpeg=/usr --enable-faad --enable-xvid --enable-dv --enable-flac --enable-theora --enable-x11 --enable-xvideo --disable-qte --disable-directx --enable-fb --enable-aa --without-wingdi --enable-alsa --enable-oss --enable-esd --enable-arts --disable-waveout --enable-gtk --disable-familiar --enable-gnome --enable-qt --disable-opie --disable-macosx --disable-qnx --disable-intfwin --enable-ncurses --enable-xosd --enable-lirc --enable-pth --disable-st --disable-testsuite --enable-speex --enable-plugins --enable-livedotcom --disable-mkv --enable-wxwindows --enable-qt --enable-kde --enable-mozilla
[00000001] main vlc debug: translation test: code is "Fr"
[00000001] main vlc debug: opening config file /home/toto/.vlc/vlcrc
[00000001] main vlc warning: config file /home/toto/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc warning: cannot load module `/usr/lib/vlc/gui/libkde_plugin.so' (/usr/lib/vlc/gui/libkde_plugin.so: undefined symbol: _ZNK13KToggleAction7toolTipEv)
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 176 modules
[00000001] main vlc debug: opening config file /home/toto/.vlc/vlcrc
[00000001] main vlc warning: config file /home/toto/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000217] main playlist debug: creating group Normal with id 1 at position 0
[00000217] main playlist debug: waiting for thread completion
[00000217] main playlist debug: thread 1118014384 (playlist) created at priority 0 (src/playlist/playlist.c:109)
[00000218] main interface debug: looking for interface module
[00000218] main interface debug: probing 1 candidate
[00000108] main module debug: using interface module "hotkeys"
[00000218] main interface debug: interface initialized
[00000218] main interface debug: thread 1120115632 (interface) created at priority 0 (src/interface/interface.c:152)
[00000217] main playlist debug: adding playlist item `http://192.168.1.201/mpeg4/1/video.sdp' ( http://192.168.1.201/mpeg4/1/video.sdp )
[00000219] main interface debug: looking for interface module
[00000219] main interface debug: probing 8 candidates
[00000155] main module debug: using interface module "wxwindows"
[00000219] main interface debug: interface initialized
[00000219] main interface debug: thread 1122216880 (manager) created at priority 0 (src/interface/interface.c:136)
[00000219] wxwindows interface debug: accelerator table loaded
[00000217] main playlist debug: creating new input thread
[00000220] main input: playlist item `http://192.168.1.201/mpeg4/1/video.sdp'
[00000220] main input debug: waiting for thread completion
[00000220] main input debug: thread 1126656944 (input) created at priority 0 (src/input/input.c:326)
[00000220] main input debug: cmd=state old=10 new=1
[00000220] main input debug: playing at normal rate
[00000220] main input debug: access `http', demux `', name `192.168.1.201/mpeg4/1/video.sdp'
[00000220] main input debug: looking for access module
[00000220] main input debug: probing 1 candidate
[00000220] access_http input debug: http: server='192.168.1.201' port=80 file='/mpeg4/1/video.sdp
[00000220] main input debug: net: connecting to '192.168.1.201:80'
[00000220] main input debug: looking for network module
[00000220] main input debug: probing 2 candidates
[00000220] ipv4 input debug: connection in progress
[00000172] main module debug: using network module "ipv4"
[00000172] main module debug: unlocking module "ipv4"
[00000220] access_http input debug: protocol 'HTTP' answer code 200
[00000220] access_http input debug: stream size=595
[00000220] access_http input debug: Content-Type: text/plain
[00000024] main module debug: using access module "access_http"
[00000220] main input debug: looking for demux module
[00000220] main input debug: probing 7 candidates
[00000220] ts_dvbpsi input error: cannot peek()
[00000220] ts input error: cannot peek()
[00000220] main input debug: demux2_New: 'http://192.168.1.201/mpeg4/1/video.sdp' -> access='' demux='' path='192.168.1.201/mpeg4/1/video.sdp'
[00000222] main demuxer debug: looking for demux2 module
[00000222] main demuxer debug: probing 24 candidates
[00000222] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000222] avi demuxer warning: avi module discarded (invalid header)
[00000222] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000222] flac demuxer warning: flac module discarded (no startcode)
[00000222] aac demuxer warning: AAC module discarded
[00000222] main demuxer debug: looking for id3 module
[00000222] main demuxer debug: probing 2 candidates
[00000220] id3tag input debug: checking for ID3 tag
[00000129] main module debug: using id3 module "id3tag"
[00000129] main module debug: unlocking module "id3tag"
[00000222] mpga demuxer warning: mpga module discarded
[00000222] mpgv demuxer warning: ES module discarded (no startcode)
[00000222] ogg demuxer warning: ogg module discarded (invalid header)
[00000222] aiff demuxer warning: AIFF module discarded
[00000222] au demuxer warning: AU module discarded
[00000222] playlist demuxer warning: old import module discarded: invalid file
[00000222] playlist demuxer warning: m3u import module discarded
[00000222] playlist demuxer warning: pls import module discarded
[00000222] nsv demuxer warning: NSV module discarded
[00000222] pva demuxer warning: PVA module discarded
[00000222] ts2 demuxer error: cannot peek
[00000222] real demuxer warning: Real module discarded
[00000220] ps input warning: this does not look like an MPEG PS stream, but continuing anyway
[00000220] main input debug: looking for mpeg-system module
[00000220] main input debug: probing 1 candidate
[00000121] main module debug: using mpeg-system module "mpeg_system"
[00000142] main module debug: using demux module "ps"
[00000220] mpeg_system input warning: garbage (0x763d300a)
[00000220] main input: EOF reached
[00000220] main input debug: 1 loops consuming user: 0, system: 0
[00000220] main input debug: dumping stream ID 0x0 [OK:0/D:0]
[00000220] main input debug: pace controlled
[00000220] main input debug: dumping program 0x0, version 0 (partial)
[00000121] main module debug: unlocking module "mpeg_system"
[00000142] main module debug: unlocking module "ps"
[00000024] main module debug: unlocking module "access_http"
[00000220] main input debug: pes: 0 packets
[00000220] main input debug: data: 0 packets
[00000220] main input debug: buffers: 2 packets
[00000220] main input debug: freeing info structures...
[00000220] main input debug: thread 1126656944 joined (src/input/input.c:373)

Regards

Eagle

Postby Eagle » 26 Jan 2005 09:59

I have exactly the same problem.
The stream just won't start to play.
When I dump all the traffic that is sent to the box it seems as if the multicast stream is active, but it won't start playing.

And it does work in windoze, but not in linux.

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 26 Jan 2005 12:53

seems like your vlc lacks the livedotcom module. If you compiled it yourself make sure you have live.com sources installed and that you tell configure where they are. If you use packaged vlc try to ask whoever made the packages to include that


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 3 guests