Integrating gstreamer with TI's DVSDK

Hello,

I apologise if the information relating to my query has already been
answered but after a quick search I haven't been able to find a
complete answer and I am on a short time-line to get something working
before a 'big sell' meeting infront of the companies board of
directors!

I am wanting to make a quick application that can play back a video
via DVI (although it's not directly related to the beagleboard since I
have a Mistral EVM board, I'm hoping the work to get this working on
the beagleboard will also apply to me). The DVSDK (Beta1) from Texas
does include the appropriate kernel modules and a very basic
application to decode video, but I need to be able to take a 'simple'
AVI file with H.264 or Mpeg4 encoded video and AAC audio and display
it... I was hoping to use something like Phonon (Qt4.4) but this
depends on the gstreamer library...

I believe there are some patches required to get gstreamer to build
and run for the OMAP and any help in getting this up and running would
be greatly appreciated - even if it is just pointing me in the right
direction to get the patches so I can build it...

Thanks in advance
Richard

Please try posting at:
https://community.ti.com/forums/32.aspx

Angstrom has a NEON accelerated gstreamer ffmpeg module. That should
give you plenty decoding speed, but it won't use the DSP.Angstrom also
has a NEON accelerated openmax IL and gstreamer openmax plugin.

regards,

koen

> Hello,

> I apologise if the information relating to my query has already been
> answered but after a quick search I haven't been able to find a
> complete answer and I am on a short time-line to get something working
> before a 'big sell' meeting infront of the companies board of
> directors!

> I am wanting to make a quick application that can play back a video
> via DVI (although it's not directly related to the beagleboard since I
> have a Mistral EVM board, I'm hoping the work to get this working on
> the beagleboard will also apply to me). The DVSDK (Beta1) from Texas
> does include the appropriate kernel modules and a very basic
> application to decode video, but I need to be able to take a 'simple'
> AVI file with H.264 or Mpeg4 encoded video and AAC audio and display
> it... I was hoping to use something like Phonon (Qt4.4) but this
> depends on the gstreamer library...

> I believe there are some patches required to get gstreamer to build
> and run for the OMAP and any help in getting this up and running would
> be greatly appreciated - even if it is just pointing me in the right
> direction to get the patches so I can build it...

You can make use of the GStreamer plug-ins for DaVinci [1], since the
DVSDK is utilizing the same API. I believe this would be the TI-
preferred option and I expect the application note will eventually be
updated to include support for OMAP.

Angstrom has a NEON accelerated gstreamer ffmpeg module. That should
give you plenty decoding speed, but it won't use the DSP.Angstrom also
has a NEON accelerated openmax IL and gstreamer openmax plugin.

Option #2 would be to use the ARM-only libraries that Koen mentions
and that is a perfectly good option as well. This is probably the
simplest approach, but does consume significantly more ARM resources.

Option #3 is to make use of the OpenMAX IL components from the
OMAPZoom.org project, but I'm not aware of anyone here using them and
the OMAP3530 team at TI would not provide any support for that
approach.

[1] http://wiki.davincidsp.com/index.php?title=GStreamer

Regards,
Jason

Hello Richard,

I'm very much interested in your results of getting Phonon gstreamer
running on BeagleBoard.
In case GStreamer doesn't work as expected, there is an (unfinished)
ffmpeg BE in KDE svn, called avkode.

Thanks,
Philipp

May you give us an update about your success or issues?

I'm very much interested about getting Phonon to work with the board.

In case there is no success with gstreamer, there is also an
unfinished BE based on ffmpeg2 called avkode in KDE svn.

Hi,

Option #3 is to make use of the OpenMAX IL components from the
OMAPZoom.org project, but I'm not aware of anyone here using them and
the OMAP3530 team at TI would not provide any support for that
approach.

I'm using those.

I think the suggested setup is too complicated, so I tried to simplify
things a bit and created a clone of the sourcecode:
http://gitorious.org/projects/libomx-ti

This is of course only the arm-side wrappers, you would need to have
all the dsp stuff in place. I can give some help if anybody wants to
try.

Best regards.