[vlc] Help - can't seem to send stream - Second Request

Les LaZar llazar at zoltech.com
Sun Mar 21 09:06:10 CET 2004


A version of this message was originally sent to the list on March 11, but generated no response.  I really need some assistance...please?

Greetings,

I have installed VLC 0.7.0 (downloaded from videolan.org a couple of days ago) on two Via C3 systems running Fedora Core 1.  The two systems are connected together through a 100Mbs ethernet hub with no other systems connected.

On the system designated "server", there is a video camera connected through a v4l-compatible (bt878) card.  Audio input is through the mic input and/or the Line input (two different microphones).

The command:  "vlc v4l:/dev/video0:norm=ntsc:channel=1" works as expected...video is displayed on the local screen.

Next I wanted to send the video stream to the second (client) system.

I executed the command: "vlc -vvv v4l:/dev/video0:channel=1:norm=ntsc --sout udp://192.168.0.2" on the server system (based on the VLC HowTo)

The command: "vlc -vvv udp:" was then executed on the client system.

Unfortunately, the server vlc system does not seem to be able to send anything to the client vlc system.  The -vvv outputs of both systems are attached.

On the server side, I note that the /dev/video0 device is reported as busy.  I know of nothing else that would be using the video resources at that time.  The server messages also indicate some problems with the packetizer.  I have no idea what would cause that or how to cure it.

The -vvv output on the server side begins like this:

VideoLAN Client 0.7.0 Bond
[00000000] main root debug: VLC media player - version 0.7.0 Bond - (c) 1996-2003 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-release --enable-dvdread --enable-dvdplay --enable-dvbpsi --enable-v4l --enable-vcd --enable-mad --enable-pp --enable-ffmpeg --with-ffmpeg=/usr --enable-faad --enable-xvid --enable-dv --enable-flac --enable-theora --enable-x11 --enable-xvideo --disable-qte --disable-directx --enable-fb --enable-aa --without-wingdi --enable-oss --enable-esd --enable-arts --enable-fribidi --disable-waveout --enable-gtk --disable-familiar --enable-gnome --enable-qt --enable-kde --disable-opie --disable-macosx --disable-qnx --disable-intfwin --enable-ncurses --enable-xosd --enable-lirc --enable-pth --disable-st --enable-mozilla --disable-testsuite --enable-plugins --enable-fribidi
.
.
...the first set of "error" messages and adjacent lines reads thusly:
.
.
[00000197] v4l input debug: main device=`/dev/video0'
[00000197] v4l input error: cannot open device (Device or resource busy)
[00000197] v4l input error: cannot open audio device (Device or resource busy)
[00000197] v4l input error: cannot open device (Is a directory)
[00000197] v4l input debug: openened adev=`/dev/dsp' stereo 44100Hz
[00000197] v4l input: v4l grabbing started
[00000034] main module debug: using access module "v4l"
.
.
...the final error message and context:
.
.
[00000203] mux_ts_dvbpsi private debug: adding input codec=s16l pid=68
[00000203] main private error: cannot add this stream
[00000205] main packetizer error: cannot create packetizer output
[00000199] wxwindows interface debug: accelerator table loaded
.
.
the last line above is where the -vvv output stops...until vlc is quit, then the normal shutdown message appear.

My interpretation of the client output seems say that it is unable to find a valid input stream.  Makes sense if the server is not sending anything.

The client -vvv output begins:

VideoLAN Client 0.7.0 Bond
[00000000] main root debug: VLC media player - version 0.7.0 Bond - (c) 1996-2003 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-release --enable-dvdread --enable-dvdplay --enable-dvbpsi --enable-v4l --enable-vcd --enable-mad --enable-pp --enable-ffmpeg --with-ffmpeg=/usr --enable-faad --enable-xvid --enable-dv --enable-flac --enable-theora --enable-x11 --enable-xvideo --disable-qte --disable-directx --enable-fb --enable-aa --without-wingdi --enable-oss --enable-esd --enable-arts --enable-fribidi --disable-waveout --enable-gtk --disable-familiar --enable-gnome --enable-qt --enable-kde --disable-opie --disable-macosx --disable-qnx --disable-intfwin --enable-ncurses --enable-xosd --enable-lirc --enable-pth --disable-st --enable-mozilla --disable-testsuite --enable-plugins --enable-fribidi
.
.
...the warning messages and context:
.
.
[00000198] wxwindows interface debug: accelerator table loaded
[00000197] access_udp input debug: no supported RTP header detected
[00000197] main input debug: looking for demux module
[00000197] main input debug: probing 20 candidates
[00000197] mp4 input warning: MP4 plugin discarded (not a valid file)
[00000197] avi input warning: avi module discarded (invalid header)
[00000197] v4l input warning: v4l plugin discarded (not a valid stream)
[00000197] v4l input warning: v4l plugin discarded (not a valid stream)
[00000197] asf input warning: ASF plugin discarded (not a valid file)
[00000197] ts_dvbpsi input warning: TS module discarded (no sync)
[00000197] ts input warning: TS module discarded (no sync)
[00000197] flac input warning: flac module discarded (no startcode)
[00000197] au input warning: AU module discarded (not a valid file)
[00000197] wav input warning: WAV module discarded (not a valid file)
[00000197] main input debug: looking for id3 module
[00000197] main input debug: probing 2 candidates
[00000197] id3tag input debug: Checking for ID3 tag
[00000117] main module debug: using id3 module "id3tag"
[00000117] main module debug: unlocking module "id3tag"
[00000197] a52sys input warning: A52 module discarded
[00000197] main input debug: looking for id3 module
[00000197] main input debug: probing 2 candidates
[00000197] id3tag input debug: Checking for ID3 tag
[00000117] main module debug: using id3 module "id3tag"
[00000117] main module debug: unlocking module "id3tag"
[00000197] mpga input warning: mpga module discarded
[00000197] mpgv input warning: ES module discarded (no startcode)
[00000197] mkv input warning: matroska module discarded (invalid header 0x00000000)
[00000197] aac input warning: AAC module discarded
[00000197] ps input warning: this does not look like an MPEG PS stream, but continuing anyway
[00000197] main input debug: looking for mpeg-system module
[00000197] main input debug: probing 1 candidate
[00000112] main module debug: using mpeg-system module "mpeg_system"
[00000126] main module debug: using demux module "ps"
[00000001] main vlc debug: removing all interfaces

Since this my first attempt to use vlc to stream data between two systems, any and all assistance would be appreciated.

Thanks,

Les LaZar

The complete -vvv log outputs of the server and client are rather long, but available on request.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20040321/dc078549/attachment.html>


More information about the vlc mailing list