Apparently there is a problem with the EDMA on the DM368 EVM. How can I fix this so that I can encode and decode simultaneously? This is what I am using with the response during execution.
gst-launch -v v4l2src always-copy=FALSE num-buffers=800 input-src=COMPONENT ! 'video/x-raw-yuv,format=(fourcc)NV12,width=1280,height=720,framerate=30/1' ! TIVidenc1 codecName=mpeg4enc engineName=codecServer contiguousInputFrame=TRUE ! queue min-threshold-buffers=800 max-size-buffers=1000 ! TIViddec2 codecName=mpeg4dec engineName=codecServer ! queue ! TIDmaiVideoSink videoStd=720P_60 videoOutput=COMPONENT sync=FALSE hideOSD=false
output:
EDMAK Error: dma_ioctl: REQUESTDMA failed: -12
EDMA Error: EDMA_IOCREQUESTDMA error
ERROR: from element /GstPipeline:pipeline0/GstTIViddec2:tividdec20: failed to cr
eate video decoder: mpeg4dec
Additional debug info:
gsttividdec2.c(1400): gst_tividdec2_codec_start (): /GstPipeline:pipeline0/GstTI
Viddec2:tividdec20
Execution ended after 1157350546 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstTIViddec2:tividdec20.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstTIVidenc1:tividenc10.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstTIVidenc1:tividenc10.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL
libv4l2: error turning off stream: Invalid argumvpfe-capture vpfe-capture: devic
e started
ent
Thank you,
Brent