Keylost / jetson-ffmpeg

ffmpeg support on jetson nano
Other
64 stars 24 forks source link

Is there any sample for nvmpi without ffmpeg? #17

Closed Kevin4ch closed 11 months ago

bmegli commented 1 year ago

There are three possible contexts to understand this question:

Nvidia Multimedia API ("NVMPI", MMAPI)

jetson-ffmpeg really uses this Nvidia Jetson API

See examples by NVIDIA here:

I will prepare you. The examples are much worse than you might expect ;-)

I would advise against using NVMPI directly:

NVMPI is much broader than just encoding and decoding.

There may be some reasons why you would still want to use it directly.

jetson-ffmpeg nvmpi library

This is thin wrapper on Nvidia Multimedia API ("NVMPI") to enable integration with FFmpeg.

The nvmpi library name may be confusing in the context of Nvidia Multimedia API, and FFmpeg encoder/decoder nvmpi.

nvmpi is small library to just encode/decode in FFmpeg accessible way.

FFmpeg use in jetson_ffmpeg is kind of example use.

I would advise against using this layer directly:

The FFmpeg decoder/encoder is called nvmpi (e.g. h264_nvmpi)

Nvidia FFmpeg "nvmpi"

There was/is decode only support for FFmpeg for Jetson by NVidia

This really calls the same Nvidia Multimedia API

You may see some trace in Nvidia docs.

The FFmpeg decoder is called nvmpi (e.g. h264_nvmpi)

On Nvidia forums sometimes nvmpi is used to describe Nvidia FFmpeg decoding.

bmegli commented 1 year ago

General recommendations

Access multimedia with FFmpeg or GStreamer (or any other abstraction).

Prefer CLI over writing code

Kevin4ch commented 11 months ago

thanks a lot, i'm using ffmeg now.