[Bug 777411] Caps not negotiated when using certain elements
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jan 18 02:38:25 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=777411
Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ystreet00 at gmail.com
--- Comment #1 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
(In reply to charles from comment #0)
> Running the pipeline below will ends with "not-negotiated" error.
>
> gst-launch-1.0 -vvv udpsrc port=8888 ! application/x-rtp,clock-rate=90000 !
> rtpmp4vdepay ! mpeg4videoparse ! video/mpeg ! avimux ! filesink
> location=/tmp/test.avi
This won't work as-is as it's missing some important information in the rtp
caps.
> gst-launch-1.0 -v videotestsrc ! mpeg4videoparse ! avenc_mpeg4 ! avimux
> ! fakesink
mpeg4videoparse and avenc_mpeg4 are the wrong way around.
However, with the server pipeline:
gst-launch-1.0 -v videotestsrc ! avenc_mpeg4 ! mpeg4videoparse ! rtpmp4vpay !
udpsink host=127.0.0.1 port=8888
and client pipeline:
GST_DEBUG=3,*CAPS*:5,*PAD*:5 gst-launch-1.0 -v udpsrc address=127.0.0.1
port=8888 caps='rtp caps from server pipeline' ! rtpmp4vdepay ! mpeg4videoparse
! avimux ! fakesink silent=false
We see the issue that can be worked around by adding a
video/mpeg,framerate=30/1 capsfilter after mpeg4videoparse.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list