DSP acceleration

This forum is about all development around libVLC.
biga
Blank Cone
Blank Cone
Posts: 21
Joined: 11 May 2011 10:31

DSP acceleration

Postby biga » 25 Nov 2011 12:17

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: DSP acceleration

Postby Rémi Denis-Courmont » 25 Nov 2011 13:22

It is possible if you have a VLC encoder plugin for the DSP. Your question is too vague for a more specific answer.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

biga
Blank Cone
Blank Cone
Posts: 21
Joined: 11 May 2011 10:31

Re: DSP acceleration

Postby biga » 25 Nov 2011 14:11

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: DSP acceleration

Postby Rémi Denis-Courmont » 25 Nov 2011 14:29

I think this is self-explanatory. I really have nothing to add.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

biga
Blank Cone
Blank Cone
Posts: 21
Joined: 11 May 2011 10:31

Re: DSP acceleration

Postby biga » 25 Nov 2011 14:46

What is self-explanatory? Do you know any encoder plugin for VLC that is using DSP acceleration? Or should I write such a plugin?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: DSP acceleration

Postby Jean-Baptiste Kempf » 25 Nov 2011 16:44

the omxil plugin of VLC allows to use DSP accelaration for decoding and encoding.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: DSP acceleration

Postby Rémi Denis-Courmont » 25 Nov 2011 17:11

The sentence you quoted is self-explanatory: "Support for Audio/Video decoders and encoders using OpenMAX IL components for DSP"
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

biga
Blank Cone
Blank Cone
Posts: 21
Joined: 11 May 2011 10:31

Re: DSP acceleration

Postby biga » 27 Nov 2011 19:24

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 3 guests