Guvcview 1.7.1 doesn't work with kernel 3.16
A simple v4l2 full-featured video grabber
Brought to you by:
assisp
I am running xubuntu 14.04 and when I run Ubuntu Utopic mainline kernel 3.16 guvcview does not work. Just FYI. I documented the errors and what not at my blog if interested. http://ubuntuaddicted.blogspot.com/2014/10/guvcview-black-screen-with-linux-kernel.html
Hi,
the current ubuntu guvcview version is broken with kernels >= 3.16, you need the latest version 2.0.1
You can get it from the sourceforge download (Files) section or from one of my ppa's:
stable: https://launchpad.net/~pj-assis/+archive/ubuntu/ppa
testing (latest git): https://launchpad.net/~pj-assis/+archive/ubuntu/testing
Regards,
Paulo
I stand corrected, I had originally tried your stable ppa which has only
version 2.0.0 of Guvcview for Trusty Tahr but as soon as I enabled your
testing ppa that has version 2.0.1 of Guvcview for Trusty now it works
again. Thank you very much for this great piece of software! I will update
my blog post to include the instructions for getting Guvcview to work with
Ubuntu Utopic Mainline 3.16 kernel. Thanks again!
-Ubu out
On Mon, Oct 27, 2014 at 4:25 AM, Paulo Assis assisp@users.sf.net wrote:
--
Ubu's Youtube Channel has great content!
http://www.youtube.com/ubuntuaddicted
Blog? Yes here: ubuntuaddicted.blogspot.com
Related
Tickets:
#13The same problem. :-(
uname -a
Linux DELL-E6430 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.10 (Utopic Unicorn)
tosik@DELL-E6430:~$ guvcview
guvcview 1.7.3
file guvcview_video.mkv has extension type 1
file guvcview_image.jpg has extension type 0
(guvcview:24741): WARNING : Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-Grv3g4WwxK: Connection refused
file guvcview_image.jpg has extension type 0
Video file suffix detected: 0
Image file suffix detected: 0
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
bt_audio_service_open: connect() failed: Connection refused (111)
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
checking format: JPEG
Format unavailable: JPEG
Init v4L2 failed !!
Init video returned -2
trying minimum setup ...
format: YUYV
resolution: 640 x 480
framerate: 1/30
video device: /dev/video0
vid:046d
pid:0825
driver:uvcvideo
device doesn't seem to support uvc H264 (0)
mapping control for Pan (relative)
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Tilt (relative)
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Pan Reset
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Tilt Reset
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Focus (absolute)
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for LED1 Mode
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for LED1 Frequency
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Disable video processing
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Raw bits per pixel
UVCIOC_CTRL_MAP - Error: No such file or directory
Init. UVC Camera (046d:0825) (location: usb-0000:00:1d.0-1.7.2)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ pixelformat = 'RGB3', description = 'RGB3' }
{ pixelformat = 'BGR3', description = 'BGR3' }
{ pixelformat = 'YU12', description = 'YU12' }
{ pixelformat = 'YV12', description = 'YV12' }
checking muxed H264 format support
device doesn't seem to support uvc H264 (0)
checking format: YUYV
fps is set to 1/30
drawing controls
Segmentation fault (core dumped)
Yes, you are using the buggy version 1.7.3, you need 2.0.1
You can get it from one of my ppas:
stable: https://launchpad.net/~pj-assis/+archive/ubuntu/ppa
testing (latest git): https://launchpad.net/~pj-assis/+archive/ubuntu/testing
Regards,
Paulo
This helped!
Thank you very much!
But... with this version 2.0.1, when video size became 2 GB, guvcview hung up... :-(
guvcview
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
(guvcview:15514): WARNING : Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-Grv3g4WwxK: Connection refused
V4L2_CORE: VIDIOC_S_EXT_CTRLS for multiple controls failed (error -1)
V4L2_CORE: using VIDIOC_S_CTRL for user class controls
V4L2_CORE: control(0x0098091a) "White Balance Temperature" failed to set (error -1)
V4L2_CORE: VIDIOC_S_EXT_CTRLS for multiple controls failed (error -1)
V4L2_CORE: using VIDIOC_S_EXT_CTRLS on single controls for class: 0x009a0000
V4L2_CORE: control(0x009a0902) "Exposure (Absolute)" failed to set (error -1)
GUVCVIEW: error setting spin value
(guvcview:15514): GLib-GObject-CRITICAL **: g_value_set_object: assertion 'G_VALUE_HOLDS_OBJECT (value)' failed
GUVCVIEW: (status) saving video to /media/ntfs2/guvc/guvc-video-1.mkv
ENCODER: add stream 0 to stream list
ENCODER: add stream 1 to stream list
ENCODER: (matroska) add seekhead entry 0 (max 10)
ENCODER: (matroska) add seekhead entry 1 (max 10)
AUDIO: Pulseaudio pa_stream_get_latency() failed
[...]
ENCODER: (matroska) packet buffer [81] is in use: flushing cached data
ENCODER: video ring buffer full - dropping frame
AUDIO: write buffer(23) is still in use - dropping data
What can be the reason?
All of the reported issues should be fixed in the latest release (2.0.3), the 2Gb size problem in 32 bit machines should now be fixed to.