[vlc] Re: HELP: vlc multicasting problems...

Chris Bshaw cwbshaw at hotmail.com
Wed Jan 26 15:27:57 CET 2005


Hi....

Thanx for the reply.....actually it seems to be only live streams. I just 
tried multicasting a DVD and it worked everytime.

I realise this probably points the finger at vdr+streamdev, but I can do the 
following:

[Server]
vdr+streamdev -> vlc http://localhost:3000/PS/16331 --sout 
'#standard{access=http,mux=ts,url=:1234}'

[Client]
vlc http://[Server]:1234

and this works perfectly, so it seems that the vlc server process is 
receiving the stream from vdr+streamdev.

It only seems to not work when I tell --sout to use multicast.....I have 
listed at the end of this post the debug output from a vlc -vvv attempt at 
multicasting.....perhaps you might see something in the output.

Thanx for your help.

Chris.

[root at videolan video]# vlc -vvv -R http://localhost:3000/PS/16331 --sout 
'#standard{access=udp,mux=ts,url=239.255.12.42:1234}'
VLC media player 0.8.2-svn Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[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 189 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000000] main root debug: VLC media player - version 0.8.2-svn Janus - (c) 
1996-2005 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure 
--enable-release --enable-dvdread --enable-livedotcom --enable-v4l 
--enable-pvr --enable-dvb --enable-faad --enable-toolame --enable-flac 
--enable-libmpeg2 --enable-portaudio --enable-alsa --enable-vlm 
--enable-ncurses --enable-qt --enable-mozilla --enable-dvbpsi 
--with-dvbpsi-tree=/root/videolan/svn/libdvbpsi 
--with-libdvb=/root/videolan/source/libdvb-0.5.5 
--with-ffmpeg-tree=/root/videolan/source/ffmpeg-20041113 
--with-toolame-tree=/root/videolan/source/toolame-02m-beta8 
--with-x264-tree=/root/videolan/source/x264-20041029
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[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 189 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[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"
[00000239] main playlist debug: creating view 1
[00000239] main playlist debug: creating view 2
[00000239] main playlist debug: creating view 3
[00000239] main playlist debug: waiting for thread completion
[00000239] main playlist debug: thread 16386 (playlist) created at priority 
0 (src/playlist/playlist.c:149)
[00000240] main private debug: waiting for thread completion
[00000240] main private debug: thread 32771 (preparser) created at priority 
0 (src/playlist/playlist.c:173)
[00000241] main interface debug: looking for interface module
[00000241] main interface debug: probing 1 candidate
[00000126] main module debug: using interface module "hotkeys"
[00000241] main interface debug: interface initialized
[00000241] main interface debug: thread 49156 (interface) created at 
priority 0 (src/interface/interface.c:210)
[00000239] main playlist debug: adding playlist item 
`http://localhost:3000/PS/16331' ( http://localhost:3000/PS/16331 )
[00000243] main interface debug: looking for interface module
[00000243] main interface debug: probing 4 candidates
[00000151] main module debug: using interface module "wxwindows"
[00000243] main interface debug: interface initialized
[00000243] main interface debug: thread 65541 (manager) created at priority 
0 (src/interface/interface.c:195)
[00000243] wxwindows interface debug: accelerator table loaded
[00000239] main playlist debug: beginning processing of request, 2050 us
[00000239] main playlist debug: processing request
[00000239] main playlist debug: next item found in 25 us
[00000239] main playlist debug: creating new input thread
[00000239] main playlist debug: request processed after 2155 us
[00000246] main input debug: waiting for thread completion
[00000246] main input debug: thread 81926 (input) created at priority 0 
(src/input/input.c:230)
[00000246] main input warning: sout-keep true
[00000247] main stream output debug: stream=`standard'
[00000248] main private debug: looking for sout stream module
[00000248] main private debug: probing 1 candidate
[00000248] main private debug: set sout option: sout-standard-access to udp
[00000248] main private debug: set sout option: sout-standard-mux to ts
[00000248] main private debug: set sout option: sout-standard-url to 
239.255.12.42:1234
[00000248] stream_out_standard private debug: creating 
`udp/ts://239.255.12.42:1234'
[00000248] stream_out_standard private debug: extention is 42:1234
[00000248] stream_out_standard private debug: extention -> mux=(null)
[00000248] stream_out_standard private debug: using 
`udp/ts://239.255.12.42:1234'
[00000250] main private debug: looking for sout access module
[00000250] main private debug: probing 1 candidate
[00000252] main private debug: looking for network module
[00000252] main private debug: probing 2 candidates
[00000252] ipv4 private debug: socket buffer size is 0x36000 instead of 
0x80000
[00000101] main module debug: using network module "ipv4"
[00000101] main module debug: unlocking module "ipv4"
[00000252] main private debug: thread 98311 (sout write thread) created at 
priority 0 (udp.c:277)
[00000250] access_output_udp private debug: udp access output 
opened(239.255.12.42:1234)
[00000171] main module debug: using sout access module "access_output_udp"
[00000248] stream_out_standard private debug: access opened
[00000254] main private debug: looking for sout mux module
[00000254] main private debug: probing 1 candidate
[00000254] mux_ts private debug: Open
[00000254] mux_ts private debug: shaping=200000 pcr=30000 dts_delay=200000
[00000254] mux_ts private debug: invalid csa ck (it must be 16 chars long)
[00000012] main module debug: using sout mux module "mux_ts"
[00000247] main stream output debug: muxer support adding stream at any time
[00000248] stream_out_standard private debug: mux opened
[00000025] main module debug: using sout stream module "stream_out_standard"
[00000246] main input debug: `http://localhost:3000/PS/16331' gives access 
`http' demux `' path `localhost:3000/PS/16331'
[00000246] main input debug: demux2_New: access='http' demux='' 
path='localhost:3000/PS/16331'
[00000255] main demuxer debug: looking for access_demux module
[00000255] main demuxer debug: probing 0 candidates
[00000255] main demuxer warning: no access_demux module matched "http"
[00000246] main input debug: access2_New: access='http' 
path='localhost:3000/PS/16331'
[00000256] main access debug: looking for access2 module
[00000256] main access debug: probing 7 candidates
[00000256] access_http access debug: http: server='localhost' port=3000 
file='/PS/16331
[00000256] main access debug: net: connecting to 'localhost:3000'
[00000256] main access debug: looking for network module
[00000256] main access debug: probing 2 candidates
[00000256] ipv4 access debug: connection in progress
[00000101] main module debug: using network module "ipv4"
[00000101] main module debug: unlocking module "ipv4"
[00000256] access_http access debug: protocol 'HTTP' answer code 200
[00000256] access_http access debug: Content-Type: video/mpeg
[00000146] main module debug: using access2 module "access_http"
[00000258] main private debug: pre buffering
[00000258] main private debug: received first data for our buffer
[00000258] main private debug: prebuffering done 67583 bytes in 0s - 105 
kbytes/s
[00000246] main input debug: demux2_New: access='http' demux='' 
path='localhost:3000/PS/16331'
[00000259] main demuxer debug: looking for demux2 module
[00000259] main demuxer debug: probing 33 candidates
[00000259] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000259] avi demuxer warning: avi module discarded (invalid header)
[00000259] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000259] flac demuxer warning: flac module discarded (no startcode)
[00000259] mpgv demuxer warning: ES module discarded (system startcode)
[00000259] main demuxer debug: looking for id3 module
[00000259] main demuxer debug: probing 2 candidates
[00000259] id3tag demuxer debug: checking for ID3 tag
[00000075] main module debug: using id3 module "id3tag"
[00000075] main module debug: unlocking module "id3tag"
[00000259] aac demuxer warning: AAC module discarded
[00000259] sap demuxer warning: SDP (UDP) module discarded
[00000259] mkv demuxer warning: matroska module discarded (invalid header 
0x000001e0)
[00000259] ogg demuxer warning: ogg module discarded (invalid header)
[00000259] real demuxer warning: Real module discarded
[00000259] ts demuxer warning: TS module discarded
[00000259] aiff demuxer warning: AIFF module discarded
[00000259] playlist demuxer warning: old import module discarded: invalid 
file
[00000259] playlist demuxer warning: pls import module discarded
[00000259] nsv demuxer warning: NSV module discarded
[00000259] mod demuxer warning: MOD module discarded 
(path=localhost:3000/PS/16331)
[00000259] au demuxer warning: AU module discarded
[00000259] pva demuxer warning: PVA module discarded
[00000082] main module debug: using demux2 module "ps"
[00000246] main input debug: starting in synch mode
[00000256] access_http access debug: GET META (null) (null) (null)
[00000246] main input debug: `http://localhost:3000/PS/16331' sucessfully 
opened[00000246] main input debug: Selecting program id=0
[00000287] main packetizer debug: looking for packetizer module
[00000287] main packetizer debug: probing 15 candidates
[00000212] main module debug: using packetizer module "packetizer_mpegvideo"
[00000246] main input debug: stream out mode -> no decoder thread
[00000287] packetizer_mpegvideo packetizer debug: Size 720x576 fps=25.000
[00000307] main packetizer debug: looking for packetizer module
[00000307] main packetizer debug: probing 15 candidates
[00000180] main module debug: using packetizer module "mpeg_audio"
[00000246] main input debug: stream out mode -> no decoder thread
[00000287] packetizer_mpegvideo packetizer debug: need a starting pts/dts
[00000247] main stream output debug: adding a new input
[00000254] main private debug: adding a new input
[00000254] mux_ts private debug: adding input codec=mpgv pid=68
[00000254] mux_ts private debug: new PCR PID is 68
[00000247] main stream output warning: trying to send non-dated packet to 
stream output!
[00000307] mpeg_audio packetizer: MPGA channels:2 samplerate:48000 
bitrate:256
[00000247] main stream output debug: adding a new input
[00000254] main private debug: adding a new input
[00000254] mux_ts private debug: adding input codec=mpga pid=69
[00000254] mux_ts private warning: packet with too strange dts 
(dts=1106797004935381,old=0,pcr=40000)
[00000254] mux_ts private warning: packet with too strange dts 
(dts=1106797005195414,old=80000,pcr=80000)
[00000254] mux_ts private debug: adjusting rate at -276033/200000 (7/743)
[00000252] access_output_udp private debug: mmh, packets in the past 
(-276033) -> drop
[00000252] access_output_udp private debug: dropped 1 packets




>From: "Paul Rae" <PRae at aminocom.com>
>Reply-To: vlc at videolan.org
>To: <vlc at videolan.org>
>Subject: [vlc] Re: HELP: vlc multicasting problems...
>Date: Wed, 26 Jan 2005 07:08:59 -0500
>
>Can you reliably multicast out any files, or is it just with live streams 
>you have issues?
>
>
>-----Original Message-----
>From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org]On Behalf
>Of Chris Bshaw
>Sent: 26 January 2005 11:25
>To: vlc at videolan.org
>Subject: [vlc] HELP: vlc multicasting problems...
>
>
>Hi....
>
>I am having trouble getting vlc to multicast reliably. My current setup is 
>a
>3GHz P4 running Fedora 3. I am using vdr+streamdev to take DVB channels 
>from
>a Hauppage Nexus-S card and then I am using a command line similar to the
>following to take a http stream from vdr+streamdev and then re-stream it as
>a multicast:
>
>vlc http://localhost:3000/PS/14710 --sout
>'#standard{access=udp,mux=ts,url=239.255.12.42:1234}' --ttl 12
>
>The reason I am using vdr+streamdev instead of letting vlc access the DVB
>card directly is because I found it to be much more stable this 
>way.....with
>vlc I kept getting TS discontinuity errors and eventually CRC errors which
>would just crash or hang vlc.
>
>Most of the time, when vlc starts, about 4-5 multicast packets get sent and
>then nothing. Every once in a while (maybe once in every 20 attempts), a
>multicast stream will start and will work fine until I have to restart
>vlc.....
>
>I don't think it is a problem with Linux.....mp4live multicasts just fine
>everytime. And I am not sure the problem is related to the version of vlc
>either. I have tried vlc 0.7.2, 0.8.1 and cvs versions. I have also tried
>running vdr+streamdev and vlc on separate machines....same thing.
>
>I was wondering if perhaps anyone else has seen this, or perhaps might be
>able to suggest possible solutions to this problem.
>
>Thanx in advance.
>
>Chris Bradshaw.
>
>_________________________________________________________________
>Share large video & music files via e-mail - sign up for Hotmail Plus!
>http://www.imagine-msn.com/hotmail/en-ie
>
>--
>This is the vlc mailing-list, see http://www.videolan.org/vlc/
>To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>--
>This is the vlc mailing-list, see http://www.videolan.org/vlc/
>To unsubscribe, please read http://www.videolan.org/support/lists.html
>

_________________________________________________________________
Rain, shine, sleet or snow? Find out at MSN Weather! 
http://www.msn.ie/weather

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



More information about the vlc mailing list