[streaming] Re: Problem opening ports for rtp-streaming
Nilsson, Per Anders
PerAnders.Nilsson.x at sonyericsson.com
Thu Mar 31 08:17:39 CEST 2005
Adding a route solved the problem, thank you.
Regards
PA Nilsson
> -----Original Message-----
> From: streaming-bounce at videolan.org
> [mailto:streaming-bounce at videolan.org] On Behalf Of Johann Ransay
> Sent: onsdag den 30 mars 2005 14:38
> To: streaming at videolan.org
> Subject: [streaming] Re: Problem opening ports for rtp-streaming
>
>
> Check that you have a valid route for multicast packets. You
> might need to add
> the following:
>
> route add -net 224.0.0.0 netmask 224.0.0.0 eth0
>
> Johann
>
> Le Mercredi 30 Mars 2005 12:57, vous avez écrit :
> > Hi,
> >
> > Running it again with the -vv option produces the following output.
> >
> > Regards
> > PA Nilsson
> >
> > VLC media player 0.8.2-svn 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/lib/vlc'
> > [00000001] main vlc debug: recursively browsing `plugins'
> > [00000001] main vlc debug: module bank initialized, found
> 205 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.2-svn Janus
> > - (c) 1996-2005 VideoLAN [00000000] main root debug: libvlc
> was configured
> > with ./configure --mandir=/share/man --infodir=/share/info
> --enable-release
> > --prefix=/usr --disable-gnome --disable-gtk
> --disable-familiar --disable-fb
> > --enable-ggi --enable-sdl --enable-esd --disable-qt --enable-mad
> > --enable-arts --enable-alsa --enable-lirc --enable-a52 --enable-aa
> > --enable-dvbpsi --enable-xosd --enable-mozilla
> --disable-kde --enable-mp4
> > --enable-dvb --enable-dv --disable-satellite --enable-ogg
> --enable-vorbis
> > --enable-wxwindows --with-wx-config=wxgtk-2.4-config --disable-slp
> > --enable-flac --disable-skins --disable-basic-skins --enable-skins2
> > --enable-freetype --enable-mkv --enable-v4l --enable-pvr
> --disable-speex
> > --enable-caca --enable-livedotcom --enable-libmpeg2 --enable-dts
> > --enable-fribidi --enable-cdio --enable-mod --enable-theora
> > --enable-modplug --enable-dvdnav --enable-gnutls --enable-ffmpeg
> > --enable-ncurses --enable-faad
> --with-faad-tree=extras/faad2 --enable-x264
> > --with-x264-tree=extras/x264 --enable-glide
> --enable-svgalib --enable-dvd
> > --without-dvdcss [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/lib/vlc'
> > [00000001] main vlc debug: recursively browsing `plugins'
> > [00000001] main vlc debug: module bank initialized, found
> 205 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: 3 candidates
> > [00000010] main module debug: using memcpy module "memcpymmxext"
> > [00000255] main playlist debug: waiting for thread completion
> > [00000255] main playlist debug: thread 1086057392
> (playlist) created at
> > priority 0 (src/playlist/playlist.c:149) [00000256] main
> private debug:
> > waiting for thread completion
> > [00000256] main private debug: thread 1094446000
> (preparser) created at
> > priority 0 (src/playlist/playlist.c:171) [00000257] main
> interface debug:
> > looking for interface module: 1 candidate [00000062] main
> module debug:
> > using interface module "hotkeys"
> > [00000257] main interface debug: interface initialized
> > [00000257] main interface debug: thread 1102855088
> (interface) created at
> > priority 0 (src/interface/interface.c:211) [00000255] main
> playlist: adding
> > playlist item `myfile.mp4' ( myfile.mp4 ) [00000259] main
> interface debug:
> > looking for interface module: 5 candidates [00000259]
> skins2 interface
> > error: Cannot open display
> > [00000259] skins2 interface error: Cannot initialize OSFactory
> > Remote control interface initialized, `h' for help
> > [00000059] main module debug: using interface module "rc"
> > [00000259] main interface debug: interface initialized
> > [00000259] main interface debug: thread 1113627568
> (manager) created at
> > priority 0 (src/interface/interface.c:196) [00000255] main
> playlist debug:
> > creating new input thread
> > [00000263] main input debug: waiting for thread completion
> > [00000264] main stream output debug: stream=`rtp'
> > [00000265] main private debug: looking for sout stream
> module: 1 candidate
> > [00000265] main private debug: set sout option: sout-rtp-dst to
> > 239.99.99.99 [00000265] main private debug: set sout
> option: sout-rtp-port
> > to 1234 [00000265] main private debug: set sout option:
> sout-rtp-ttl to 3
> > [00000191] main module debug: using sout stream module
> "stream_out_rtp"
> > [00000263] main input debug: `myfile.mp4' gives access `'
> demux `' path
> > `myfile.mp4' [00000263] main input debug: creating demux: access=''
> > demux='' path='myfile.mp4' [00000267] main demuxer debug:
> looking for
> > access_demux module: 2 candidates [00000263] main input
> debug: creating
> > access '' path='myfile.mp4'
> > [00000270] main access debug: looking for access2 module: 4
> candidates
> > [00000270] vcd access debug: trying .cue file: myfile.cue
> > [00000270] access_file access debug: opening file `myfile.mp4'
> > [00000151] main module debug: using access2 module "access_file"
> > [00000275] main private debug: pre buffering
> > [00000275] main private debug: received first data for our buffer
> > [00000263] main input debug: thread 1122016176 (input)
> created at priority
> > 0 (src/input/input.c:227) [00000275] main private debug:
> prebuffering done
> > 1408981 bytes in 0s - 295333 kbytes/s [00000263] main input
> debug: creating
> > demux: access='' demux='' path='myfile.mp4' [00000276] main
> demuxer debug:
> > looking for demux2 module: 37 candidates [00000276] main
> demuxer debug:
> > looking for id3 module: 2 candidates [00000276] id3tag
> demuxer debug:
> > checking for ID3 tag
> > [00000111] main module debug: using id3 module "id3tag"
> > [00000111] main module debug: unlocking module "id3tag"
> > [00000123] main module debug: using demux2 module "ts"
> > [00000276] ts demuxer debug: DEMUX_SET_GROUP 0 (nil)
> > [00000263] main input debug: starting in synch mode
> > [00000263] main input debug: `myfile.mp4' sucessfully opened
> > [00000276] ts demuxer debug: PATCallBack called
> > [00000276] ts demuxer debug: new PAT ts_id=15227 version=29
> current_next=1
> > [00000276] ts demuxer debug: * number=1 pid=66
> > [00000276] ts demuxer debug: PMTCallBack called
> > [00000276] ts demuxer debug: new PMT program number=1
> version=17 pid_pcr=69
> > [00000276] ts demuxer debug: * descriptor : IOD (0x1d)
> >
> > ************ IOD ************
> > * iod_label:1
> > * ===========
> > * tag:0x2
> > * length:146
> > * od_id:1
> > * url flag:0
> > * includeInlineProfileLevel flag:0
> > * ODProfileLevelIndication:255
> > * sceneProfileLevelIndication:255
> > * audioProfileLevelIndication:254
> > * visualProfileLevelIndication:254
> > * graphicsProfileLevelIndication:255
> > * - ES_Descriptor length:38
> > * * streamDependenceFlag:0
> > * * OCRStreamFlag:0
> > * * streamPriority:31
> > * - DecoderConfigDesc length:19
> > * * objectTypeIndication:0x40
> > * * streamType:0x5
> > * * upStream:0
> > * * bufferSizeDB:1048576
> > * * maxBitrate:2147483647
> > * * avgBitrate:0
> > * - SLConfigDescr length:8
> > * * i_predefined:0x1
> > * - ES_Descriptor length:93
> > * * streamDependenceFlag:0
> > * * OCRStreamFlag:0
> > * * streamPriority:31
> > * - DecoderConfigDesc length:74
> > * * objectTypeIndication:0x20
> > * * streamType:0x4
> > * * upStream:0
> > * * bufferSizeDB:1048576
> > * * maxBitrate:2147483647
> > * * avgBitrate:0
> > * - SLConfigDescr length:8
> > * * i_predefined:0x1
> > *****************************
> > [00000276] ts demuxer warning: found SL_descriptor es_id=68
> > [00000276] ts demuxer debug: * es pid=68 type=17 fcc=mp4a
> > [00000263] main input debug: selecting program id=1 [00000303] main
> > packetizer debug: looking for packetizer module: 16 candidates
> > [00000303] packetizer_mpeg4audio packetizer: running MPEG4 audio
> > packetizer [00000303] packetizer_mpeg4audio packetizer debug: AAC
> > 48000Hz 1024 samples/frame [00000243] main module debug: using
> > packetizer module "packetizer_mpeg4audio" [00000263] main
> input debug:
> > stream out mode -> no decoder thread [00000276] ts demuxer warning:
> > found SL_descriptor es_id=69
> > [00000276] ts demuxer debug: * es pid=69 type=16 fcc=mp4v
> > [00000322] main packetizer debug: looking for packetizer module: 16
> > candidates [00000322] packetizer_mpeg4video packetizer
> debug: opening
> > with vol size:57 [00000242] main module debug: using
> packetizer module
> > "packetizer_mpeg4video" [00000263] main input debug: stream
> out mode
> > -> no decoder thread [00000264] main stream output debug:
> adding a new
> > input [00000323] main private debug: looking for sout
> access module: 1
> > candidate [00000323] main private debug: set sout option:
> sout-udp-raw
> > to (null) [00000323] main private debug: set sout option:
> sout-udp-ttl
> > to 3 [00000325] main private debug: looking for network module: 2
> > candidates [00000325] ipv4 private debug: socket buffer size is
> > 0x36000 instead of 0x80000 [00000325] ipv4 private warning: cannot
> > connect socket (Network is
> > unreachable) [00000325] ipv6 private warning: Socket buffer size is
> > 0x36000 instead of 0x80000 [00000325] ipv6 private warning: IPv6
> > error: unknown host 239.99.99.99 [00000325] ipv6 private warning:
> > cannot build remote address [00000323] access_output_udp private
> > error: failed to open a connection
> > (udp) [00000323] main private warning: no sout access
> module matching
> > "udp" could be loaded [00000265] stream_out_rtp private
> error: cannot
> > create the access out for udp{raw,ttl=3}://239.99.99.99:1234
> > [00000303] main packetizer error: cannot create packetizer output
> > [00000264] main stream output debug: adding a new input [00000328]
> > main private debug: looking for sout access module: 1 candidate
> > [00000328] main private debug: set sout option:
> sout-udp-raw to (null)
> > [00000328] main private debug: set sout option: sout-udp-ttl to 3
> > [00000329] main private debug: looking for network module: 2
> > candidates [00000329] ipv4 private debug: socket buffer size is
> > 0x36000 instead of 0x80000 [00000329] ipv4 private warning: cannot
> > connect socket (Network is
> > unreachable) [00000329] ipv6 private warning: Socket buffer
> size is 0x36000
> > instead of 0x80000 [00000329] ipv6 private warning: IPv6
> error: unknown
> > host 239.99.99.99 [00000329] ipv6 private warning: cannot
> build remote
> > address
> > [00000328] access_output_udp private error: failed to open
> a connection
> > (udp) [00000328] main private warning: no sout access
> module matching "udp"
> > could be loaded [00000265] stream_out_rtp private error:
> cannot create the
> > access out for udp{raw,ttl=3}://239.99.99.99:1236 [00000322] main
> > packetizer error: cannot create packetizer output
> > signal 2 received, terminating vlc - do it again in case it
> gets stuck
> > [00000001] main vlc debug: removing all interfaces
> > [00000259] main interface debug: thread 1113627568 joined
> > (src/interface/interface.c:238) [00000059] main module
> debug: unlocking
> > module "rc"
> > [00000257] main interface debug: thread 1102855088 joined
> > (src/interface/interface.c:238) [00000062] main module
> debug: unlocking
> > module "hotkeys"
> > [00000001] main vlc debug: removing all playlists
> > [00000256] main private debug: thread 1094446000 joined
> > (src/playlist/playlist.c:203) [00000263] main input debug:
> control type=0
> > [00000263] main input debug: control: stopping input
> > [00000263] main input debug: closing input
> > [00000276] ts demuxer debug: pid list:
> > [00000276] ts demuxer debug: - pid[0] seen
> > [00000276] ts demuxer debug: - pid[66] seen
> > [00000243] main module debug: unlocking module
> "packetizer_mpeg4audio"
> > [00000303] main packetizer debug: killing decoder fourcc
> `mp4a', 0 PES in
> > FIFO [00000276] ts demuxer debug: - pid[68] seen
> > [00000242] main module debug: unlocking module
> "packetizer_mpeg4video"
> > [00000322] main packetizer debug: killing decoder fourcc
> `mp4v', 0 PES in
> > FIFO [00000263] main input warning: Program doesn't contain
> anymore ES,
> > TODO cleaning ? [00000276] ts demuxer debug: - pid[69] seen
> > [00000123] main module debug: unlocking module "ts"
> > [00000151] main module debug: unlocking module "access_file"
> > [00000263] main input warning: destroying sout
> > [00000265] main private debug: destroying chain... (name=rtp)
> > [00000191] main module debug: unlocking module "stream_out_rtp"
> > [00000265] main private debug: destroying chain done
> > [00000263] main input debug: thread 1122016176 joined
> > (src/input/input.c:383) [00000255] main playlist debug:
> thread 1086057392
> > joined (src/playlist/playlist.c:204) [00000255] main
> playlist: deleting
> > playlist item `myfile.mp4'
> > [00000255] main playlist warning: refcount is 1, delaying
> before deletion
> > [00000255] main playlist error: refcount is 1, I have a bad
> feeling about
> > this [00000255] main playlist error: we waited too long, cancelling
> > destruction [00000001] main vlc debug: removing all video outputs
> > [00000001] main vlc debug: removing all audio outputs
> > [00000001] main vlc debug: removing announce handler
> > [00000010] main module debug: unlocking module "memcpymmxext"
> > [00000001] main vlc debug: saving plugins cache file
> > /root/.vlc/cache/plugins-04041e.dat
> >
> > > -----Original Message-----
> > > From: streaming-bounce at videolan.org
> > > [mailto:streaming-bounce at videolan.org] On Behalf Of
> Benjamin Pracht
> > > Sent: söndag den 27 mars 2005 19:39
> > > To: streaming at videolan.org
> > > Subject: [streaming] Re: Problem opening ports for rtp-streaming
> > >
> > > On Tue, Mar 22, 2005, Nilsson, Per Anders wrote :
> > > > I have a problem opening ports to stream from my linux
> box (debian
> > > > sarge with VLC build from 20050321).
> > > >
> > > > The following is used to start VLC:
> > > >
> > > > vlc myfile.mp4 --sout "#rtp{dst=239.99.99.99,port=1234,ttl=3}
> > > >
> > > > Running the above command gives the following error messages:
> > > >
> > > > [00000323] access_output_udp private error: failed to open a
> > > > connection
> > > > (udp)
> > > > [00000265] stream_out_rtp private error: cannot create the
> > >
> > > access out
> > >
> > > > for udp{raw,ttl=3}://239.99.99.99:1234
> > > > [00000303] main packetizer error: cannot create
> packetizer output
> > > > [00000328] access_output_udp private error: failed to open
> > >
> > > a connection
> > >
> > > > (udp)
> > > > [00000265] stream_out_rtp private error: cannot create the
> > >
> > > access out
> > >
> > > > for udp{raw,ttl=3}://239.99.99.99:1236
> > > > [00000322] main packetizer error: cannot create
> packetizer output
> > >
> > > Can you retry, adding the -vv option and give us the result ?
> > >
> > > --
> > > Benjamin Pracht
> > >
> > > --
> > > This is the streaming mailing-list, see
> > > http://www.videolan.org/streaming/
> > > To unsubscribe, please read
> > > http://www.videolan.org/support/lists.html
>
> --
> This is the streaming mailing-list, see
> http://www.videolan.org/streaming/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list