Avimux refuses caps when sending JPEGs over UDP
Nicolas Dufresne
nicolas at ndufresne.ca
Tue Jan 17 18:56:23 UTC 2017
Le lundi 16 janvier 2017 à 11:00 -0800, charlesu a écrit :
> 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
Please, file this issue on bugs.gnome.org. This is clearly a bug.
Here's a simpler pipeline that should work, but instead fails.
gst-launch-1.0 -v videotestsrc ! mpeg4videoparse ! avenc_mpeg4 ! avimux
! fakesink
> 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\)000001b004000001b59113000001000000012000c888800
> 7d28045a14103\,\
> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170117/85dce934/attachment.sig>
More information about the gstreamer-devel
mailing list