Comment 48 for bug 1373221

Revision history for this message
Paulo Assis (pj-assis) wrote : Re: [Bug 1373221] Re: guvcview crashed with SIGSEGV in get_ctrl_by_id()

Hi,
What do you mean by "hang up" ?
Does the control window becomes unresponsive?

From the logs all I notice is that the capture ring buffer gets full,
this usually means frames are not being encoded fast enough. Guvcview
tries to compensate for this, by reducing the frame rate.
Also the matroska muxer caches audio frames so that matching audio and
video packets are stored in the same cluster.
In this case for some reason video frames are not being fed to the
muxer, so audio keeps filling the cache.
Have you tried reducing the resolution, or fps?
You should also test with different codecs and with the avi muxer,
also maybe with audio disabled, just to check if it makes any
difference.

Regards,
Paulo

2015-01-22 21:34 GMT+00:00 vedavata <email address hidden>:
>> please upgrade to version 2.0.1, you can use one of the following ppa:
>> stable: https://launchpad.net/~pj-assis/+archive/ubuntu/ppa
>
> 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?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1373221
>
> Title:
> guvcview crashed with SIGSEGV in get_ctrl_by_id()
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/guvcview/+bug/1373221/+subscriptions