Hi,
I'm new to this Mistral eval board stuff, so please accept my apologies up front if this is too simple or vague of a question.
I have a Mistral DM814x/AM387x Evaluation Module, TMDXEVM8148 which I'm attempting to use for some video processing with GStreamer.
I'm running version 5.04.00.11 of EZSDK.
I'm trying to capture some 1080p30 video coming in on the component inputs. If I run the Matrix demo I can execute the multimedia capture and encode demo and that all works fine. I can see the input on the LCD and it generates a file for me. I can not get the inputs to do anything so far with GStreamer.
I have changed theload firmware script using this command:
root@dm814x-evm:~# cp /usr/share/ti/ti-media-controller-utils/load-hd-v4l2-firmware.sh /etc/init.d/load-hd-firmware.sh
and repaired the I2C mode according to this post:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/187108/673606.aspx
and rebooted my board. After doing that I have several /dev/video devices which were not there before:
root@dm814x-evm:~# ls /dev/video*
/dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/video4 /dev/video5 /dev/video6
Whenever I try to construct a pipeline with a V4L2 source I get a format error. I'm not really sure how to understand what this means...
root@dm814x-evm:~# gst-launch v4l2src ! fakesink
Setting pipeline to PAUSED ...
Mode set is 0
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline ...
root@dm814x-evm:~#
I've tried to specify various devices and use various cap filters to no avail...
Different device same error....
root@dm814x-evm:~# gst-launch v4l2src device="/dev/video6" ! fakesink
Setting pipeline to PAUSED ...
Mode set is 0
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline ...
root@dm814x-evm:~#
And with a cap filter...
root@dm814x-evm:~# gst-launch v4l2src ! video/x-raw-yuv,format="(fourcc)UYVY" ! 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(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline ...
root@dm814x-evm:~#
Any pointers would greatly be appreciated.
Thank you,
Gary