Page 1 of 1

DSP acceleration

Posted: 25 Nov 2011 12:17
by biga
Hi!

I am using VLC on ARM (Cortex A8) for streaming video of a webcam. I use x264 for transcoding, which uses about 60-70% CPU on a 320x240 video input with the superfast x264 preset. As I see the encoder is using ARM's NEON coprocessor to speed up transcoding, but I'd like to offload the ARM CPU with using the builtin dsp for the encoding. Is it possible? Regarding to the 1.1.0 announcement the VLC can use a DSP for decoding/encoding in H.264 (OpenMAX IL), so I need instructions how to setup my system to enjoy its benefits.

Thanks for your replies.

biga.

Re: DSP acceleration

Posted: 25 Nov 2011 13:22
by Rémi Denis-Courmont
It is possible if you have a VLC encoder plugin for the DSP. Your question is too vague for a more specific answer.

Re: DSP acceleration

Posted: 25 Nov 2011 14:11
by biga
Thanks for your reply. I read in the 1.1.0 announcement "Support for Audio/Video decoders and encoders using OpenMAX IL components for DSP". So my question: does exist a VLC encoder plugin for the DSP? If it does, how can I use it? How can I prepare my embedded ARM system for using it?

Re: DSP acceleration

Posted: 25 Nov 2011 14:29
by Rémi Denis-Courmont
I think this is self-explanatory. I really have nothing to add.

Re: DSP acceleration

Posted: 25 Nov 2011 14:46
by biga
What is self-explanatory? Do you know any encoder plugin for VLC that is using DSP acceleration? Or should I write such a plugin?

Re: DSP acceleration

Posted: 25 Nov 2011 16:44
by Jean-Baptiste Kempf
the omxil plugin of VLC allows to use DSP accelaration for decoding and encoding.

Re: DSP acceleration

Posted: 25 Nov 2011 17:11
by Rémi Denis-Courmont
The sentence you quoted is self-explanatory: "Support for Audio/Video decoders and encoders using OpenMAX IL components for DSP"

Re: DSP acceleration

Posted: 27 Nov 2011 19:24
by biga
Thank you for your reply. How can I use this omxil plugin for encoding? Is it enough to run configure script with --enable-omxil? What preparation, dependencies are required? I mean installing dspbridge, etc... I have an ARM board with linaro distro.