linuxserver / docker-ffmpeg

GNU General Public License v3.0
154 stars 46 forks source link

[FEAT] Compile ffmpeg with zimg #62

Closed ahobsonsayers closed 8 months ago

ahobsonsayers commented 8 months ago

Is this a new feature request?

Wanted change

I would like ffmpeg to be compiled with support for the zimg library enabled.

Reason for change

I would like to use filters that depends on zimg. Specifically I would like to use the zscale filter with ffmpeg.

Proposed code change

ffmpeg can be configured to compile with zimg using --enable-libzimg

zimg can be found here: https://github.com/sekrit-twc/zimg

github-actions[bot] commented 8 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

aptalca commented 8 months ago

@ahobsonsayers can you give this test image a try and confirm it works? ghcr.io/linuxserver/lspipepr-ffmpeg:6.1.1-cli-pkg-cf930eb6-dev-4d28b9bfbdcaf58fcc284656f0f5a23e6488a1ab-pr-63

Thanks

ahobsonsayers commented 8 months ago

Hey @aptalca

Just gave it a go with my ffmpeg command that uses the zscale filter and it seems to work perfectly 👌

Thanks so much!

ahobsonsayers commented 8 months ago

Amazing! Thanks!