Re: [FFmpeg-devel] Snapping ffmpeg
Hi Timo, On 1 June 2017 at 14:47, Timo Rothenpielerwrote: > Would this only grant access to the binaries, or also the > libraries/development files? > Not sure I follow. The snap can contain whatever you want, binaries, libraries etc. At build time you can specify 'build-packages' required by the compilation, and 'stage-packages' required to be inside the snap at runtime. Here's [0] an example yaml (for ffmpeg) which might illustrate this. I knocked this together via a bit of trial and error, so it's not necessarily confirming to your build standards or recommended enabled options, but it should give you an idea. http://bazaar.launchpad.net/~popey/+junk/ffmpegmaster/view/head:/snap/snapcraft.yaml > It'd be debatable which dependencies the built ffmpeg includes. A > minimal ffmpeg without most/any dependencies is already big enough, but > when bundling all external dependencies, it would result in a quite huge > download. > Snaps have a couple of interesting concepts. The snap itself is a squashfs file so is compressed and read-only on-disk. So in some circumstances ends up being a smaller on-disk footprint than a traditional install of ffmpeg via a typical package manager. We also support delta updates to minimise download (and upload) bandwidth. Our build service (backed by launchpad) can do the builds for you too, if needed. > I'll have a look at this if nobody else is super eager to jump at it. > That would be awesome. Thanks. We have a forum [1] where the snapd and snapcraft developers hang out. If you get stuck in terms of documentation or bugs, feel free to post there or ping me personally. [0] http://bazaar.launchpad.net/~popey/+junk/ffmpegmaster/view/head:/snap/snapcraft.yaml [1] http://forum.snapcraft.io/ -- Alan Pope Snap Advocate Canonical - Ubuntu Engineering and Services +44 (0) 7973 620 164 alan.p...@canonical.com http://ubuntu.com/ ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Snapping ffmpeg
2017-06-01 21:51 GMT+08:00 Alan Pope: > Hi Reto, > > On 1 June 2017 at 12:37, Reto Kromer wrote: > > Alan Pope wrote: > > > >>Snaps are universal Linux packages. > > > > On number of Linux distributions you can use Linuxbrew: > > > > brew install ffmpeg --with-the-parameters-you-wish > > > > It works pretty well! We use it on Ubuntu and on Slackware. > > Most of the Homebrew packages are available also on Linuxbrew. > > > > I'd never heard of Linuxbrew! Thanks. > Now, you have been heard :) > > -- > Alan Pope > Snap Advocate > > Canonical - Ubuntu Engineering and Services > +44 (0) 7973 620 164 > alan.p...@canonical.com > http://ubuntu.com/ > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Snapping ffmpeg
Hi Reto, On 1 June 2017 at 12:37, Reto Kromerwrote: > Alan Pope wrote: > >>Snaps are universal Linux packages. > > On number of Linux distributions you can use Linuxbrew: > > brew install ffmpeg --with-the-parameters-you-wish > > It works pretty well! We use it on Ubuntu and on Slackware. > Most of the Homebrew packages are available also on Linuxbrew. > I'd never heard of Linuxbrew! Thanks. -- Alan Pope Snap Advocate Canonical - Ubuntu Engineering and Services +44 (0) 7973 620 164 alan.p...@canonical.com http://ubuntu.com/ ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Snapping ffmpeg
Am 01.06.2017 um 12:09 schrieb Alan Pope: > Hello, > > I work for Canonical on Snapcraft [0]. We recently asked [1] our > community of users and developers what applications they'd like to see > snapped. ffmpeg came up on the list so I thought I'd contact your > devel list in the first instance. > > Snaps are universal Linux packages. Developers can easily setup > snapcraft to build [2] and push to the snap store, on each landing in > the master branch. Testers and adventurous users can subscribe to the > 'edge' channel and receive the firehose of updates automatically. > Developers can then push a release to the 'stable' channel for more > conservative users. Other channels and features are available, but > that's the basics. > > On a snap supported system [3], the users simply "snap install ffmpeg" > (for example) to install the binary build, adding "--edge" to > subscribe to that channel. Would this only grant access to the binaries, or also the libraries/development files? > Creating a simple yaml file [4] is all it takes to get started making > a snap built. Would someone on the ffmpeg dev team be interested in > taking a look at this as a new way to deliver up to date builds of > ffmpeg to millions? It'd be debatable which dependencies the built ffmpeg includes. A minimal ffmpeg without most/any dependencies is already big enough, but when bundling all external dependencies, it would result in a quite huge download. I'll have a look at this if nobody else is super eager to jump at it. signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] Snapping ffmpeg
Alan Pope wrote: >Snaps are universal Linux packages. On number of Linux distributions you can use Linuxbrew: brew install ffmpeg --with-the-parameters-you-wish It works pretty well! We use it on Ubuntu and on Slackware. Most of the Homebrew packages are available also on Linuxbrew. Best regards, Reto ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel