Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

libv4l2 error setting pixformat - gc2035 OPI+

Featured Replies

 

Hi everybody, 

 

I have an OPI+ and gc2035 camera module, i try camera with "motion" according to this tutorial and getting one picture on localhost:8081, after this page display "problem loading page".

however, This is not the main issue.  i try to get picture with gstreamer and i see following errors:

 

libv4l2: error setting pixformat: operation not permitted

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src: Device '/dev/video0' cannot capture at 1600x1200

Call to S_FMT failed for YU12 @ 1600x1200: Operation not permitted.

 

My gstreamer pipeline is:

 

gst-launch v4l2src always-copy=false ! 'video/x-raw-yuv, format=(fourcc)I420, width=1600, height=1200' ! ffmpegcolorspace ! ximagesink

 

I try other resolution but get the same error.

 

vlc player display correct stream with following command:

 

cvlc v4l2:///dev/video0

 

if problem is v4l2 so why vlc display camera stream?

 

#uname -a

 

Linux orangepiplus 3.4.112-sun8i #14 SMP PREEMPT Tue Jul 5 16:28:14 CEST 2016 armv7l GNU/Linux

 

thanks in advance

 

best regards

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.