[vlc] vlc v4l streaming and 2.6.0 kernel

toxic at rt.mipt.ru toxic at rt.mipt.ru
Fri Jan 16 02:22:26 CET 2004


well i have a problem with streaming from v4l devices
when i start'em i've got a black screen at the client side

althoung when i have 2.4.x kernels - all is perfect

that is my command and vlc log


/usr/local/bin/vlc -vvv -I dummy v4l:/dev/video0:norm=secam:frequency=215250:
size=cif:channel=0:adev=/dev/dsp:samplerate=44100:audio=2 --sout '#transcode
{vcodec=mp4v,acodec=mpga,vb=1250,ab=128,vt=800000,keyint=80,deinterlace}:std
{access=udp,mux=ts,url=239.255.3.5,sap=Umedia-5}' --ttl 12
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 --enable-
v4l --enable-ffmpeg --enable-faad --with-v4l=/usr/src/linux/include/linux/ --
with-ffmpeg-faac --with-ffmpeg-tree=../ffmpeg-20040103/ --with-faad-tree=../
faad2-20030811 --with-ffmpeg-mp3lame
[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: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000245] main module warning: cannot find symbol "vlc_entry__0_7_0" in file 
`/usr/local/lib/vlc/demux/libes_plugin.so' (/usr/local/bin/vlc: undefined 
symbol: _vlc_entry__0_7_0)
[00000291] main module warning: cannot find symbol "vlc_entry__0_7_0" in file 
`/usr/local/lib/vlc/packetizer/libpacketizer_mpegaudio_plugin.so' (/usr/
local/bin/vlc: undefined symbol: _vlc_entry__0_7_0)
[00000293] main module warning: cannot find symbol "vlc_entry__0_7_0" in file 
`/usr/local/lib/vlc/packetizer/libpacketizer_a52_plugin.so' (/usr/local/bin/
vlc: undefined symbol: _vlc_entry__0_7_0)
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 272 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 3DNow! FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 4 candidates
[00000005] main module debug: using memcpy module "memcpymmx"
[00000323] main playlist debug: Creating group Normal with id 1 at position 0
[00000323] main playlist debug: waiting for thread completion
[00000323] main playlist debug: thread 1026 (playlist) created at priority 0 
(src/playlist/playlist.c:98)
[00000324] main interface debug: looking for interface module
[00000324] main interface debug: probing 2 candidates
[00000092] main module debug: using interface module "hotkeys"
[00000324] main interface debug: interface initialized
[00000324] main interface debug: thread 2051 (interface) created at priority 0 
(src/interface/interface.c:161)
[00000323] main playlist debug: adding playlist item ╚ v4l:/dev/video0:
norm=secam:frequency=215250:size=cif:channel=0:adev=/dev/dsp:
samplerate=44100:audio=2 ╩ ( v4l:/dev/video0:norm=secam:frequency=215250:
size=cif:channel=0:adev=/dev/dsp:samplerate=44100:audio=2 )
[00000323] main playlist debug: creating new input thread
[00000325] main input: playlist item `v4l:/dev/video0:norm=secam:
frequency=215250:size=cif:channel=0:adev=/dev/dsp:samplerate=44100:audio=2'
[00000325] main input debug: waiting for thread completion
[00000325] main input debug: thread 3076 (input) created at priority 0 (src/
input/input.c:257)
[00000325] main input debug: cmd=state old=10 new=1
[00000325] main input debug: playing at normal rate
[00000326] main interface debug: looking for interface module
[00000326] main interface debug: probing 6 candidates
[00000326] dummy interface: Using the dummy interface plugin...
[00000115] main module debug: using interface module "dummy"
[00000326] main interface debug: interface initialized
[00000326] main interface debug: thread 4101 (manager) created at priority 0 
(src/interface/interface.c:145)
[00000325] main input debug: access `v4l', demux `', name `/dev/video0:
norm=secam:frequency=215250:size=cif:channel=0:adev=/dev/dsp:
samplerate=44100:audio=2'
[00000327] main stream output debug: stream=`transcode'
[00000328] main private debug: looking for sout stream module
[00000328] main private debug: probing 1 candidate
[00000327] main stream output debug: stream=`std'
[00000329] main private debug: looking for sout stream module
[00000329] main private debug: probing 2 candidates
[00000329] stream_out_standard private debug: creating `udp/ts://239.255.3.5'
[00000329] stream_out_standard private debug: extention is 5
[00000329] stream_out_standard private debug: extention -> mux=(null)
[00000329] stream_out_standard private debug: using `udp/ts://239.255.3.5'
[00000330] main private debug: looking for sout access module
[00000330] main private debug: probing 2 candidates
[00000331] main private debug: looking for network module
[00000331] main private debug: probing 4 candidates
[00000331] ipv4 private debug: socket buffer size is 0x1fffe instead of 
0x80000
[00000125] main module debug: using network module "ipv4"
[00000125] main module debug: unlocking module "ipv4"
[00000331] main private debug: thread 5126 (sout write thread) created at 
priority 0 (udp.c:224)
[00000330] access_output_udp private: Open: addr:`239.255.3.5' port:`1234'
[00000040] main module debug: using sout access module "access_output_udp"
[00000329] stream_out_standard private debug: access opened
[00000332] main private debug: looking for sout mux module
[00000332] main private debug: probing 4 candidates
[00000332] mux_ts_dvbpsi private debug: Open
[00000332] mux_ts_dvbpsi private debug: caching=200000 pcr=30000
[00000133] main module debug: using sout mux module "mux_ts_dvbpsi"
[00000327] main stream output debug: muxer support adding stream at any time
[00000329] stream_out_standard private debug: mux opened
[00000329] stream_out_standard private: SAP Enabled
[00000327] stream_out_standard stream output debug: Creating SAP with IPv4
[00000327] stream_out_standard stream output debug: creating IPv4 SAP socket
[00000327] main stream output debug: looking for network module
[00000327] main stream output debug: probing 4 candidates
[00000327] ipv4 stream output debug: socket buffer size is 0x1fffe instead of 
0x80000
[00000125] main module debug: using network module "ipv4"
[00000125] main module debug: unlocking module "ipv4"
[00000327] stream_out_standard stream output debug: SAP initialization 
complete
[00000143] main module debug: using sout stream module "stream_out_standard"
[00000328] stream_out_transcode private debug: codec audio=mpga 0Hz 0 channels 
125Kb/s
[00000328] stream_out_transcode private debug: codec video=mp4v 0x0 scaling: 
1.000000 1220kb/s
[00000015] main module debug: using sout stream module "stream_out_transcode"
[00000325] main input debug: looking for access module
[00000325] main input debug: probing 16 candidates
[00000325] v4l input debug: main device=`/dev/video0'
[00000325] v4l input debug: V4L device BT878 video (AVerMedia TVPhone  3 
channels 4 audios 48 < w < 924 32 < h < 576
[00000325] v4l input debug: setting channel Television(0) 1 tuners flags=0x3 
type=0x1 norm=0x2
[00000325] v4l input debug: frequency 215250 (3444)
[00000325] v4l input debug: v4l device uses frame size: 405504
[00000325] v4l input debug: v4l device uses chroma: RV24
[00000325] v4l input debug: openened adev=`/dev/dsp' stereo 44100Hz
[00000325] v4l input: v4l grabbing started
[00000026] main module debug: using access module "v4l"
[00000325] main input debug: looking for demux module
[00000325] main input debug: probing 34 candidates
[00000325] mp4 input warning: MP4 plugin discarded (not a valid file)
[00000325] mp4 input warning: MP4 plugin discarded (not a valid file)
[00000325] avi input warning: avi module discarded (invalid header)
[00000325] avi input warning: avi module discarded (invalid header)
[00000325] v4l input debug: added new video es RV24 352x288
[00000325] v4l input debug: new audio es 2 channels 44100Hz
[00000027] main module debug: using demux module "v4l"
[00000325] main input debug: selecting ES 0x1
[00000334] main packetizer debug: looking for packetizer module
[00000334] main packetizer debug: probing 32 candidates
[00000086] main module debug: using packetizer module "rawvideo"
[00000334] main packetizer debug: thread 6151 (decoder) created at priority 0 
(src/input/input_dec.c:166)
[00000325] main input debug: selecting ES 0x2
[00000335] main packetizer debug: looking for packetizer module
[00000335] main packetizer debug: probing 32 candidates
[00000138] main module debug: using packetizer module "packetizer_copy"
[00000335] main packetizer debug: thread 7176 (decoder) created at priority 0 
(src/input/input_dec.c:166)
[00000327] main stream output debug: adding a new input
[00000328] stream_out_transcode private debug: creating video transcoding from 
fcc=`RV24' to fcc=`mp4v'
[00000336] main encoder debug: looking for encoder module
[00000336] main encoder debug: probing 6 candidates
[00000336] ffmpeg encoder debug: libavcodec initialized (interface 4698 )
[00000336] ffmpeg encoder debug: found encoder MPEG-4
[00000014] main module debug: using encoder module "ffmpeg"
[00000014] main module debug: unlocking module "ffmpeg"
[00000336] main encoder debug: looking for encoder module
[00000336] main encoder debug: probing 6 candidates
[00000336] ffmpeg encoder debug: libavcodec already initialized
[00000336] ffmpeg encoder debug: found encoder MPEG-4
[00000014] main module debug: using encoder module "ffmpeg"
[00000332] main private debug: adding a new input
[00000332] mux_ts_dvbpsi private debug: adding input codec=mp4v pid=68
[00000332] mux_ts_dvbpsi private debug: new PCR PID is 68
[00000327] main stream output debug: adding a new input
[00000328] stream_out_transcode private debug: creating audio transcoding from 
fcc=`s16l' to fcc=`mpga'
[00000337] main encoder debug: looking for encoder module
[00000337] main encoder debug: probing 6 candidates
[00000337] ffmpeg encoder debug: libavcodec already initialized
[00000337] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2
[00000014] main module debug: using encoder module "ffmpeg"
[00000332] main private debug: adding a new input
[00000332] mux_ts_dvbpsi private debug: adding input codec=mpga pid=69
[00000331] access_output_udp private debug: packet has been sent too late 
(49529)
[00000331] access_output_udp private debug: packet has been sent too late 
(24906)


xawtv works perfect!
-- 
Anton K. Komarov, Department of Radioengineering and Cybernetics.
	Moscow Institute of Physics and Technology.

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