You are not logged in.
I all ...
I am new to the forum, sorry if I make some errors and for my english. Some days ago I read a lot of video surveillance. I immediately marked Zoneminder that seems to be the best open source program available on web. I decided to install everything on Arch Linux distribution that I consider lightweight with high performance and there is a lot of documentation if I need. I installed the GIT version present in AUR, all okay no errors. When I connected my WEB CAM for test, has started the problema. I can not understand the error, I tried everything but nothing, probably the solution is simple but my continuous attempts and failures probably don't see it. Probably some of you has happened this error and can help me show the way of the solution.
Situation :
OS Version : 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux
WebCam : Philips SPC230NC
ZM Version : zoneminder-git 1.28.100.r5095.4.e8f31d7-1
Errors : zmc_dvideo0[757].WAR-zm_local_camera.cpp/2041 [Capture failure, possible signal loss?:Input/output error]
zmc_dvideo0[757].ERR-zm_local_camera.cpp/2178 [Unable to requeue buffer due to not v4l2_data]
Many Thanks for your help
Alessandro
Offline
Check of the webcam module is loaded: https://wiki.archlinux.org/index.php/We … our_webcam
Can you access the webcam outside of zoneminder?
Offline
thanks for the quick response. The webcam is recognized correctly, I send you the response of the command lsmod - lsusb - dmesg for verification. I did not do the test to record the input for example with ffmpeg or else .... I do the test and let you know
regards
# lsusb
Bus 003 Device 002: ID 093a:262c Pixart Imaging, Inc.
# lsmod
gspca_pac7302 20480 1
gspca_main 36864 2 gspca_pac7302
videodev 143360 3 gspca_main,gspca_pac7302
media 20480 1 videodev
# dmesg
gspca_main: v2.14.0 registered
gspca_main: gspca_pac7302-2.14.0 probing 093a:262c
gspca_pac7302 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/input/input15
usbcore: registered new interface driver gspca_pac7302
Offline
Does a /dev/vid* device exist?
Offline
Please use code tags when pasting to the boards:
https://wiki.archlinux.org/index.php/Fo … s_and_code
Not an Installation issue, moving to NC...
Offline
Thank you all. I add information about the problem and try to answer to people. The WEBCAM is installed and connected to the system as /dev/video0. I run 3 commands, these are the result :
...
# v4l2-ctl --list-devices
USB Camera (093a:262c) (usb-0000:00:14.0-1):
/dev/video0
# ffmpeg -f v4l2 -list_formats all -i /dev/video0 ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-shared --enable-version3 --enable-x11grab
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[video4linux2,v4l2 @ 0x55f83b13ef60] Compressed: Unsupported : GSPCA PJPG : 640x480
/dev/video0: Immediate exit requested
# ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0 output.avi
...
[video4linux2,v4l2 @ 0x560756ba7f80] Cannot find a proper format for codec 'none' (id 0), pixel format 'none' (id -1)
Assertion *codec_id != AV_CODEC_ID_NONE failed at libavdevice/v4l2.c:821
Aborted (core dumped)
I think that the error is in the WEBCAM configuration, please send me yours opinions
many thanks
Alessandro
Offline
try
mpv av://v4l2:/dev/video0
Offline
Hi c0mm0ner ....
I tried the command and this is the result:
# mpv av://v4l2:/dev/video0
Playing: av://v4l2:/dev/video0
[lavf] avformat_open_input() failed
Failed to recognize file format.
Exiting... (Errors when loading file)
I'm trying to find another webcam for the test, but I'd like to understand how to operate this philips. I trust in your or your knowledge of Linux to solve, so I will learn to manage WEBCAM
regards
Alessandro
Offline
What codecs does the cam support?
v4l2-ctl --list-formats
v4l2-ctl --list-formats-ext
Offline
Command Output :
# v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'PJPG' (compressed)
Name : GSPCA PJPG
# v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'PJPG' (compressed)
Name : GSPCA PJPG
Size: Discrete 640x480
alessandro
Offline
Thanks for the information. There seem to be some problems with gspca cams in (arch)linux. Maybe you are able to gather some information about possible solutions outside the forums?
Offline
He's trying for some time on various websites, for the moment nothing. Many people try to sort it out but leave surrendering. I will continue to try, if I find the solution placed on the site, in the meantime if you or others you have any idea of a possible solution, post it
Regards
Offline