Jumogehn
Jumogehn

Reputation: 1144

I'd like to know the relations among openmax, directshow and ffmpeg

Upvotes: 0

Views: 162

Answers (1)

micha137
micha137

Reputation: 1295

  • OpenMax is an API specification
  • DirectShow is an API specification and an implementation of that API
  • FFmpeg provides libraries, and libraries are implementations of API specifications

Is openmax for linux as directshow is for windows?

No. OpenMax is a cross-platform API. Noone has seen it on Windows, but theoretically one could implement the OpenMAX API on Windows.

Do openmax and directshow have the same purpose?

Considering both as APIs, yes, since both address multimedia.

Does openmax provide hardware decoding to ffmpeg in linux as DirectShow provides hw decoding to ffmpeg in windows?

The issue of hardware support is independent of all three APIs. Though OpenMax is mainly used to expose hardware for multimedia acceleration under Linux, but one could very well implement an OpenMax API partially or fully in software (and on other platforms). DirectShow has filters that are implemented completely in software and others that expose hardware. Same can be said about ffmpeg encoders, decoders and filters: some use hardware (see QSV encoders, OpenCL Video filters - but then again OpenCl might be realized in partially or completely software), most are software only.

Upvotes: 2

Related Questions