[vlc] using v4l (WinTV) as input for vlc
Spiceland, Michael D. Mr. RTTC
Michael.Spiceland at rttc.army.mil
Thu Aug 14 22:36:58 CEST 2003
We are trying to use a v4l device, namely a WinTV card, as input to stream
on the network. I was trying this with the CVS of VLS, but for now I'm
giving up and going to try to get it to work with vlc.
I am able to stream the sample .vob file just fine.
I am able to use xawtv and others to use the v4l card just fine.
I am interested in streaming the composite video (channel 1) from the WinTV
card. I am using the command line below:
vlc -vvv
v4l:/dev/video0:norm=ntsc:frequency=0:channel=0:size=640x480:adev=/dev/dsp:a
uido=0 --sout
'#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,vt=8000000,keyint=80,dein
terlace}:std{access=udp,mux=ts,url=136.205.46.113}' --ttl 12
I have pasted the output at the bottom of this email. Is there a way to
figure out where it is messing up? Since it has to transcode the video to
mpg4, shouldn't there be allot of CPU usage? I'm not getting much at all.
Thanks,
Michael
my output from vlc:
[mike at OTBSAF-A mike]$ vlc -vvv
v4l:/dev/video0:norm=ntsc:channel=1:size=640x480:adev=/dev/dsp:auido=0
--sout
'#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,vt=8000000,keyint=80,dein
terlace}:std{access=udp,mux=ts,url=127.0.0.1}'
--ttl 12
VideoLAN Client 0.6.1 Trevelyan
[00000000] main root debug: VLC media player - version 0.6.1 Trevelyan - (c)
1996-2003 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure
--enable-v4l --disable-dvd
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /home/mike/.vlc/vlcrc
[00000001] main vlc warning: config file /home/mike/.vlc/vlcrc does not
exist
yet
[00000000] main root debug: checking builtin modules
[00000000] main root debug: checking plugin modules
[00000000] main root debug: recursively browsing `modules'
[00000000] main root debug: recursively browsing `/usr/local/lib/vlc'
[00000000] main root debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 131 modules
[00000001] main vlc debug: opening config file /home/mike/.vlc/vlcrc
[00000001] main vlc warning: config file /home/mike/.vlc/vlcrc does not
exist
yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000144] main playlist debug: waiting for thread completion
[00000144] main playlist debug: thread 8194 (playlist) created at priority 0
(src/playlist/playlist.c:80)
[00000144] main playlist debug: adding playlist item ?
v4l:/dev/video0:norm=ntsc:channel=1:size=640x480:adev=/dev/dsp:auido=0 ? (
v4l:/dev/video0:norm=ntsc:channel=1:size=640x480:adev=/dev/dsp:auido=0 )
[00000144] main playlist debug: creating new input thread
[00000145] main input: playlist item
`v4l:/dev/video0:norm=ntsc:channel=1:size=640x480:adev=/dev/dsp:auido=0'
[00000145] main input debug: waiting for thread completion
[00000145] main input debug: thread 16387 (input) created at priority 0
(src/input/input.c:177)
[00000145] main input debug: playing at normal rate
[00000146] main interface debug: looking for interface module
[00000146] main interface debug: probing 2 candidates
[00000146] main interface debug: looking for gui-helper module
[00000146] main interface debug: probing 1 candidate
[00000145] main input debug: access `v4l', demux `', name
`/dev/video0:norm=ntsc:channel=1:size=640x480:adev=/dev/dsp:auido=0'
[00000145] main input debug: looking for access module
[00000145] main input debug: probing 5 candidates
[00000145] v4l input debug: WxH 640x480
[00000145] v4l input warning: unknown option
[00000145] v4l input debug: video device=`/dev/video0'
[00000145] v4l input debug: audio device=`/dev/dsp'
[00000147] main private debug: waiting for thread completion
[00000145] v4l input debug: V4L device BT878(Hauppauge (bt878)) 4 channels 1
audios 48 < w < 768 32 < h < 480
[00000145] v4l input debug: setting channel Composite1(1) 0 tuners flags=0x2
type=0x2 norm=0x1
[00000145] v4l input debug: adev=`/dev/dsp' stereo 44101Hz
[00000145] v4l input debug: v4l device uses frame size: 460800
[00000145] v4l input debug: v4l device uses chroma: I420
[00000145] v4l input: v4l grabbing started
[00000021] main module debug: using access module "v4l"
[00000147] main private debug: thread 24580 (gtk_main) created at priority 0
(gtk_main.c:113)
[00000107] main module debug: using gui-helper module "gtk_main"
[00000091] main module debug: using interface module "gtk"
[00000146] main interface debug: interface initialized
[00000146] main interface debug: thread 32773 (manager) created at priority
0
(src/interface/interface.c:118)
[00000001] main vlc debug: removing all interfaces
[00000146] main interface debug: thread 32773 joined
(src/interface/interface.c:158)
[00000147] main private debug: thread 24580 joined (gtk_main.c:148)
[00000107] main module debug: unlocking module "gtk_main"
[00000091] main module debug: unlocking module "gtk"
[00000001] main vlc debug: removing all playlists
signal 2 received, terminating vlc - do it again in case it gets stuck
user insisted too much, dying badly
Aborted
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list