Hi,
I want to do a videoconference application usin Encode and decode in the same pipeline:
gst-launch gstrtpbin name=rtpbin videotestsrc ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720 ! queue ! dmaienc_h264 profile=66 encodingpreset=2 ratecontrol=2 intraframeinterval=30 idrinterval=46 seqscaling=0 level=30 entropy=0 t8x8inter=0 t8x8intra=0 single-nalu=true encquality=0 targetbitrate=4000000 ! rtph264pay pt=96 ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! multiudpsink clients="192.168.1.106:5002" sync=false async=false udpsrc port=5004 ! $CAPS ! queue ! rtpbin.recv_rtp_sink_0 rtpbin. buffer-mode=RTP_JITTER_BUFFER_MODE_BUFFER ! rtph264depay byte-stream=true ! video/x-h264, width=1280, height=720 ! queue ! dmaidec_h264 numOutputBufs=8 dispdelay=0 closedloop=1 ! queue ! TIDmaiVideoSink videoOutput=Composite videoStd=D1_NTSC
After running I get the following error
WARNING: from element /GstPipeline:pipeline0/dmaidec_h264:dmaidec_h2640: Could .
Additional debug info:
../../src/src/gsttividdec2.c(245): gstti_viddec2_process (): /GstPipeline:pipel:
Unable to decode frame with timestamp 0:00:00.000000000
Caught SIGSEGV accessing address 0x433aa022
Spinning. Please run 'gdb gst-launch 1155' to continue debugging, Ctrl-C to qu.
Makeing a little reaserch to solve this problme, I found that is something related with de DMA, the Encode and Decode, in this case dmaienc_h264 and dmaidec_h264 should share the resources, To do that, I need to change the groupid in the same number, does aybody know in what file the groupid is declared and where do I find it?