kernel.shmall = 1073741824
kernel.shmmax = 1073741824
but nothing had helped me.
The debug.log shows this
Code: Select all
02/12/09 05:19:41.203771 zmc_dvideo[-1].INF-zmc.cpp/186 [Starting Capture]
02/12/09 05:19:41.203868 zmc_dvideo[-1].DB2-zm_local_camera.cpp/1065 [Priming capture]
02/12/09 05:19:41.203882 zmc_dvideo[-1].DB3-zm_local_camera.cpp/1071 [Queuing buffers]
02/12/09 05:19:41.203900 zmc_dvideo[-1].DB3-zm_local_camera.cpp/1088 [Starting video stream]
02/12/09 05:19:43.091191 zmc_dvideo[-1].DB2-zm_local_camera.cpp/1117 [Pre-capturing]
02/12/09 05:19:43.091223 zmc_dvideo[-1].DB3-zm_local_camera.cpp/1185 [Capturing]
02/12/09 05:19:43.091235 zmc_dvideo[-1].DB3-zm_local_camera.cpp/1208 [Capturing 1 frames]
02/12/09 05:19:43.229171 zmc_dvideo[-1].DB3-zm_local_camera.cpp/1235 [Captured frame 0/1 from channel 0]
02/12/09 05:19:43.229197 zmc_dvideo[-1].DB3-zm_local_camera.cpp/1270 [Doing format conversion]
02/12/09 05:19:43.229466 zmc_dvideo[-1].INF-zm_signal.cpp/60 [Got signal 11 (Segmentation fault), crashing]
02/12/09 05:19:43.229502 zmc_dvideo[-1].ERR-zm_signal.cpp/77 [Signal address is 0x10212, no eip]
02/12/09 05:19:43.229749 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /lib/libpthread.so.0 [0x7f0a242cf7b0]]
02/12/09 05:19:43.229771 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /lib/libc.so.6(memcpy+0x283) [0x7f0a23208413]]
02/12/09 05:19:43.229789 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /usr/lib/libswscale.so.0 [0x7f0a25b24754]]
02/12/09 05:19:43.229806 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /usr/lib/libswscale.so.0(sws_scale+0x590) [0x7f0a25b21de0]]
02/12/09 05:19:43.229824 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /usr/local/bin/zmc [0x41c24b]]
02/12/09 05:19:43.229841 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /usr/local/bin/zmc [0x424426]]
02/12/09 05:19:43.229858 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /usr/local/bin/zmc [0x4069aa]]
02/12/09 05:19:43.229875 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f0a231a95a6]]
02/12/09 05:19:43.229892 zmc_dvideo[-1].ERR-zm_signal.cpp/98 [Backtrace: /usr/local/bin/zmc [0x406309]]
02/12/09 05:19:43.229909 zmc_dvideo[-1].INF-zm_signal.cpp/99 [Backtrace complete]
Code: Select all
zmu -v -q -d /dev/video0
Video Capabilities
Name: USB Camera (046d:08d7)
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 640
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 640
Height: 480
Picture Attributes
Palette: 0 - Unknown
Colour Depth: 8
Brightness: 32382
Hue: 0
Colour :0
Contrast: 32512
Whiteness: 39321
Channel 0 Attributes
Name: zc3xx
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Code: Select all
v4l-info
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "zc3xx"
card : "USB Camera (046d:08d7)"
bus_info : "0000:00:1a.1"
version : 2.3.0
capabilities : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "zc3xx"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 1
description : "JPEG"
pixelformat : 0x4745504a [JPEG]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 480
fmt.pix.pixelformat : 0x4745504a [JPEG]
fmt.pix.field : NONE
fmt.pix.bytesperline : 640
fmt.pix.sizeimage : 115790
fmt.pix.colorspace : JPEG
fmt.pix.priv : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 255
step : 1
default_value : 128
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 256
step : 1
default_value : 128
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "USB Camera (046d:08d7)"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "zc3xx"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 32382
hue : 0
colour : 0
contrast : 32512
whiteness : 39321
depth : 8
palette : unknown
buffer
ioctl VIDIOCGFBUF: Invalid argument
window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 480
chromakey : 0
flags : 0
I am getting a video with vlc.
Here's the output:
Code: Select all
main debug: removing module "v4l2"
main debug: thread 139772397771088 joined (input/decoder.c:248)
main debug: killing decoder fourcc `I420', 1 PES in FIFO
main debug: thread ended
main debug: thread 139772326914384 joined (video_output/video_output.c:536)
main debug: removing module "xvideo"
main debug: removing module "blend"
main debug: thread 139772312566096 joined (freetype.c:511)
main debug: removing module "freetype"
main debug: removing module "araw"
main debug: thread ended
main debug: thread 139772389378384 joined (input/decoder.c:248)
main debug: killing decoder fourcc `araw', 0 PES in FIFO
main debug: removing module "converter_float"
main debug: removing module "bandlimited_resampler"
main debug: thread ended
main debug: thread 139772380985680 joined (oss.c:548)
main debug: removing module "oss"
main debug: removing module "converter_float"
main debug: removing module "float32_mixer"
main debug: thread ended
main debug: dead input
main debug: thread 139772597107024 joined (playlist/engine.c:244)
main debug: TIMER input launching for 'v4l2://' : 2084.673 ms - Total 2084.673 ms / 1 intvls (Avg 2084.673 ms)
qt4 debug: New item: v4l2://
qt4 debug: New Option: :v4l2-dev=/dev/video0
qt4 debug: New Option: :v4l2-adev=
qt4 debug: New Option: :v4l2-standard=0
main debug: adding item `v4l2://' ( v4l2:// )
main debug: rebuilding array of current - root Wiedergabeliste
main debug: rebuild done - 2 items, index 0
main debug: starting new item
main debug: processing request item v4l2:// node null skip 0
main debug: resyncing on v4l2://
main debug: v4l2:// is at 1
main debug: creating new input thread
main debug: Creating an input for 'v4l2://'
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 139772597107024 (input) created at priority 10 (input/input.c:370)
qt4 debug: Updating the stream status: 3
main debug: `v4l2://' gives access `v4l2' demux `' path `'
main debug: creating demux: access='v4l2' demux='' path=''
main debug: looking for access_demux module: 1 candidate
v4l2 debug: ALSA input support available
v4l2 debug: opening '/dev/video0' as video
v4l2 debug: V4L2 device: USB Camera (046d:08d7) using driver: zc3xx (version: 2.3.0) on 0000:00:1a.1
v4l2 debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner
v4l2 debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
v4l2 debug: video input 0 (zc3xx) has type: External analog input *
v4l2 debug: device codec JPEG (JPEG) not supported as access_demux
v4l2 debug: device supports chroma RV24 [RGB3, RGB3]
v4l2 warning: Unable to query for frame sizes
v4l2 debug: device supports chroma RV24 [BGR3, BGR3]
v4l2 warning: Unable to query for frame sizes
v4l2 debug: device supports chroma I420 [YU12, YU12]
v4l2 warning: Unable to query for frame sizes
v4l2 debug: device supports chroma YV12 [YV12, YV12]
v4l2 warning: Unable to query for frame sizes
v4l2 debug: Extended control API supported by v4l2 driver
v4l2 debug: Available control: Brightness (980900)
v4l2 debug: integer control
v4l2 debug: valid values: 0 to 255 by steps of 1
v4l2 debug: default value: 128
v4l2 debug: current value: 126
v4l2 debug: Available control: Contrast (980901)
v4l2 debug: integer control
v4l2 debug: valid values: 0 to 256 by steps of 1
v4l2 debug: default value: 128
v4l2 debug: current value: 127
v4l2 debug: Available control: Gamma (980910)
v4l2 debug: integer control
v4l2 debug: valid values: 1 to 6 by steps of 1
v4l2 debug: default value: 4
v4l2 debug: current value: 4
v4l2 debug: Available control: Auto Gain (980912)
v4l2 debug: boolean control
v4l2 debug: default value: 1
v4l2 debug: current value: 1
v4l2 debug: Available control: Light frequency filter (980918)
v4l2 debug: menu control
v4l2 debug: 0: NoFliker
v4l2 debug: 1: 50 Hz
v4l2 debug: 2: 60 Hz
v4l2 debug: default value: 1
v4l2 debug: Available control: Sharpness (98091b)
v4l2 debug: integer control
v4l2 debug: valid values: 0 to 3 by steps of 1
v4l2 debug: default value: 2
v4l2 debug: current value: 2
v4l2 debug: added new video es I420 640x480
main debug: selecting program id=0
qt4 debug: New Event: type 1108
v4l2 debug: opening '(null)' as audio
v4l2 debug: opened adev=`hw' stereo 48000Hz
v4l2 debug: new audio es 2 channels 48000Hz
main debug: using access_demux module "v4l2"
main debug: TIMER module_Need() : 1904.689 ms - Total 1904.689 ms / 1 intvls (Avg 1904.689 ms)
main debug: looking for decoder module: 30 candidates
main debug: using decoder module "rawvideo"
main debug: TIMER module_Need() : 0.167 ms - Total 0.167 ms / 1 intvls (Avg 0.167 ms)
main debug: thread started
main debug: thread 139772380985680 (decoder) created at priority 0 (input/decoder.c:217)
main debug: looking for decoder module: 30 candidates
araw debug: samplerate:48000Hz channels:2 bits/sample:16
main debug: using decoder module "araw"
main debug: TIMER module_Need() : 0.138 ms - Total 0.138 ms / 1 intvls (Avg 0.138 ms)
main debug: thread started
main debug: thread 139772389378384 (decoder) created at priority 5 (input/decoder.c:217)
main debug: `v4l2://' successfully opened
qt4 debug: New Event: type 1103
qt4 debug: Updating the stream status: 3
main debug: control type=1
main debug: no usable vout present, spawning one
main debug: window size: 640x480
main debug: looking for video output module: 6 candidates
main debug: no aout present, spawning one
main debug: looking for audio output module: 5 candidates
main debug: thread 139772312566096 (aout) created at priority 15 (oss.c:520)
main debug: using audio output module "oss"
main debug: thread started
main debug: TIMER module_Need() : 1.856 ms - Total 1.856 ms / 1 intvls (Avg 1.856 ms)
main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "converter_float"
main debug: TIMER module_Need() : 0.086 ms - Total 0.086 ms / 1 intvls (Avg 0.086 ms)
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_Need() : 0.070 ms - Total 0.070 ms / 1 intvls (Avg 0.070 ms)
main debug: input 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 's16l'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "converter_float"
main debug: TIMER module_Need() : 0.074 ms - Total 0.074 ms / 1 intvls (Avg 0.074 ms)
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_Need() : 0.126 ms - Total 0.126 ms / 1 intvls (Avg 0.126 ms)
main debug: found a filter for the whole conversion
xvideo debug: adaptor 0, port 224, format 0x32315659 (YV12) planar
main debug: looking for vout window module: 1 candidate
main debug: TIMER module_Need() : 0.078 ms - Total 0.078 ms / 1 intvls (Avg 0.078 ms)
main debug: no window provider available
xvideo debug: XShm video extension v1.1 (without pixmaps, opcode: 142)
xvideo debug: Window manager supports NetWM
xvideo debug: Window manager supports _NET_WM_STATE_FULLSCREEN
xvideo debug: Window manager supports _NET_WM_STATE_ABOVE
xvideo debug: Window manager supports _NET_WM_STATE_BELOW
xvideo debug: Window manager supports _NET_WM_STATE_STAYS_ON_TOP
main debug: using video output module "xvideo"
main debug: TIMER module_Need() : 123.261 ms - Total 123.261 ms / 1 intvls (Avg 123.261 ms)
main debug: waiting for thread initialization
main debug: thread started
main debug: got 8 direct buffer(s)
main debug: picture in 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
main debug: picture user 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
main debug: picture out 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 139772397771088 (video output) created at priority 15 (video_output/video_output.c:502)
qt4 debug: New Event: type 1109
main debug: looking for text renderer module: 2 candidates
main debug: thread started
main debug: thread 139772299401552 (fontlist builder) created at priority 0 (freetype.c:477)
freetype debug: using fontsize: 30
main debug: using text renderer module "freetype"
main debug: TIMER module_Need() : 8.530 ms - Total 8.530 ms / 1 intvls (Avg 8.530 ms)
freetype debug: using fontsize: 30
main debug: looking for video blending module: 1 candidate
blend debug: chroma: YUVA -> I420main warning: late picture skipped (177164)
main debug: using video blending module "blend"
main debug: TIMER module_Need() : 0.087 ms - Total 0.087 ms / 1 intvls (Avg 0.087 ms)
Sascha Zielinski