Page 1 of 1

Help with VLC and IPv6 addressing

Posted: 12 Mar 2007 19:20
by jimk
I would to test another piece of equipment using streaming video between two Linux machine running Red Hat LinuxEnterprise Edition 4.

I start VLC running from the command line as followes:
vlc -vvv dvdsimple:/dev/dvd --ipv6 --sout udp:[fe80::230:48ff:fe54:876e%eth0] --ttl 16

VLC opens and appears to be steaming video.How can I verfiy that VLC is really steaming the video and the problem is with the VLC client? I have included the VLC output from the command line start.

Are local link and site local IPv6 address supported by VLC?

[root@localhost ~]# vlc -vvv dvdsimple:/dev/dvd --ipv6 --sout udp:[fe80::230:48ff:fe54:876e%eth0] --ttl 16
VLC media player 0.8.6a Janus

[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 221 modules
[00000001] main private debug: opening config file /root/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000284] main playlist debug: waiting for thread completion
[00000284] main playlist debug: thread 3084172208 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000285] main private debug: waiting for thread completion
[00000285] main private debug: thread 3073682352 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000286] main interface debug: looking for interface module: 1 candidate
[00000286] main interface debug: using interface module "hotkeys"
[00000286] main interface debug: thread 3063192496 (interface) created at priority 0 (interface/interface.c:231)[00000288] main interface debug: looking for interface module: 1 candidate
[00000288] main interface debug: using interface module "screensaver"
[00000288] main interface debug: thread 3052702640 (interface) created at priority 0 (interface/interface.c:231)[00000284] main playlist debug: adding playlist item `dvdsimple:/dev/dvd' ( dvdsimple:/dev/dvd )
[00000290] main interface debug: looking for interface module: 4 candidates
[00000290] main interface debug: using interface module "wxwidgets"
[00000290] main interface debug: thread 35027888 (manager) created at priority 0 (interface/interface.c:216)
[00000290] wxwidgets interface debug: Using last windows config '(-1,0,0,1280,1024)(0,805,22,407,86)(6,0,0,-1,150)'
[00000290] wxwidgets interface debug: id=0 p=(805,22) s=(407,86)
[00000290] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150)
[00000284] main playlist debug: nothing requested, starting
[00000284] main playlist debug: creating new input thread
[00000293] main input debug: waiting for thread completion
[00000293] main input debug: creating statistics handler
[00000295] main stream output debug: using sout chain=`std{mux="",access="udp",dst="[fe80::230:48ff:fe54:876e%eth0]"}'
[00000295] main stream output debug: stream=`std'
[00000296] main private debug: looking for sout stream module: 1 candidate
[00000296] main private warning: missing value for option mux
[00000296] main private debug: set sout option: sout-standard-access to udp
[00000296] main private debug: set sout option: sout-standard-dst to [fe80::230:48ff:fe54:876e%eth0]
[00000296] stream_out_standard private debug: creating `udp/(null)://[fe80::230:48ff:fe54:876e%eth0]'
[00000296] stream_out_standard private debug: using `udp/ts://[fe80::230:48ff:fe54:876e%eth0]'
[00000298] main private debug: looking for sout access module: 1 candidate
[00000298] main private debug: net: connecting to [fe80::230:48ff:fe54:876e%eth0] port 1234
[00000300] main private debug: thread 56007600 (sout write thread) created at priority 0 (udp.c:268)
[00000298] access_output_udp private debug: udp access output opened([fe80::230:48ff:fe54:876e%eth0]:1234)
[00000298] main private debug: using sout access module "access_output_udp"
[00000296] stream_out_standard private debug: access opened
[00000301] main private debug: looking for sout mux module: 1 candidate
[00000293] main input debug: thread 45517744 (input) created at priority 0 (input/input.c:265)
[00000301] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000301] main private debug: using sout mux module "mux_ts"
[00000295] main stream output debug: muxer support adding stream at any time
[00000296] stream_out_standard private debug: mux opened
[00000296] main private debug: using sout stream module "stream_out_standard"
[00000293] main input debug: `dvdsimple:/dev/dvd' gives access `dvdsimple' demux `' path `/dev/dvd'
[00000293] main input debug: creating demux: access='dvdsimple' demux='' path='/dev/dvd'
[00000302] main demuxer debug: looking for access_demux module: 1 candidate
[00000302] dvdread demuxer debug: VMG opened
[00000302] dvdread demuxer debug: number of titles: 3
[00000302] dvdread demuxer debug: title 0 has 29 chapters
[00000302] dvdread demuxer debug: title 1 has 1 chapters
[00000302] dvdread demuxer debug: title 2 has 1 chapters
[00000302] dvdread demuxer debug: open VTS 1, for title 1
[00000302] dvdread demuxer debug: title 1 vts_title 1 pgc 1 pgn 1 start 3975 end 1966930 blocks: 1962956
[00000293] main input debug: selecting program id=0
[00000302] dvdread demuxer debug: audio position 0
[00000302] dvdread demuxer debug: spu 1 0x80000100
[00000302] dvdread demuxer debug: spu 2 0x80020300
[00000302] main demuxer debug: using access_demux module "dvdread"
[00000304] main packetizer debug: looking for packetizer module: 16 candidates
[00000304] main packetizer debug: using packetizer module "packetizer_mpegvideo"
[00000293] main input debug: stream out mode -> no decoder thread
[00000316] main packetizer debug: looking for packetizer module: 16 candidates
[00000316] main packetizer debug: using packetizer module "a52"
[00000293] main input debug: stream out mode -> no decoder thread
[00000293] main input debug: starting in sync mode
[00000293] main input debug: `dvdsimple:/dev/dvd' successfully opened
[00000304] packetizer_mpegvideo packetizer debug: size 720x480 fps=29.970
[00000295] main stream output debug: adding a new input
[00000301] main private debug: adding a new input
[00000301] mux_ts private debug: adding input codec=mpgv pid=68
[00000301] mux_ts private debug: new PCR PID is 68
[00000316] a52 packetizer: A/52 channels:2 samplerate:48000 bitrate:192000
[00000295] main stream output debug: adding a new input
[00000301] main private debug: adding a new input
[00000301] mux_ts private debug: adding input codec=a52 pid=69
[00000301] mux_ts private debug: - lang=eng
[00000293] main input debug: control type=0
[00000293] main input debug: control: stopping input
[00000293] main input debug: closing input
[00000304] main packetizer debug: removing module "packetizer_mpegvideo"
[00000304] main packetizer debug: killing decoder fourcc `mpgv', 0 PES in FIFO
[00000295] main stream output debug: removing an input
[00000301] mux_ts private debug: removing input pid=68
[00000301] mux_ts private debug: new PCR PID is 69
[00000316] main packetizer debug: removing module "a52"
[00000316] main packetizer debug: killing decoder fourcc `a52 ', 0 PES in FIFO
[00000295] main stream output debug: removing an input
[00000301] mux_ts private debug: removing input pid=69
[00000301] mux_ts private debug: new PCR PID is 8191
[00000301] main private warning: no more input streams for this mux
[00000293] main input debug: Program doesn't contain anymore ES
[00000302] main demuxer debug: removing module "dvdread"
[00000293] main input debug: destroying sout
[00000296] main private debug: destroying chain... (name=std)
[00000301] main private debug: removing module "mux_ts"
[00000300] main private debug: thread 56007600 joined (udp.c:316)
[00000298] access_output_udp private debug: udp access output closed
[00000298] main private debug: removing module "access_output_udp"
[00000296] main private debug: removing module "stream_out_standard"
[00000296] main private debug: destroying chain done
[00000293] main input debug: thread 45517744 joined (input/input.c:412)

Posted: 13 Mar 2007 17:17
by RĂ©mi Denis-Courmont
Yes, VLC supports interface-scoped link-local addresses, though it's not really a good practice. Site-local addresses are not scoped, so there are a non-issue.

Use tcpdump or wireshark, you'll see if it's sending anything.

Posted: 13 Mar 2007 23:25
by jimk
Thank you for the information. The tcpdump utility comfirmed that no packets are leaving the interface.

Thank You
Jim