These stage snaps let you compile your application against FFmpeg libraries.
These snaps are still in development, their presentation, usage, and shipping content may change without notice.
SDK stage snaps are named with
_variant_name_ is one of the following:
The linked product will become LGPL if it is statically linked against FFmpeg libraries.
The linked product will become GPLv2 if it is linked against FFmpeg libraries.
The linked product will become GPLv3 if it is linked against FFmpeg libraries.
Add the following part definition to your snap’s Snapcraft YAML:
parts: ffmpeg: plugin: nil stage-snaps: - ffmpeg-sdk-_variant_
, add the
ffmpeg part to your consuming parts’
parts: _consumer_part_name_: after: - ffmpeg
, then copy & paste the entire
stage-packages stanza from the corresponding snapcraft source recipe to the
parts: ffmpeg: plugin: nil stage-snaps: - ffmpeg-sdk-_variant_ stage-packages: - ...
, then merge the following fileset rules and prime rules so that only the required files will be placed into the snap:
filesets: library-shared: - '**/lib/**/*.so*' prime: - $library-shared