Avimux refuses caps when sending JPEGs over UDP

charlesu charles at au-zone.com
Mon Jan 16 19:00:48 UTC 2017


I have run into a similar problem. Below is the pipeline that I use plus the
error messages.

gst-launch-1.0 -vvv udpsrc port=8888 ! application/x-rtp,clock-rate=90000 !
rtpmp4vdepay 
! mpeg4videoparse ! video/mpeg ! avimux ! filesink location=/tmp/test.avi
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
"application/x-rtp\,\ clock-rate\=\(int\)90000\,\ media\=\(string\)video\,\
encoding-name\=\(string\)MP4V-ES"
/GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps =
"video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false"
/GstPipeline:pipeline0/GstMpeg4VParse:mpeg4vparse0.GstPad:sink: caps =
"video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false"
/GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps =
"application/x-rtp\,\ clock-rate\=\(int\)90000\,\ media\=\(string\)video\,\
encoding-name\=\(string\)MP4V-ES"
/GstPipeline:pipeline0/GstMpeg4VParse:mpeg4vparse0.GstPad:src: caps =
"video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\
parsed\=\(boolean\)true"
/GstPipeline:pipeline0/GstMpeg4VParse:mpeg4vparse0.GstPad:src: caps =
"video/mpeg\,\ mpegversion\=\(int\)4\,\ systemstream\=\(boolean\)false\,\
parsed\=\(boolean\)true\,\ profile\=\(string\)simple\,\
level\=\(string\)4a\,\
codec_data\=\(buffer\)000001b004000001b59113000001000000012000c8888007d28045a14103\,\
width\=\(int\)1280\,\ height\=\(int\)720\,\
pixel-aspect-ratio\=\(fraction\)1/1"
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
/home/poky/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesrc.c(2933):
gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.463042667

It fails the negotiation somehow but I am not exactly sure what is missing.
It works fine if I replace avimux with other mux like matroskamux or mp4mux
or if the stream is directly from the source not going through UDP.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Avimux-refuses-caps-when-sending-JPEGs-over-UDP-tp4677838p4681478.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list