[gst-devel] Figure out performance with Gstreamer on ARM processor
Vahe Gerald-B06319
B06319 at freescale.com
Mon Nov 22 16:09:00 CET 2010
Hello List,
I am running FFMPEG codecs on an ARM processor. In an attempt to figure
out performance, I am trying to encode the videotestsrc with the MPEG4
software encoder.
I initially pulled together this pipeline, which worked:
gst-launch -e videotestsrc ! video/x-raw-yuv, framerate=15/1,
width=320, height=240 ! ffenc_mpeg4 ! avimux ! filesink
location=test.avi
However, I notice that the processor is over its limit. In an attempt
to figure out how under real time it is, I figured I would create a RAW
file on the target with a known length. (IE---10 seconds)
Then, ENCODE that file with a separate command. That way, I could see
if it takes 12 seconds or 20 seconds to encode. (And I will know how
close the processor is to handling it real time.)
To create the RAW file, I pulled together this pipeline, which appeared
to work fine:
gst-launch -e videotestsrc ! video/x-raw-yuv framerate=15/1, width=320,
height=240 ! filesink location=testraw.avi
Now, I was thinking I could use this command to "TIME" how long it would
take to encode the file. However, I get a bunch of errors. (Below)
time gst-launch -e filesrc location=testraw.avi ! ffenc_mpeg4 ! avimux !
filesink location=test.avi
Any Idea what I am doing wrong or what these errors mean? I also tried
AVIMUX and DEMUX in their perspective places, but got similar errors.
Any Help or suggestions would be GREATLY appreciated!
-gerry
** (gst-launch-0.10:2013): CRITICAL **: gst_ffmpegenc_chain_video:
assertion `frame_size == GST_BUFFER_SIZE (inbuf)' failed
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal
data flow error.
Additional debug info:
gstbasesrc.c(2378): gst_base_src_loop ():
/GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming task paused, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
root at freescale ~$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101122/18353b8d/attachment.htm>
More information about the gstreamer-devel
mailing list