media information on decoder

Mathieu Duponchelle mathieu at centricular.com
Fri Nov 9 01:56:38 UTC 2018


Yes it will, as GstElement inherits from GInitiallyUnowned.

If for one reason or another your call to gst_bin_add() fails unreffing the element remains your responsibility.


On 11/9/18 2:48 AM, quang_openstack wrote:
> Hi everyone,
> I am using gstreamer to decode video and audio from udpsrc like this
>
> gst-launch-1.0 udpsrc port=5000 ! tsdemux name=demuxer demuxer. ! queue !
> h265parse ! omxh265dec ! nvoverlaysink demuxer. ! queue ! faad !
> audioconvert ! alsasink device=aux_plug
>
> But how can I get media information like video resolution, framerate,
> bitrate, ...
> Any suggestion is appreciated.
> Thank in advance
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list