Package: webp
Version: 1.2.2-2

The `webp` package is missing several binaries which are built, but which the upstream maintainers have classified as "examples". They are anim_dump and anim_diff.

The binaries in "examples" in some cases conflict with the normally installed binaries (e.g. cwebp, dwebp). These are the only two exceptions:

fred@mapache:~/Downloads/libwebp-1.2.4$ LIBWEBP_SET=$(find examples/.libs -executable -type f | grep -Po '/[a-z0-9_]*?$' | cut -c 2- | sort -h); DPKG_SET=$(dpkg -L webp | grep /usr/bin/ | grep -Po '/[a-z0-9_]*?$' | cut -c 2- | sort -h); diff <(cat <<< $DPKG_SET) <(cat <<< $LIBWEBP_SET)
0a1,2
> anim_diff
> anim_dump

These binaries are highly useful because `webpmux`, one of the installed binaries, cannot render an animation as it is, and doesn't handle frame disposal or offsetting properly.

With these binaries, I can make a pipeline to convert WebP animation to MP4 easily:

#!/bin/bash
anim_dump -folder /tmp/webp -tiff input.webp && \
ffmpeg -f tiff -f lavfi -i "color=white" -i /tmp/webp/dump_%04d.tiff -c:v h264_nvenc -r 30 -qp 0 \ -pix_fmt yuv420p -filter_complex "scale2ref,overlay=shortest=1,setsar=1,scale=max(320\,iw):-1" -y \
    /tmp/webp.mp4

Without them, I can't. Please consider fixing this oversight — thank you!

-- System Information:
Debian Release: N/A
  APT prefers jammy-updates
APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), (100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.3-76060003-generic (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages webp depends on:
ii  freeglut3      2.8.1-6
ii  libc6          2.35-0ubuntu3.1
ii  libgif7        5.1.9-2build2
ii  libgl1         1.4.0-1
ii  libjpeg8       8c-2ubuntu10
ii  libpng16-16    1.6.37-3build5
ii  libtiff5       4.3.0-6ubuntu0.1
ii  libwebp7       1.2.2-2
ii  libwebpdemux2  1.2.2-2
ii  libwebpmux3    1.2.2-2

webp recommends no packages.

webp suggests no packages.

-- no debconf information
Thank you for using reportbug

------------------------------------------------------------------------

Best,
Fred Brennan

  [[[ To any NSA and FBI agents reading my email: please consider    ]]]
  [[[ whether defending the US Constitution against all enemies,     ]]]
  [[[ foreign or domestic, requires you to follow Snowden's example. ]]]

GnuPG: 98F2 8F76 7470 129F BE3B 054C E215 4DD1 A1C7 7B8B
Twitter: @fr_brennan
Personal website <https://ctrlcctrlv.github.io/>

Reply via email to