unable to execute /usr/bin/gst-launch: Operation not permitted

Sebastian Dröge sebastian at centricular.com
Mon May 18 01:05:27 PDT 2015


On So, 2015-05-17 at 18:02 +0200, frtachi . wrote:
> Hi! I have a problem with gstreamer on my nokia n9. I'm trying to capture a
>  photo from my back camera. I get operation not permitted even as root.
> This is what comes out:
> 
> ~ $ GST_DEBUG=6 gst-launch -v v4l2src ! ffmpegcolorspace ! pngenc !
> [...]
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not
> open device '/dev/video0' for reading and writing.
> Additional debug info:
> v4l2_calls.c(507): gst_v4l2_open ():
> /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> system error: Permission denied

This means that your user does not have the appropriate permissions to
use /dev/video0. Fix the permissions and then it should work better.


Also consider using a recent GStreamer version, not the outdated 0.10
version which is no longer supported since almost 3 years now.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150518/37553738/attachment.sig>


More information about the gstreamer-devel mailing list