how to enable hardware acceleration on custom platform in ffmpeg?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to enable hardware acceleration on custom platform in ffmpeg?

tugouxp
hi folks:
   the ffmpeg  perform software decode by default, so, how to utilize the hardware codec on custom target platform  if hardware codec supported?


   now the gstreamer and opemnax(IL) has been running ok on the target, is there anyway to use the  OMX framework to replace the built in software implementation on ffmpeg?
   if so, how to ? any doucments?
   thanks for your help!

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: how to enable hardware acceleration on custom platform in ffmpeg?

Moritz Barsnick
On Thu, Aug 09, 2018 at 16:38:47 +0800, tugouxp wrote:
>    now the gstreamer and opemnax(IL) has been running ok on the
>    target, is there anyway to use the  OMX framework to replace the
>    built in software implementation on ffmpeg? if so, how to ? any
>    doucments?

Sure, ffmpeg supports OMX. You need to find a build of ffmpeg which was
built with "--enable-omx" and possibly "--enable-omx-rpi", or build it
yourself.

Calling
$ ffmpeg -hwaccels
will show you whether your version already supports omx.

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".