avidemux vs qtdemux
Jorge Fernandez Monteagudo
jorgefm at cirsa.com
Fri Oct 11 07:53:45 CEST 2013
Hi,
Thanks for the tips about tools to profiling!
I know the big time is spent in decoding and painting frames. My real pipeline
is like this
gst-launch-0.10 filesrc location=video.mp4 ! qtdemux ! ffdec_mpeg4 ! omapfbsink
or
gst-launch-0.10 filesrc location=video.avi ! avidemux ! ffdec_mpeg4 ! omapfbsink
The omapfbsink is a custom item to do the conversion in NEON and painting directly to framebuffer
but the only item I didn't thought about it, it was the qtdemux/avidemux, and that's the origin
of my question, to know the advantages using one of them, from the CPU usage point of view.
________________________________________
From: gstreamer-devel-bounces+jorgefm=cirsa.com at lists.freedesktop.org [gstreamer-devel-bounces+jorgefm=cirsa.com at lists.freedesktop.org] On Behalf Of Nicolas Dufresne [nicolas.dufresne at collabora.com]
Sent: Thursday, October 10, 2013 3:07 PM
To: Discussion of the development of and with GStreamer
Subject: Re: avidemux vs qtdemux
Le jeudi 10 octobre 2013 à 09:10 +0200, Jorge Fernandez Monteagudo a
écrit :
> Which is faster? I have the same video in an avi and in a mp4 file but
> the cpu usage is very similar.
> I use the next pipelines for the avi and for mp4 one.
I would be very surprised if demuxing if the bottleneck. Usually one
should profile the code to figure-out what is using the biggest amount
of CPU. There is many tool, these days I prefer the command "perf top"
but other statistic based programs could do (like oprofile).
One thing I can predict is that fbdevsink is probably doing a copy of
the video frames, ffmpegcolorspace converts in software from YUV to RGB
space. Embedded platforms usually have hardware to prevent copy and
accelerate color convertion. I would look into this, after profiling
session. Also using a hardware decoder would probably be a better idea
if available.
Nicolas
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.
This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
More information about the gstreamer-devel
mailing list