Get percentage completion in gstreamer
Antonio Ospite
ao2 at ao2.it
Tue Oct 28 07:09:36 PDT 2014
On Tue, 28 Oct 2014 03:25:39 -0700 (PDT)
Baby Octopus <jagadishkamathk at gmail.com> wrote:
> Hi,
>
> I have following pipeline for format conversion
>
> gst-launch-1.0 filesrc location=test.mp4 ! decodebin ! videoscale !
> video/x-raw,width=640,height=360 ! x264enc bitrate=600 ! mp4mux ! filesink
> location=out.mp4
>
> I would like to periodically show the percentage completion of this format
> conversion job. Is there a direct way to do this?
>
Try adding a "progressreport" element just before filesink, you can
control the update frequency with the "update-freq" property.
Ciao,
Antonio
--
Antonio Ospite
http://ao2.it
A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
More information about the gstreamer-devel
mailing list