Hi,
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,
Regards,JM
Nobody knows how to do that ? Which drivers should I change ?Are tvp7002.c and vpfe_capture.c enough ?
JM