does VBrick streams support include MPEG4 via RTP ??

Old forum that is now archived. Please use one of the other forums.
stafforj
New Cone
New Cone
Posts: 7
Joined: 15 Nov 2004 15:20

does VBrick streams support include MPEG4 via RTP ??

Postby stafforj » 15 Nov 2004 15:53

Hi,

Release note for 0.8 says "VBrick streams fully supported" does this include MPEG-4 via RTP ?


------------------------

I am trying to use VLC 0.8 to play a multicast RTP mpeg4 stream from a Vbrick encoder, and I am getting nowhere.

If I use RTP:://@236.1.1.1:1234 as source instead then I get
"No RTP header detected" - due to the RTP payload type being 96 which VLC doesn’t handle.

If I use UDP:://@236.1.1.1:1234 then I get:

./vlc0.8 -vvv --vout fb --fbdev=/dev/fb0 udp://@236.1.1.1:1234 --width 480 --noaudio
VLC media player 0.8.0 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-0404be.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/vlc_target-0.8/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 144 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.0 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --disable-plugins --prefix=/vlc_target-0.8 --bindir=/vlc_target-0.8 --libexecdir=/vlc_target-0.8 --disable-altivec --disable-runtime-cpudetection --disable-debug --includedir=/vlc_target/include --with-libmpeg2-tree=/home/palmerm/vlc_target/mpeg2dec-0.4.0 --libdir=/vlc_target-0.8/lib --with-qte=/opt/target/ryan/opt/qte --disable-sdl --disable-gtk --disable-dvd --disable-mad --with-ffmpeg-tree=/home/palmerm/vlc_target/ffmpeg-20041101 --with-dvbpsi-tree=/home/palmerm/vlc_target/libdvbpsi-20041028 --enable-ffmpeg --disable-freetype --disable-fribidi --enable-fb --enable-lirc --disable-screen --disable-x11 --disable-xvideo --disable-visual --host=powerpc-linux --with-words=big CC=ppc_405-gcc CXX=ppc_405-g++
[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-0404be.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/vlc_target-0.8/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 144 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 FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 1 candidate
[00000025] main module debug: using memcpy module "memcpy"
[00000179] main playlist debug: creating group Normal with id 1 at position 0
[00000179] main playlist debug: waiting for thread completion
[00000179] main playlist debug: thread 1026 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000180] main interface debug: looking for interface module
[00000180] main interface debug: probing 1 candidate
[00000026] main module debug: using interface module "hotkeys"
[00000180] main interface debug: interface initialized
[00000180] main interface debug: thread 2051 (interface) created at priority 0 (src/interface/interface.c:209)
[00000179] main playlist debug: adding playlist item `udp://@236.1.1.1:1234' ( udp://@236.1.1.1:1234 )
[00000181] main interface debug: looking for interface module
[00000181] main interface debug: probing 1 candidate
Remote control interface initialized, `h' for help
[00000021] main module debug: using interface module "rc"
[00000181] main interface debug: interface initialized
[00000179] main playlist debug: creating new input thread
[00000182] main input debug: waiting for thread completion
[00000182] main input debug: thread 3076 (input) created at priority 0 (src/input/input.c:228)
[00000182] main input debug: `udp://@236.1.1.1:1234' gives access `udp' demux `' path `@236.1.1.1:1234'
[00000182] main input debug: demux2_New: access='udp' demux='' path='@236.1.1.1:1234'
[00000183] main demuxer debug: looking for access_demux module
[00000183] main demuxer debug: probing 0 candidates
[00000183] main demuxer warning: no access_demux module matched "udp"
[00000182] main input debug: access2_New: access='udp' path='@236.1.1.1:1234'
[00000184] main access debug: looking for access2 module
[00000184] main access debug: probing 5 candidates
[00000184] access_udp access debug: opening server=:0 local=236.1.1.1:1234
[00000184] main access debug: net: connecting to ':0@236.1.1.1:1234'
[00000184] main access debug: looking for network module
[00000184] main access debug: probing 2 candidates
[00000184] ipv4 access debug: socket buffer size is 0x1fffe instead of 0x80000
[00000184] ipv4 access debug: IP_ADD_MEMBERSHIP multicast request
[00000134] main module debug: using network module "ipv4"
[00000134] main module debug: unlocking module "ipv4"
[00000131] main module debug: using access2 module "access_udp"
[00000185] main private debug: pre buffering
[00000184] access_udp access debug: no RTP header detected
[00000185] main private debug: received first data for our buffer
[00000181] main interface debug: thread 4101 (manager) created at priority 0 (src/interface/interface.c:194)
[00000185] main private debug: prebuffering done 2019 bytes in 0s - 16 kbytes/s
[00000182] main input debug: demux2_New: access='udp' demux='' path='@236.1.1.1:1234'
[00000186] main demuxer debug: looking for demux2 module
[00000186] main demuxer debug: probing 28 candidates
[00000186] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000186] avi demuxer warning: avi module discarded (invalid header)
[00000186] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000186] mpgv demuxer warning: ES module discarded (no startcode)
[00000186] main demuxer debug: looking for id3 module
[00000186] main demuxer debug: probing 1 candidate
[00000186] id3 demuxer debug: checking for ID3 tag
[00000107] main module debug: using id3 module "id3"
[00000107] main module debug: unlocking module "id3"
[00000186] aac demuxer warning: AAC module discarded
[00000186] sap demuxer warning: SDP (UDP) module discarded
[00000186] real demuxer warning: Real module discarded
[00000186] ts demuxer warning: TS module discarded (lost sync)
[00000186] pva demuxer warning: PVA module discarded
[00000186] nsv demuxer warning: NSV module discarded
[00000186] aiff demuxer warning: AIFF module discarded
[00000186] playlist demuxer warning: old import module discarded: invalid file
[00000186] playlist demuxer warning: pls import module discarded
[00000186] au demuxer warning: AU module discarded
[00000186] ffmpeg demuxer debug: couldn't guess format
[00000186] ps demuxer warning: this does not look like an MPEG PS stream, continuing anyway
[00000034] main module debug: using demux2 module "ps"
[00000182] main input debug: `udp://@236.1.1.1:1234' sucessfully opened
[00000186] ps demuxer warning: garbage at input
[00000182] main input debug: control type=1
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input
[00000186] ps demuxer warning: garbage at input




Thanks

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

Postby Sigmund » 15 Nov 2004 20:03

mpeg4 over rtp is unplayable without the acompanying .sdp file. This is perhaps gotten through sap for multicast streams.

stafforj
New Cone
New Cone
Posts: 7
Joined: 15 Nov 2004 15:20

Postby stafforj » 16 Nov 2004 10:44

The Vbrick encoder makes the sdp available via http, or if need be I can store it in a file.

So assuming the sdp is available, how would this be provided to VLC ?

Has anyone has played MPEG4 via RTP ?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 16 Nov 2004 11:02

give VLC the link to the SDP, or get the RTSP link to VLC. Both will work.
Don't use PMs for support questions.

stafforj
New Cone
New Cone
Posts: 7
Joined: 15 Nov 2004 15:20

Postby stafforj » 16 Nov 2004 11:54

OK, I tried using the SDP via HTTP, and heres what happened, it fetches sdp ok, but end result is still 'garbage at input'.


# ./vlc0.8 -vvv --vout fb --fbdev=/dev/fb0 http://172.63.200.7/vbs1d1.sdp --width 480 --noaudio
VLC media player 0.8.0 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-0404be.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/vlc_target-0.8/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 145 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.0 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --disable-plugins --prefix=/vlc_target-0.8 --bindir=/vlc_target-0.8 --libexecdir=/vlc_target-0.8 --disable-altivec --disable-runtime-cpudetection --disable-debug --includedir=/vlc_target/include --with-libmpeg2-tree=/home/palmerm/vlc_target/mpeg2dec-0.4.0 --libdir=/vlc_target-0.8/lib --with-qte=/opt/target/ryan/opt/qte --disable-sdl --disable-gtk --disable-dvd --disable-mad --with-ffmpeg-tree=/home/palmerm/vlc_target/ffmpeg-20041101 --with-dvbpsi-tree=/home/palmerm/vlc_target/libdvbpsi-20041028 --enable-ffmpeg --disable-freetype --disable-fribidi --enable-fb --enable-lirc --disable-screen --enable-livedotcom --with-livedotcom-tree=/home/palmerm/vlc_target/live --disable-x11 --disable-xvideo --disable-visual --host=powerpc-linux --with-words=big CC=ppc_405-gcc CXX=ppc_405-g++
[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-0404be.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/vlc_target-0.8/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 145 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 FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 1 candidate
[00000027] main module debug: using memcpy module "memcpy"
[00000181] main playlist debug: creating group Normal with id 1 at position 0
[00000181] main playlist debug: waiting for thread completion
[00000181] main playlist debug: thread 1026 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000182] main interface debug: looking for interface module
[00000182] main interface debug: probing 1 candidate
[00000028] main module debug: using interface module "hotkeys"
[00000182] main interface debug: interface initialized
[00000182] main interface debug: thread 2051 (interface) created at priority 0 (src/interface/interface.c:209)
[00000181] main playlist debug: adding playlist item `http://172.63.200.7/vbs1d1.sdp' ( http://172.63.200.7/vbs1d1.sdp )
[00000183] main interface debug: looking for interface module
[00000183] main interface debug: probing 1 candidate
Remote control interface initialized, `h' for help
[00000023] main module debug: using interface module "rc"
[00000183] main interface debug: interface initialized
[00000181] main playlist debug: creating new input thread
[00000184] main input debug: waiting for thread completion
[00000184] main input debug: thread 3076 (input) created at priority 0 (src/input/input.c:228)
[00000184] main input debug: `http://172.63.200.7/vbs1d1.sdp' gives access `http' demux `' path `172.63.200.7/vbs1d1.sdp'
[00000184] main input debug: demux2_New: access='http' demux='' path='172.63.200.7/vbs1d1.sdp'
[00000185] main demuxer debug: looking for access_demux module
[00000185] main demuxer debug: probing 0 candidates
[00000185] main demuxer warning: no access_demux module matched "http"
[00000184] main input debug: access2_New: access='http' path='172.63.200.7/vbs1d1.sdp'
[00000186] main access debug: looking for access2 module
[00000186] main access debug: probing 6 candidates
[00000183] main interface debug: thread 4101 (manager) created at priority 0 (src/interface/interface.c:194)
[00000186] access_http access debug: http: server='172.63.200.7' port=80 file='/vbs1d1.sdp
[00000186] main access debug: net: connecting to '172.63.200.7:80'
[00000186] main access debug: looking for network module
[00000186] main access debug: probing 2 candidates
[00000186] ipv4 access debug: connection in progress
[00000136] main module debug: using network module "ipv4"
[00000136] main module debug: unlocking module "ipv4"
[00000186] access_http access debug: protocol 'HTTP' answer code 200
[00000186] access_http access debug: Server: Rapid Logic/1.1
[00000186] access_http access debug: Content-Type: application/sdp
[00000186] access_http access debug: Transfer-Encoding: chunked
[00000135] main module debug: using access2 module "access_http"
[00000187] main private debug: pre buffering
[00000187] main private debug: received first data for our buffer
[00000184] main input debug: demux2_New: access='http' demux='' path='172.63.200.7/vbs1d1.sdp'
[00000188] main demuxer debug: looking for demux2 module
[00000188] main demuxer debug: probing 29 candidates
[00000188] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000188] avi demuxer warning: avi module discarded (invalid header)
[00000188] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000188] mpgv demuxer warning: ES module discarded (no startcode)
[00000188] main demuxer debug: looking for id3 module
[00000188] main demuxer debug: probing 1 candidate
[00000188] id3 demuxer debug: checking for ID3 tag
[00000109] main module debug: using id3 module "id3"
[00000109] main module debug: unlocking module "id3"
[00000188] aac demuxer warning: AAC module discarded
[00000142] main module debug: using demux2 module "sap"
[00000184] main input debug: `http://172.63.200.7/vbs1d1.sdp' sucessfully opened
[00000188] sap demuxer debug: sdp=v=0
o=- 072230118229 1 IN IP4 172.63.200.7
s=MAC0007df0076e2 Program 1
i=VBrick Streaming Video
c=IN IP4 236.1.1.1/63
b=AS:150
t=0 0
a=keywds:
a=author:My Author
a=copyright:My Copyright, 2003
a=streamID:slot1Destination1
a=ISMA-compliance:1,1.0,1
a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoFvAE//AQ8DAQOAfgABQGBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBU29CS0FVZkF5UUEzZ0FFRFNBUkFVQUFBQUtFaUFBQ1NmQUdFQUJFQUFGZmtBQUJYNUFnSUFBQUFBTT0EDQEFAADIAAAAAAAAAAAGCQEAAAAAAAAAAANZAAJANmRhdGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU1lRUWZ3QUFBSDhBQUFFUW9Jb0tmZ0E9PQQSAg0AABQAAAAAAAAAAAUDAABgBgkBAAAAAAAAAAA="
m=video 1234/1 RTP/AVP 96
b=AS:150
a=rtpmap:96 MP4V-ES/90000
a=control:trackID=11
a=cliprect:0,0,240,320
a=fmtp:96 profile-level-id=3;config=000001B003000001B509000001000000012000844006685020F0A31F
a=mpeg4-esid:222



[00000181] main playlist debug: adding playlist item `MAC0007df0076e2 Program 1' ( rtp://@236.1.1.1:1234 )
[00000184] main input debug: EOF reached
[00000184] main input debug: control type=1
[00000181] main playlist debug: deleting playlist item `http://172.63.200.7/vbs1d1.sdp'
[00000184] main input debug: closing input
[00000142] main module debug: unlocking module "sap"
[00000135] main module debug: unlocking module "access_http"
[00000184] main input debug: thread 3076 joined (src/input/input.c:290)
[00000181] main playlist debug: creating new input thread
[00000189] main input debug: waiting for thread completion
[00000189] main input debug: thread 5124 (input) created at priority 0 (src/input/input.c:228)
[00000189] main input debug: `rtp://@236.1.1.1:1234' gives access `rtp' demux `' path `@236.1.1.1:1234'
[00000189] main input debug: demux2_New: access='rtp' demux='' path='@236.1.1.1:1234'
[00000190] main demuxer debug: looking for access_demux module
[00000190] main demuxer debug: probing 0 candidates
[00000190] main demuxer warning: no access_demux module matched "rtp"
[00000189] main input debug: access2_New: access='rtp' path='@236.1.1.1:1234'
[00000191] main access debug: looking for access2 module
[00000191] main access debug: probing 5 candidates
[00000191] access_udp access debug: opening server=:0 local=236.1.1.1:1234
[00000191] main access debug: net: connecting to ':0@236.1.1.1:1234'
[00000191] main access debug: looking for network module
[00000191] main access debug: probing 2 candidates
[00000191] ipv4 access debug: socket buffer size is 0x1fffe instead of 0x80000
[00000191] ipv4 access debug: IP_ADD_MEMBERSHIP multicast request
[00000136] main module debug: using network module "ipv4"
[00000136] main module debug: unlocking module "ipv4"
[00000133] main module debug: using access2 module "access_udp"
[00000192] main private debug: pre buffering
[00000191] access_udp access debug: no RTP header detected
[00000192] main private debug: received first data for our buffer
[00000192] main private debug: prebuffering done 2269 bytes in 0s - 14 kbytes/s
[00000189] main input debug: demux2_New: access='rtp' demux='' path='@236.1.1.1:1234'
[00000193] main demuxer debug: looking for demux2 module
[00000193] main demuxer debug: probing 29 candidates
[00000193] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000193] avi demuxer warning: avi module discarded (invalid header)
[00000193] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000193] mpgv demuxer warning: ES module discarded (no startcode)
[00000193] main demuxer debug: looking for id3 module
[00000193] main demuxer debug: probing 1 candidate
[00000193] id3 demuxer debug: checking for ID3 tag
[00000109] main module debug: using id3 module "id3"
[00000109] main module debug: unlocking module "id3"
[00000193] aac demuxer warning: AAC module discarded
[00000193] sap demuxer warning: SDP (UDP) module discarded
[00000193] livedotcom demuxer warning: SDP module discarded
[00000193] real demuxer warning: Real module discarded
[00000193] ts demuxer warning: TS module discarded
[00000193] pva demuxer warning: PVA module discarded
[00000193] nsv demuxer warning: NSV module discarded
[00000193] aiff demuxer warning: AIFF module discarded
[00000193] playlist demuxer warning: old import module discarded: invalid file
[00000193] playlist demuxer warning: pls import module discarded
[00000193] au demuxer warning: AU module discarded
[00000193] ffmpeg demuxer debug: couldn't guess format
[00000193] ps demuxer warning: this does not look like an MPEG PS stream, continuing anyway
[00000036] main module debug: using demux2 module "ps"
[00000189] main input debug: `rtp://@236.1.1.1:1234' sucessfully opened
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input
[00000193] ps demuxer warning: garbage at input

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 16 Nov 2004 16:18

You don't have rtsp support compiled in. compile with livedotcom support.
Don't use PMs for support questions.

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

Postby Sigmund » 16 Nov 2004 18:52

[00000193] sap demuxer warning: SDP (UDP) module discarded
[00000193] livedotcom demuxer warning: SDP module discarded
Somehow the sdp seems very invalid. Perhaps we could have a look at it?

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

Postby Sigmund » 16 Nov 2004 18:56

and an even better look at the log tells that the sdp is there allright, but somehow the wring module handles it.

Try this:
./vlc0.8 -vvv --vout fb --fbdev=/dev/fb0 http/livedotcom://172.63.200.7/vbs1d1.sdp --width 480 --noaudio

stafforj
New Cone
New Cone
Posts: 7
Joined: 15 Nov 2004 15:20

Postby stafforj » 17 Nov 2004 14:16

Sigmund,

Many thanks, that has fixed it, :)


....However, although it plays ok for the first few minutes, it then starts to get jerky/breakup and 'TaskInterrupt' starts appearing. :(
('TaskInterrupt' is printed from function TaskInterrupt() in livedotcom.cpp).
I'm not quite sure what the TaskInterrupt implies however.

It seems the longer it runs the worse it gets.

We currently have Vbrick encoder set to produce 12.5 FPS, and 512Kbps


The CPU usage observed via top, is around 50%
(cpu is a ppc405H, running at 200mhz)


Trace is as follows:


root@172.63.200.117:/home/harkinr/mpeg# ./vlc0.8 -vvv --vout fb --fbdev=/dev/fb0 http/livedotcom://172.63.200.7/vbs1d1.sdp --width 480 --noaudio
VLC media player 0.8.0 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-0404be.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/vlc_target-0.8/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 145 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.0 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --disable-plugins --prefix=/vlc_target-0.8 --bindir=/vlc_target-0.8 --libexecdir=/vlc_target-0.8 --disable-altivec --disable-runtime-cpudetection --disable-debug --includedir=/vlc_target/include --with-libmpeg2-tree=/home/palmerm/vlc_target/mpeg2dec-0.4.0 --libdir=/vlc_target-0.8/lib --with-qte=/opt/target/ryan/opt/qte --disable-sdl --disable-gtk --disable-dvd --disable-mad --with-ffmpeg-tree=/home/palmerm/vlc_target/ffmpeg-20041101 --with-dvbpsi-tree=/home/palmerm/vlc_target/libdvbpsi-20041028 --enable-ffmpeg --disable-freetype --disable-fribidi --enable-fb --enable-lirc --disable-screen --enable-livedotcom --with-livedotcom-tree=/home/palmerm/vlc_target/live --disable-x11 --disable-xvideo --disable-visual --host=powerpc-linux --with-words=big CC=ppc_405-gcc CXX=ppc_405-g++
[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-0404be.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/vlc_target-0.8/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 145 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 FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 1 candidate
[00000027] main module debug: using memcpy module "memcpy"
[00000181] main playlist debug: creating group Normal with id 1 at position 0
[00000181] main playlist debug: waiting for thread completion
[00000181] main playlist debug: thread 1026 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000182] main interface debug: looking for interface module
[00000182] main interface debug: probing 1 candidate
[00000028] main module debug: using interface module "hotkeys"
[00000182] main interface debug: interface initialized
[00000182] main interface debug: thread 2051 (interface) created at priority 0 (src/interface/interface.c:209)
[00000181] main playlist debug: adding playlist item `http/livedotcom://172.63.200.7/vbs1d1.sdp' ( http/livedotcom://172.63.200.7/vbs1d1.sdp )
[00000183] main interface debug: looking for interface module
[00000183] main interface debug: probing 1 candidate
Remote control interface initialized, `h' for help
[00000023] main module debug: using interface module "rc"
[00000183] main interface debug: interface initialized
[00000181] main playlist debug: creating new input thread
[00000184] main input debug: waiting for thread completion
[00000184] main input debug: `http/livedotcom://172.63.200.7/vbs1d1.sdp' gives access `http' demux `livedotcom' path `172.63.200.7/vbs1d1.sdp'
[00000184] main input debug: thread 3076 (input) created at priority 0 (src/input/input.c:228)
[00000184] main input debug: access2_New: access='http' path='172.63.200.7/vbs1d1.sdp'
[00000185] main access debug: looking for access2 module
[00000185] main access debug: probing 6 candidates
[00000185] access_http access debug: http: server='172.63.200.7' port=80 file='/vbs1d1.sdp
[00000185] main access debug: net: connecting to '172.63.200.7:80'
[00000185] main access debug: looking for network module
[00000185] main access debug: probing 2 candidates
[00000185] ipv4 access debug: connection in progress
[00000136] main module debug: using network module "ipv4"
[00000136] main module debug: unlocking module "ipv4"
[00000183] main interface debug: thread 4101 (manager) created at priority 0 (src/interface/interface.c:194)
[00000185] access_http access debug: protocol 'HTTP' answer code 200
[00000185] access_http access debug: Server: Rapid Logic/1.1
[00000185] access_http access debug: Content-Type: application/sdp
[00000185] access_http access debug: Transfer-Encoding: chunked
[00000135] main module debug: using access2 module "access_http"
[00000186] main private debug: pre buffering
[00000186] main private debug: received first data for our buffer
[00000184] main input debug: demux2_New: access='http' demux='livedotcom' path='172.63.200.7/vbs1d1.sdp'
[00000187] main demuxer debug: looking for demux2 module
[00000187] main demuxer debug: probing 1 candidate
[00000187] livedotcom demuxer debug: sdp=v=0
o=- 072230118229 1 IN IP4 172.63.200.7
s=MAC0007df0076e2 Program 1
i=VBrick Streaming Video
c=IN IP4 236.1.1.1/63
b=AS:512
t=0 0
a=keywds:
a=author:My Author
a=copyright:My Copyright, 2003
a=streamID:slot1Destination1
a=ISMA-compliance:1,1.0,1
a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoFvAE//AQ/zAQOAfgABQGBkYXRhOmFwcGxpY2F0aW9uL21w
ZWc0LW9kLWF1O2Jhc2U2NCxBU29CS0FVZkF5UUEzZ0FFRFNBUkFVQUFBQ
WlZQUFBSDBBQUdFQUJFQUFGZmtBQUJYNUFnSUFBQUFBTT0EDQEFAADIA
AAAAAAAAAAGCQEAAAAAAAAAAANZAAJANmRhdGE6YXBwbGljYXRpb24v
bXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU1lRUWZ3QUFBSDhBQUFFUW9Jb0tm
Z0E9PQQSAg0AABQAAAAAAAAAAAUDAABgBgkBAAAAAAAAAAA="
m=video 1234/1 RTP/AVP 96
b=AS:512
a=rtpmap:96 MP4V-ES/90000
a=control:trackID=11
a=cliprect:0,0,240,320
a=fmtp:96 profile-level-id=243;config=000001B0f3000001B509000001000000012000844006685020F0A31F
a=mpeg4-esid:222



[00000187] livedotcom demuxer debug: RTP subsession 'video/MP4V-ES'
[00000184] main input debug: Selecting program id=0
[00000005] main module debug: using demux2 module "livedotcom"
[00000188] main decoder debug: looking for decoder module
[00000188] main decoder debug: probing 16 candidates
[00000188] ffmpeg decoder debug: libavcodec initialized (interface 4728 )
[00000188] ffmpeg decoder debug: postprocessing disabled
[00000188] ffmpeg decoder debug: using direct rendering
[00000188] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000009] main module debug: using decoder module "ffmpeg"
[00000188] main decoder debug: thread 5126 (decoder) created at priority 0 (src/input/decoder.c:157)
[00000184] main input debug: `http/livedotcom://172.63.200.7/vbs1d1.sdp' sucessfully opened
[00000184] main input debug: control type=1
[00000188] main decoder debug: no usable vout present, spawning one
[00000189] main video output debug: looking for video output module
[00000189] main video output debug: probing 2 candidates
FB OPEN==============================
FB OPEN DISPLAY====p_vout->b_fullscreen=0==========================
screen xres=480 xres_virt=480, yres=640, yres_virt=640, xoffset=0, yoffset=0
bitfield_len=5
[00000189] fb video output debug: Open Display (h=240,w=320)
[00000179] main module debug: using video output module "fb"
FB INIT==============================
FB NEW PIC==============================
[00000189] fb video output debug: NewPicture( i_width=320, i_height=240
FB NEW PIC==============================
[00000189] fb video output debug: NewPicture( i_width=320, i_height=240
[00000189] main video output debug: got 2 direct buffer(s)
[00000189] main video output debug: picture in 320x240, chroma 0x49343230 (I420), aspect ratio 4:3
[00000189] main video output debug: picture out 320x240, chroma 0x52563136 (RV16), aspect ratio 4:3
[00000189] main video output debug: looking for chroma module
[00000189] main video output debug: probing 5 candidates
[00000190] main private debug: Registering subpicture channel, ID: 2
[00000190] main private debug: Registering subpicture channel, ID: 3
[00000190] main private debug: Registering subpicture channel, ID: 4
[00000190] main private debug: Registering subpicture channel, ID: 5
[00000104] main module debug: using chroma module "i420_rgb"
[00000189] main video output debug: indirect render, mapping render pictures 0-7 to system pictures 2-9
[00000189] main video output debug: waiting for thread completion
[00000189] main video output debug: thread 6151 (video output) created at priority 0 (src/video_output/video_output.c:443)
[mpeg4 @ 0x10478770]warning: first frame is no keyframe
[00000187] livedotcom demuxer debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
TaskInterrupt
TaskInterrupt
[00000189] main video output warning: vout warning: early picture skipped (160820775915711)
[00000189] main video output warning: vout warning: early picture skipped (160820775954812)
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
[00000189] main video output warning: late picture skipped (-36433)
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt
TaskInterrupt

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

Postby Sigmund » 17 Nov 2004 15:48

We will try to implement proper autodetection for steams like yours in time for next release.

TaskInterrupt means that the livedotcom library goes too long without actually getting anything to do. This usually imply that no data is arriving at the network card. But I guess in your case it could also happen because the cpu is overloaded or thread scheduling is horribly bad (last two are only suspiccions though, I haven't thouroughly checked that these are possible causes)

stafforj
New Cone
New Cone
Posts: 7
Joined: 15 Nov 2004 15:20

Postby stafforj » 22 Nov 2004 19:03

I found out why we got broken video after a few minutes playing, our system clock was running 0.625% slow. ie after 4 minute clock had lost a second!!

This was because on our custom board, the clock input to the PPC405 CPU goes through a spread spectrum device, which only speads the frequency downwards! The device gives a 1.25% frequency spread, resulting in an average 0.625% reduction in the clock rate. After we adjusted our clock dividers vlc plays fine.

However, I am left wondering why vlc could play MPEG4 TS over raw UDP steaams sucessfully with the inaccurate clock, but not RTP.
Does this mean that if RTP MPEG4 is left playing for a long time )ie months) on a standard PC, then clock drift could result in problems like we saw ?

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

Postby Sigmund » 23 Nov 2004 01:50

I think it is because timestamps in mpeg2-ts are relative to a system clock that is embedded in the stream, while rtp use rtcp to create a mapping from stream-time to wall-clock-time. I think this actually show how mpeg2ts is better designed than rtp, and at least it's designed for this sort of application.

Geof
New Cone
New Cone
Posts: 5
Joined: 30 Mar 2005 12:16

Postby Geof » 08 Apr 2005 12:26

I've tried to read a RTP or RTSP stream from a pocket with VLC. But I could not. I believe it's not possible yet due to the lack of the livedotcom library on Pocket PC.

"The CPU usage observed via top, is around 50%
(cpu is a ppc405H, running at 200mhz) "

Did you manage to read a RTP stream from a pocket PC ?

If yes, could you give me some informations about the way you have done it (compilation, OS, source modifications ...)

It would be very helpful,

Thanks

Guest

Postby Guest » 13 Jul 2005 19:50

Ahh wow u have a Brick we just bought a few 2! They are gorgeous!

Just out of curiosity, why don’t you want to use VBrick’s StreamPlayer?

Rich


Return to “VideoLAN”

Who is online

Users browsing this forum: No registered users and 20 guests