Tool/software: Linux
Hi,
I tried to reference : http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_Multimedia.html to transmit H264 video with UDP correctly .
But if I use mpeg4 decoder like :
Tran :gst-launch-1.0 -e v4l2src device=/dev/video6 io-mode=4 ! 'video/x-raw,format=(string)YUY2,width=1920,height=1080' ! vpe num-input-buffers=8 ! queue ! ducatimpeg4enc bitrate=4000 ! mpeg4videoparse ! rtpmp4gpay ! udpsink host=127.0.0.1 port=1234
Recv :gst-launch-1.0 -v udpsrc port=1234 ! 'application/x-rtp,media=(string)video, clock-rate=(int)90000, payload=(int)96' ! rtpmp4gdepay ! mpeg4videoparse ! ducatimpeg4dec ! vpe ! 'video/x-raw,format=(string)NV12, width=1920,height=1080' ! waylandsink sync=false
I got the error :
ERROR: from element /GstPipeline:pipeline0/GstCapsFilter:capsfilter0: Filter caps do not completely specify the output format
Additional debug info:
../../../gstreamer-1.8.3/plugins/elements/gstcapsfilter.c(454): gst_capsfilter_prepare_buf (): /GstPipeline:pipeline0/GstCapsFilter:capsfilter0:
Output caps are unfixed: application/x-rtp, media=(string)video, clock-rate=(int)90000, payload=(int)96, encoding-name=(string)MPEG4-GENERIC, mode=(string){ generic, CELP-cbr, CELP-vbr, AAC-lbr, AAC-hbr }
I think that error is due to recv client.
I tried to play mp4 udp stream with VLC. Fail too.