[gstreamer-1.0] Forcing decodebin to plug in parse element before decoder

Kishore Arepalli kishore.arepalli at gmail.com
Mon Feb 4 04:16:24 PST 2013


Hello,

How to force the decodebin to plug in h264parse before decoder?

Decoder caps are:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-h264
          stream-format: byte-stream
              alignment: au

qtdemux out caps are "video/x-h264, stream-format=avc, alignment: au"

Here, "stream-format" needs to converted from "avc" to "byte-stream". So, I
need to insert h264parse element in order to feed to correct data to
decoder. But decodebin is not inserting h264parse instead directly connects
qtdemux to decoder.

pipeline:
gst-launch-1.0.exe filesrc location=test.mp4 ! decodebin ! d3dvideosink

Thanks in advance.

Kishore Arepalli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130204/8af8bbcd/attachment.html>


More information about the gstreamer-devel mailing list