V4L2CTL

Andre Bella scancool at yahoo.com
Tue Feb 12 15:22:01 PST 2013


i just did 
:
# v4l2-ctl -l                                                                   
tfp401_open: usage 1                                                            
vidioc_g_ctrl                                                                   
error 22 getting ctrl Brightnessvidioc_g_ctrl                                   
                                                                                
vidioc_g_ctrl                                                                   
error 22 getting ctrl Contrast                                                  
vidioc_g_ctrl                                                                   
vidioc_g_ctrling ctrl Saturation                                                
                                                                                
error 22 getting ctrl Hue                                                       
error 22 getting ctrl Volume                                                    
# 
could those be the problem to give out this error:
# gst-launch v4l2src device=/dev/video0 ! videoscale! video/x-raw-yuv,width=800,
height=600 ! ffmpegcolorspace ! jpegenc ! tcpserversink host=192.168.0.103 port=
5000                                                                            
Setting pipeline to PAUSED ...tfp401_open: usage 1                              
                                                                                
vidioc_reqbufs                                                                  
   case VIDIOC_REQBUFS                                                          
allocate_frames: 800x600: 2 frames of 720000 bytes each                         
0: 88000000: virt de400000: size 0xafc80, page 0xb0000                          
1: 880b0000: virt de4b0000: size 0xafc80, page 0xb0000                          
vidioc_streamon:d7215b40                                                        
enabling camera                                                                 
init_csi: 800x600 +336+42                                                       
init channel fffffc0 for csi 0                                                  
mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_5 = 0x00000001                        
mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_10 = 0x00000001                       
init channel buffer fffffc0                                                     
enable_camera: forcing NV12 output                                              
enabling channel fffffc0                                                        
feed_frames: queue buffer 0                                                     
feed_frames: queue buffer 1                                                     
vidioc_streamon: enabled csi                                                    
Pipeline is live and does not need PREROLL ...                                  
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not get'
Additional debug info:                                                          
v4l2src_calls.c(235): gst_v4l2src_set_capture (): /GstPipeline:pipeline0/GstV4l:
system error: Invalid argument                                                  
Setting pipeline to PLAYING ...                                                 
New clock: GstSystemClock                                                       




--- On Tue, 2/12/13, Andre Bella <scancool at yahoo.com> wrote:

From: Andre Bella <scancool at yahoo.com>
Subject: Re: V4L2CTL
To: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Date: Tuesday, February 12, 2013, 4:12 PM

it does work with VLC but not with gstreamer because of the missing v4l2ctl

# v4l2-ctl --all
tfp401_open: usage 1
Driver Info (not using libv4l2):                                                
        Driver name   : tfp401                                                  
        Card
 type     : tfp401                                                  
        Bus info      :                                                         
        Driver version:
 0.1.0                                                   
        Capabilities  : 0x05000001                                              
                Video
 Capture                                                   
                Read/Write                                                      
               
 Streaming                                                       
Format Video Capture:                                                           
        Width/Height  :
 800/600                                                 
        Pixel Format  : 'YUYV'                                                  
        Field         :
 Interlaced                                              
        Bytes per Line: 1600                                                    
        Size Image    :
 960000                                                  
        Colorspace    : Unknown (00000000)                                      
# 
I'm not sure what else could it be missing, this is the driver
https://github.com/scancool/linux-src/blob/master/drivers/media/video/boundary/tfp401_sensor.c


--- On Tue, 2/12/13, pfarmer <flacone at gmx.de> wrote:

From: pfarmer <flacone at gmx.de>
Subject: Re: V4L2CTL
To: gstreamer-devel at lists.freedesktop.org
Date: Tuesday, February 12, 2013, 3:51 PM

Does the v4l2 do work with your camera at all? Or does the camera work at
all?
For instance: does the program qv4l2 give any images? Or does $v4l2-ctl -L 
give you any results?
(programs are in the packages: qv4l2 and v4l-utils)



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/V4L2CTL-tp4658500p4658502.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-----Inline Attachment Follows-----

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130212/520911e5/attachment-0001.html>


More information about the gstreamer-devel mailing list