[vlc] Iomega Buz streaming problem using v4l

Roman Schlegel rschlegel at gmx.ch
Sat Oct 9 23:41:53 CEST 2004


Hello everyone,

I am desperately trying to get my Iomega Buz working with VLC (Gentoo  
Linux on x86, Kernel 2.6.7-r14, VLC 0.7.2). What I would like to do is  
use VLC to grab a video stream from the Buz, transcode it and then send  
it over a network to another computer. This should not be too difficult  
as I succeeded in doing exactly this using the Hauppauge WinTV which is  
also installed in my computer.
But when I try using the Buz, all I get is the audio but the image is  
just uniform grey. After about 5 seconds ffmpeg complains: "ffmpeg:  
more than 5 seconds of late video -> dropping frame (computer too slow  
?)". The audio also drops after a few seconds, but CPU utilisation is  
down.

I use the following command:

vlc -vv  
v4l:/dev/video1:norm=pal:mjpeg:channel=0:size=352x288:adev=/dev/dsp: 
audio=0 --sout  
'#transcode{vcodec=mp4v,acodec=mpga,vb=1500,ab=256,width=352,height=288, 
channels=2}:std{access=http,mux=ts,url=192.168.0.7:1234}'

A transcript of what VLC spews out is at the end of this mail.

Anyway, I did search the forums and there was at least one person who  
had a similar problem, but that was almost a year ago and nobody had  
replied to it.

Sooooo, if anybody knows what the problem could be I would greatly  
appreciate any help.

Regards,

Roman


BTW: If I just want to display the video instead of streaming it, VLC  
also only displays a grey image.


*** transcript ***
VLC media player 0.7.2 Bond
[00000000] main root debug: VLC media player - version 0.7.2 Bond - (c)  
1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure  
--prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man  
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc  
--localstatedir=/var/lib --enable-nls --disable-slp --disable-xosd  
--enable-ncurses --disable-alsa --enable-esd --enable-oss --disable-ggi  
--enable-sdl --enable-mad --disable-faad --enable-v4l --enable-dvd  
--enable-vcd --enable-dvdread --enable-dvdplay --enable-dvdnav  
--disable-dvb --disable-pvr --disable-joystick --disable-lirc  
--enable-arts --enable-ogg --enable-vorbis --disable-theora  
--disable-speex --disable-mkv --enable-freetype --disable-fribidi  
--enable-svgalib --disable-fb --disable-aa --disable-caca  
--enable-xvideo --enable-x11 --disable-glide --disable-dts  
--disable-mga --enable-flac --with-gnu-ld --enable-a52 --enable-dvbpsi  
--enable-libmpeg2 --disable-qt --disable-kde --disable-gnome  
--disable-gtk --disable-libcdio --disable-libcddb --disable-vcdx  
--enable-ffmpeg --with-ffmpeg-mp3lame --enable-livedotcom  
--with-livedotcom-tree=/usr/lib/live --disable-skins --disable-skins2  
--enable-release --enable-mozilla  
MOZILLA_CONFIG=/usr/lib/mozilla/mozilla-config XPIDL=/usr/bin/xpidl
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file  
/home/rschlegel/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[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 164 modules
[00000001] main vlc debug: opening config file  
/home/rschlegel/.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"
[00000204] main playlist debug: creating group Normal with id 1 at  
position 0
[00000204] main playlist debug: waiting for thread completion
[00000204] main playlist debug: thread 16386 (playlist) created at  
priority 0 (src/playlist/playlist.c:109)
[00000205] main interface debug: looking for interface module
[00000205] main interface debug: probing 1 candidate
[00000105] main module debug: using interface module "hotkeys"
[00000205] main interface debug: interface initialized
[00000205] main interface debug: thread 32771 (interface) created at  
priority 0 (src/interface/interface.c:152)
[00000204] main playlist debug: adding playlist item  
`v4l:/dev/video1:norm=pal:mjpeg:channel=0:size=352x288:adev=/dev/dsp: 
audio=0' (  
v4l:/dev/video1:norm=pal:mjpeg:channel=0:size=352x288:adev=/dev/dsp: 
audio=0 )
[00000206] main interface debug: looking for interface module
[00000206] main interface debug: probing 3 candidates
Remote control interface initialized, `h' for help
[00000103] main module debug: using interface module "rc"
[00000206] main interface debug: interface initialized
[00000204] main playlist debug: creating new input thread
[00000207] main input: playlist item  
`v4l:/dev/video1:norm=pal:mjpeg:channel=0:size=352x288:adev=/dev/dsp: 
audio=0'
[00000207] main input debug: waiting for thread completion
[00000207] main input debug: thread 49156 (input) created at priority 0  
(src/input/input.c:326)
[00000207] main input debug: cmd=state old=10 new=1
[00000207] main input debug: playing at normal rate
[00000206] main interface debug: thread 65541 (manager) created at  
priority 0 (src/interface/interface.c:136)
[00000207] main input debug: access `v4l', demux `', name  
`/dev/video1:norm=pal:mjpeg:channel=0:size=352x288:adev=/dev/dsp: 
audio=0'
[00000208] main stream output debug: stream=`transcode'
[00000209] main private debug: looking for sout stream module
[00000209] main private debug: probing 1 candidate
[00000208] main stream output debug: stream=`std'
[00000211] main private debug: looking for sout stream module
[00000211] main private debug: probing 1 candidate
[00000211] main private debug: set sout option: sout-standard-access to  
http
[00000211] main private debug: set sout option: sout-standard-mux to ts
[00000211] main private debug: set sout option: sout-standard-url to  
192.168.0.7:1234
[00000211] stream_out_standard private debug: creating  
`http/ts://192.168.0.7:1234'
[00000211] stream_out_standard private debug: extention is 7:1234
[00000211] stream_out_standard private debug: extention -> mux=(null)
[00000211] stream_out_standard private debug: using  
`http/ts://192.168.0.7:1234'
[00000212] main private debug: looking for sout access module
[00000212] main private debug: probing 1 candidate
[00000212] main private: creating httpd
[00000214] main private debug: thread 81926 (httpd host thread) created  
at priority 0 (src/misc/httpd.c:982)
[00000040] main module debug: using sout access module  
"access_output_http"
[00000211] stream_out_standard private debug: access opened
[00000215] main private debug: looking for sout mux module
[00000215] main private debug: probing 2 candidates
[00000215] mux_ts_dvbpsi private debug: Open
[00000215] mux_ts_dvbpsi private debug: shaping=200000 pcr=30000  
dts_delay=200000
[00000215] mux_ts_dvbpsi private debug: invalid csa ck (it must be 16  
chars long)
[00000171] main module debug: using sout mux module "mux_ts_dvbpsi"
[00000208] main stream output debug: muxer support adding stream at any  
time
[00000211] stream_out_standard private debug: mux opened
[00000180] main module debug: using sout stream module  
"stream_out_standard"
[00000209] main private debug: set sout option: sout-transcode-vcodec  
to mp4v
[00000209] main private debug: set sout option: sout-transcode-acodec  
to mpga
[00000209] main private debug: set sout option: sout-transcode-vb to  
1500
[00000209] main private debug: set sout option: sout-transcode-ab to 256
[00000209] main private debug: set sout option: sout-transcode-width to  
352
[00000209] main private debug: set sout option: sout-transcode-height  
to 288
[00000209] main private debug: set sout option: sout-transcode-channels  
to 2
[00000209] stream_out_transcode private debug: codec audio=mpga 0Hz 2  
channels 256Kb/s
[00000209] stream_out_transcode private debug: codec video=mp4v 352x288  
scaling: 1.000000 1500kb/s
[00000018] main module debug: using sout stream module  
"stream_out_transcode"
[00000207] main input debug: looking for access module
[00000207] main input debug: probing 1 candidate
[00000207] v4l input debug: WxH 352x288
[00000207] v4l input debug: main device=`/dev/video1'
[00000207] v4l input debug: V4L device Buz[0] 2 channels 0 audios 32 <  
w < 720 24 < h < 576
[00000207] v4l input debug: invalid audio, falling back with no audio
[00000207] v4l input debug: setting channel Composite(0) 0 tuners  
flags=0x0 type=0x2 norm=0x0
[00000207] v4l input debug: openened adev=`/dev/dsp' stereo 44100Hz
[00000207] v4l input: v4l grabbing started
[00000035] main module debug: using access module "v4l"
[00000207] main input debug: looking for demux module
[00000207] main input debug: probing 7 candidates
[00000207] v4l input debug: added new video es mjpg 352x576
[00000207] v4l input debug: new audio es 2 channels 44100Hz
[00000036] main module debug: using demux module "v4l"
[00000207] main input debug: selecting ES 0x1
[00000217] main packetizer debug: looking for packetizer module
[00000217] main packetizer debug: probing 25 candidates
[00000177] main module debug: using packetizer module "packetizer_copy"
[00000217] main packetizer debug: thread 98311 (decoder) created at  
priority 0 (src/input/input_dec.c:161)
[00000207] main input debug: selecting ES 0x2
[00000218] main packetizer debug: looking for packetizer module
[00000218] main packetizer debug: probing 25 candidates
[00000177] main module debug: using packetizer module "packetizer_copy"
[00000218] main packetizer debug: thread 114696 (decoder) created at  
priority 0 (src/input/input_dec.c:161)
[00000207] main input debug: starting in synch mode
[00000208] main stream output debug: adding a new input
[00000209] stream_out_transcode private debug: creating audio  
transcoding from fcc=`s16l' to fcc=`mpga'
[00000219] main encoder debug: looking for encoder module
[00000219] main encoder debug: probing 8 candidates
[00000219] ffmpeg encoder debug: libavcodec initialized (interface 4718  
)
[00000219] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2
[00000016] main module debug: using encoder module "ffmpeg"
[00000215] main private debug: adding a new input
[00000215] mux_ts_dvbpsi private debug: adding input codec=mpga pid=68
[00000215] mux_ts_dvbpsi private debug: new PCR PID is 68
[00000208] main stream output debug: adding a new input
[00000209] stream_out_transcode private debug: creating video  
transcoding from fcc=`MJPG' to fcc=`mp4v'
[00000220] main encoder debug: looking for encoder module
[00000220] main encoder debug: probing 8 candidates
[00000220] ffmpeg encoder debug: libavcodec already initialized
[00000220] ffmpeg encoder debug: found encoder MPEG-4 Video
[00000016] main module debug: using encoder module "ffmpeg"
[00000016] main module debug: unlocking module "ffmpeg"
[00000220] main encoder debug: looking for encoder module
[00000220] main encoder debug: probing 8 candidates
[00000220] ffmpeg encoder debug: libavcodec already initialized
[00000220] ffmpeg encoder debug: found encoder MPEG-4 Video
[00000016] main module debug: using encoder module "ffmpeg"
[00000215] main private debug: adding a new input
[00000215] mux_ts_dvbpsi private debug: adding input codec=mp4v pid=69
[00000215] mux_ts_dvbpsi private debug: new PCR PID is 69
[00000215] mux_ts_dvbpsi private debug: adjusting rate at  
-192655/200019 (7/87)

-- 
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