| Summary: | Enable FFmpeg 4, 5 and 6 in FFMPEGMediaPlayer and allow loading provided libs (option) | ||
|---|---|---|---|
| Product: | [JogAmp] Jogl | Reporter: | Sven Gothel <sgothel> |
| Component: | video | Assignee: | Sven Gothel <sgothel> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | maxime-jogamp |
| Priority: | P4 | ||
| Version: | 2.5.0 | ||
| Hardware: | All | ||
| OS: | all | ||
| Type: | DEFECT | SCM Refs: |
2be7001101dbb16e5264c9c38b9764ba1e39ab5c
2ecf00d7733c473358b652c50b83cb95f65174ff
|
| Workaround: | --- | ||
|
Description
Sven Gothel
2020-01-03 02:24:58 CET
*** Bug 1356 has been marked as a duplicate of this bug. *** jogl commit 2be7001101dbb16e5264c9c38b9764ba1e39ab5c Bug 1420: Add FFMpeg 4.* versioned lib-names and provide optional internal lib lookup New property 'jogl.ffmpeg.lib' may be set to 'internal', setting PREFER_SYSTEM_LIBS:=false (default it true) Non system internal libraries are named 'internal_<basename>', e.g. 'internal_avutil'. System default libraries are named '<basename>', e.g. 'avutil'. If PREFER_SYSTEM_LIBS is true (default), we lookup the default library first, then the versioned library names and last the internal library. If PREFER_SYSTEM_LIBS is false, we lookup the internal library first, then the versioned library names and last the default library. +++ TODO: Resolve FFmpeg 4.* API differences to previous 3.* version. commit 2ecf00d7733c473358b652c50b83cb95f65174ff
Date: Thu Feb 23 22:18:39 2023 +0100
FFMPEGMediaPlayer: Add implementation update for FFmpeg version 4.* (Debian 11), 5.* (Debian 12) and 6.* (Current Development trunk)
From here on, libav support has been dropped.
Required FFmpeg libraries to be fully matched by their major runtime- and compiletime-versions are:
- avcodec
- avformat
- avutil
- swresample
Library avdevice is optional and only used for video input devices (camera).
Library avresample has been removed, since FFmpeg dropped it as well in version 6.*
and swresample is preferred for lower versions.
The matching major-versions of each library to the FFmpeg version
is documented within FFMPEGMediaPlayer class API-doc.
Each implementation version uses the non-deprecated FFmpeg code-path
and compilation using matching header files is warning-free.
|