Is the DSP benchmark in the same unit as the CPU? *ips? Seems like the DSP doing something, but is it the task you want.
in terms of capability, the BB-XM cpu "could" encode H264 720p base
profile at round 6-4Mbit/s.
but, that is neither using gstreamer-ti, nor the freely available
codecs which are capped at SD size.
The free h264 encoder should be able to encode in VGA, but that of
course does not take any gst or other overheads into account.
there is also the issue that usb webcam input into the BB is
not very efficient and people have struggled to input vga at
decent frame rates.
so, your finding that the cpu is loaded while the dsp is bored
are correct.
try to not encode at all and just input frames to see how much
load that produces...
right, I missed that in your pipeline. As far as I know ffmpegcolorspace
is a very bad performing components and has no NEON or even ARM
optimization. FFmpeg is not happy that it still carries it's name.
> Omitting the encoder, and adding explicit caps for conversion did the
> trick - the CPU usage went up to 100%. Now the issue is how to remove
> the need for the color-conversion. The webcam (logitech) -can only
> stream in YUY2 and MJPEG, while the TVidenc1 can only take UYVY, Y8C8,
> NV16, and NV12. Does anyone know of any other solutions I might want
> to consider?
as said, a more optimized color space conversion could help. converting
from YUY2 to e.g. UYVY is just shuffling some color components around
and can be done in ~3ms per VGA frame using NEON. Even if the color space
conversion would take a significant amount of the frame time, it can still
be done in parallel with the dsp encoding the previous frame, but I guess
teaching gst to do that is not trivial...
No idea, I'm no gst expert ...
I'm very interested in the same topic. Recently, I came across the
same issue with colorspace conversion eating a lot of CPU.
Theoretically, there is a solution to this problem in gstreamer-ti
trunk, as they introduced new DSP accelerated element TIPrepEncBuf
for color space conversion specially for TIVidenc1. I didn't really
checked if it could convert the formats provided by Logitec cameras,
so no idea here.
If you have a time and energy you could try to get following patch
working under oe:
http://patchwork.openembedded.org/patch/3558/
which will get you the ddompe branch containing this new element.
I would really appreciate if you would post your results here.
Regards,
Maksym.
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.