[vlc-devel] Re: RTP & MPEG-4 elementary stream

Johann Ransay jransay at synelec.fr
Thu Mar 17 10:30:35 CET 2005


Le Jeudi 17 Mars 2005 09:31, vous avez écrit :
> > > I get the feeling that your vlc somehow lacks the livedotcom module.
> > > Did you compile vlc yourself? if so, you should have passed
> > > --enable-livedotcom and --with-livedotcom-tree=<path to live.com tree)
> > > to configure. When livedotcom is available, and the sdp is proper,
> > > modules/access/udp.c should never be called.
> > >
> > >
> > > Sigmund
> >
> > I did compile vlc myself. And I have passed  --enable-livedotcom and
> > --with-livedotcom-tree=<path to live.com tree> to configure. How can I
> > check if livedotcom is used or not ?
>
> First check if "vlc --reset-plugins-cache --list" outputs livedotcom. Then
> check "vlc -vvv yourfile.sdp" it should contain something like "using
> access_dumux module livedotcom" if livedotcom is used.
>
> Sigmund
>
Sigmund,

here is the output of the commands you suggested:

vlc --reset-plugins-cache --list | grep livedotcom
VLC media player 0.8.0 Janus
  livedotcom            live.com (RTSP/RTP/SDP) demuxer
  livedotcom            RTSP/RTP access and demux

no livedotcom in any access_demux

Until then I was using vlc-0.8.0 and livedotcom library live.2004.11.09

So I tested the same commands with vlc-0.8.1 and live.2004.11.11a:

./vlc --reset-plugins-cache --list | grep livedotcom
VLC media player 0.8.1 Janus
  livedotcom            live.com (RTSP/RTP/SDP) demuxer
  livedotcom            RTSP/RTP access and demux

./vlc -vvv /var/www/html/rtp-mpeg-4_es.sdp
VLC media player 0.8.1 Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 167 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version 0.8.1 Janus - (c) 
1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --enable-pp 
--enable-ffmpeg --with-ffmpeg-tree=/usr/lib/ffmpeg-0.4.9-pre1 
--enable-livedotcom --with-livedotcom-tree=/usr/lib/live 
--with-mad-tree=/usr/lib/libmad-0.15.0b --disable-skins2
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 167 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.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"
[00000208] main playlist debug: creating group Normal with id 1 at position 0
[00000208] main playlist debug: waiting for thread completion
[00000208] main playlist debug: thread -1086563408 (playlist) created at 
priority 0 (src/playlist/playlist.c:107)
[00000209] main interface debug: looking for interface module
[00000209] main interface debug: probing 1 candidate
[00000104] main module debug: using interface module "hotkeys"
[00000209] main interface debug: interface initialized
[00000209] main interface debug: thread -1097053264 (interface) created at 
priority 0 (src/interface/interface.c:209)
[00000208] main playlist debug: adding playlist item 
`/var/www/html/rtp-mpeg-4_es.sdp' ( /var/www/html/rtp-mpeg-4_es.sdp )
[00000211] main interface debug: looking for interface module
[00000211] main interface debug: probing 1 candidate
Remote control interface initialized, `h' for help
[00000105] main module debug: using interface module "rc"
[00000211] main interface debug: interface initialized
[00000208] main playlist debug: creating new input thread
[00000213] main input debug: waiting for thread completion
[00000213] main input debug: `/var/www/html/rtp-mpeg-4_es.sdp' gives access `' 
demux `' path `/var/www/html/rtp-mpeg-4_es.sdp'
[00000213] main input debug: demux2_New: access='' demux='' 
path='/var/www/html/rtp-mpeg-4_es.sdp'
[00000214] main demuxer debug: looking for access_demux module
[00000214] main demuxer debug: probing 0 candidates
[00000214] main demuxer warning: no access_demux module matched "any"
[00000213] main input debug: access2_New: access='' 
path='/var/www/html/rtp-mpeg-4_es.sdp'
[00000215] main access debug: looking for access2 module
[00000215] main access debug: probing 4 candidates
[00000215] vcd access debug: trying .cue file: /var/www/html/rtp-mpeg-4_es.cue
[00000215] vcd access warning: could not open /var/www/html/rtp-mpeg-4_es.sdp
[00000215] access_file access debug: opening file 
`/var/www/html/rtp-mpeg-4_es.sdp'
[00000025] main module debug: using access2 module "access_file"
[00000220] main private debug: pre buffering
[00000220] main private debug: received first data for our buffer
[00000213] main input debug: demux2_New: access='' demux='' 
path='/var/www/html/rtp-mpeg-4_es.sdp'
[00000221] main demuxer debug: looking for demux2 module
[00000221] main demuxer debug: probing 30 candidates
[00000221] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000221] avi demuxer warning: avi module discarded (invalid header)
[00000221] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000221] main demuxer debug: looking for id3 module
[00000221] main demuxer debug: probing 1 candidate
[00000221] id3 demuxer debug: checking for ID3 tag
[00000117] main module debug: using id3 module "id3"
[00000117] main module debug: unlocking module "id3"
[00000221] mpgv demuxer warning: ES module discarded (no startcode)
[00000221] aac demuxer warning: AAC module discarded
[00000162] main module debug: using demux2 module "sap"
[00000213] main input debug: looking for a subtitle file in /var/www/html/
[00000213] main input debug: `/var/www/html/rtp-mpeg-4_es.sdp' sucessfully 
opened
[00000221] sap demuxer debug: sdp=v=0
o=TEST 2561487193 121245300 IN IP4 239.255.5.6
s=TEST
c=IN IP4 239.255.5.6/255
t=0 0
a=ISMA-compliance:1,1,1
m=video 5510 RTP/AVP 121 120
a=rtpmap:121 M4V-ES/90000
a=rtpmap:120 M4V-ES/90000
a=fmtp:121 profile-level-id=243; 
config=000001B022000001B5090000010000000120008440FA28582120A300
a=mpeg4-esid:121
 
 
[00000213] main input debug: thread -1107547216 (input) created at priority 0 
(src/input/input.c:228)
[00000211] main interface debug: thread -1130624080 (manager) created at 
priority 0 (src/interface/interface.c:194)
[00000208] main playlist debug: adding playlist item `TEST' ( 
rtp://@239.255.5.6:5510 )
[00000213] main input debug: EOF reached
[00000213] main input debug: control type=1
[00000208] main playlist debug: deleting playlist item 
`/var/www/html/rtp-mpeg-4_es.sdp'
[00000213] main input debug: closing input
[00000162] main module debug: unlocking module "sap"
[00000025] main module debug: unlocking module "access_file"
[00000213] main input debug: thread -1107547216 joined (src/input/input.c:290)
[00000208] main playlist debug: creating new input thread
[00000236] main input debug: waiting for thread completion
[00000236] main input debug: `rtp://@239.255.5.6:5510' gives access `rtp' 
demux `' path `@239.255.5.6:5510'
[00000236] main input debug: demux2_New: access='rtp' demux='' 
path='@239.255.5.6:5510'
[00000237] main demuxer debug: looking for access_demux module
[00000237] main demuxer debug: probing 0 candidates
[00000237] main demuxer warning: no access_demux module matched "rtp"
[00000236] main input debug: access2_New: access='rtp' 
path='@239.255.5.6:5510'
[00000238] main access debug: looking for access2 module
[00000238] main access debug: probing 5 candidates
[00000238] access_udp access debug: opening server=:0 local=239.255.5.6:5510
[00000238] main access debug: net: connecting to ':0 at 239.255.5.6:5510'
[00000238] main access debug: looking for network module
[00000238] main access debug: probing 2 candidates
[00000238] ipv4 access debug: socket buffer size is 0x3fffe instead of 0x80000
[00000238] ipv4 access debug: IP_ADD_MEMBERSHIP multicast request
[00000156] main module debug: using network module "ipv4"
[00000156] main module debug: unlocking module "ipv4"
[00000028] main module debug: using access2 module "access_udp"
[00000241] main private debug: pre buffering
[00000236] main input debug: thread -1107547216 (input) created at priority 0 
(src/input/input.c:228)
[00000238] access_udp access debug: no RTP header detected
[00000241] main private debug: received first data for our buffer
[00000241] main private debug: prebuffering done 26964 bytes in 0s - 197 
kbytes/s
[00000236] main input debug: demux2_New: access='rtp' demux='' 
path='@239.255.5.6:5510'
[00000242] main demuxer debug: looking for demux2 module
[00000242] main demuxer debug: probing 30 candidates
[00000242] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000242] avi demuxer warning: avi module discarded (invalid header)
[00000242] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000242] main demuxer debug: looking for id3 module
[00000242] main demuxer debug: probing 1 candidate
[00000242] id3 demuxer debug: checking for ID3 tag
[00000117] main module debug: using id3 module "id3"
[00000117] main module debug: unlocking module "id3"
[00000242] mpgv demuxer warning: ES module discarded (no startcode)
[00000242] aac demuxer warning: AAC module discarded
[00000242] sap demuxer warning: SDP (UDP) module discarded
[00000242] livedotcom demuxer warning: SDP module discarded
[00000242] ogg demuxer warning: ogg module discarded (invalid header)
[00000242] real demuxer warning: Real module discarded
[00000242] playlist demuxer warning: old import module discarded: invalid file
[00000242] playlist demuxer warning: pls import module discarded
[00000242] au demuxer warning: AU module discarded
[00000242] nsv demuxer warning: NSV module discarded
[00000242] ts demuxer warning: TS module discarded
[00000242] pva demuxer warning: PVA module discarded
[00000242] aiff demuxer warning: AIFF module discarded
[00000242] ffmpeg demuxer debug: couldn't guess format
[00000242] ps demuxer warning: this does not look like an MPEG PS stream, 
continuing anyway
[00000130] main module debug: using demux2 module "ps"
[00000236] main input debug: `rtp://@239.255.5.6:5510' sucessfully opened
[00000242] ps demuxer warning: garbage at input
[00000242] ps demuxer warning: garbage at input
[00000242] ps demuxer warning: garbage at input
...

This time livedotcom appears but it still does not work. Is my sdp file bad?

Johann

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list