I am trying to use a TVP7002 on a DM368 board with gstreamer. The source is a VGA to YUV converter which output 576i frames.
Here is the command used:gst-launch -v -e v4l2src always-copy=FALSE input-src=component chain-ipipe=true ! video/x-raw-yuv,width=720,height=576 ! fakesink
It starts, but tells : Setting pipeline to PAUSED ...davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124vpfe-capture vpfe-capture: IPIPE Chainedvpfe-capture vpfe-capture: Resizer presenttvp7002 1-005c: querystd, erorxxx, val = 0, val1 = 271/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: queue-size = 3/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30000/1001, width=(int)720, height=(int)576Pipeline is live and does not need PREROLL ...WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Video input device did not accept new frame rate setting.Additional debug info:../../../src/sys/v4l2/v4l2src_calls.c(342): gst_v4l2src_set_capture (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:system error: Invalid argumentSetting pipeline to PLAYING ...New clock: GstSystemClock
I can give you the TVP7002 register values if you want...If I have a HD source (from a camera) I can do this capture :gst-launch -v -e v4l2src always-copy=FALSE input-src=component chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720, framerate=\(fraction\)23/1 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=2000000 bytestream=true ! dmaiperf print-arm-load=true ! rtph264pay ! udpsink port=3000 host=192.168.10.1 sync=false enable-last-buffer=false
But with the 576i source, the same pipeline says :davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124vpfe-capture vpfe-capture: IPIPE Chainedvpfe-capture vpfe-capture: Resizer presenttvp7002 1-005c: querystd, erorxxx, val = 0, val1 = 272ERROR: Pipeline doesn't want to pause.WARNING: from element /GstPipeline:pipeline0/GstDmaiperf:dmaiperf0: Could not get/set settings from/on resource.Additional debug info:../../src/src/gsttidmaiperf.c(273): gst_dmaiperf_start (): /GstPipeline:pipeline0/GstDmaiperf:dmaiperf0:Engine name not specified, not printing DSP informationERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate formatAdditional debug info:../../../../src/libs/gst/base/gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:Check your filtered caps, if anySetting pipeline to NULL ...Freeing pipeline ...Is there something specific to do in order to make TVP7002 support the source ?
Thanks in advance for your help,
Nobody knows how to do that ? Which drivers should I change ?Are tvp7002.c and vpfe_capture.c enough ?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.