A couple things to try...

What is the output of :

v4l2-ctl -d 6 --list-formats

or even

v4l2-ctl --all

Additionally, try doing:

GST_DEBUG=2 LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so gst-launch -v v4l2src device=/dev/video6 ! video/x-raw-yuv,format='(fourcc)'UYVY,width=752,height=480 ! fakesink

The values for GST_DEBUG can range from 1-4, I believe. I usually use 2 or 3, depending on the issue.

Make sure your v4l2src cap filter is correct. I can generate that same error on my laptop by entering an incorrect framerate.


On Thu, Oct 10, 2013 at 2:18 AM, daveshah <davey1576@gmail.com> wrote:
 I am currently struggling to get hardware accelerated video encoding with
the Caspa Camera and Overo TidalStorm. I have compiled an image with Yocto
containing gstreamer-ti and everything else necessary, but cannot get
gstreamer to work.

Here is the command I am running:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so gst-launch -v v4l2src
device=/dev/video6 !
video/x-raw-yuv,format=\(fourcc\)UYVY,width=752,height=480 ! fakesink


Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not
negotiate format
Additional debug info:
gstbasesrc.c(2830): gst_base_src_start ():
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline ...

These are my media-ctl settings:
media-ctl -r -l '"mt9v032 3-005c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP
CCDC":2->"OMAP3 ISP preview":0[1], "OMAP3 ISP preview":1->"OMAP3 ISP
resizer":0[1], "OMAP3 ISP resizer":1->"OMAP3 ISP resizer output":0[1]'
media-ctl -f '"mt9v032 3-005c":0[SGRBG10 752x480], "OMAP3 ISP
CCDC":2[SGRBG10 752x480], "OMAP3 ISP preview":1[UYVY 752x480], "OMAP3 ISP
resizer":1[UYVY 752x480]'

I am able to take pictures with mplayer using the following settings:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv
driver=v4l2:device=/dev/video6 -vo png -fps 1

(Nabble users, apologies for the re-post but the first was not accepted by
the mailing list...)

View this message in context: http://gumstix.8.x6.nabble.com/Gstreamer-could-not-negotiate-format-tp4968087.html
Sent from the Gumstix mailing list archive at Nabble.com.

October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
gumstix-users mailing list

Will Bryan
Iowa State University | Computer Engineering
william.bryan91@gmail.com | 712.212.5027