Bug#934590: libmlt-data: The package became bloated

2019-08-12 Thread Горбешко Богдан

Package: libmlt-data
Version: 6.16.0-3
Severity: minor

Dear Maintainer,

After the last upgrade, the package became about 230 MBs larger, because 
of a lot of large lumas in PGM format, each about 4 MBs. Is there an 
important reason to keep them uncompressed on a disk? Even the fast GZip 
compression can drastically reduce their size.




-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'oldoldstable-updates'), 
(500, 'oldoldstable'), (500, 'testing')

Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_UA.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8), 
LANGUAGE=ru_UA:ru (charmap=UTF-8)

Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information



Bug#934590: libmlt-data: The package became bloated

2019-08-12 Thread Patrick Matthäi
Am 12.08.2019 um 13:11 schrieb Горбешко Богдан:
> Package: libmlt-data
> Version: 6.16.0-3
> Severity: minor
>
> Dear Maintainer,
>
> After the last upgrade, the package became about 230 MBs larger,
> because of a lot of large lumas in PGM format, each about 4 MBs. Is
> there an important reason to keep them uncompressed on a disk? Even
> the fast GZip compression can drastically reduce their size.
>
Hi Dan,

what is your opionion about this? This is the list of the affected files:

$ dpkg-deb -c libmlt-data_6.16.0-3_all.deb | grep .pgm$
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma01.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma02.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma03.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma04.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma05.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma06.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma07.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma08.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma09.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma10.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma11.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma12.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma13.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma14.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma15.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma16.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma17.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma18.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma19.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma20.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma21.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/16_9/luma22.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma01.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma02.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma03.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma04.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma05.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma06.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma07.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma08.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma09.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma10.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma11.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma12.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma13.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma14.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma15.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma16.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma17.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma18.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma19.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma20.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma21.pgm
-rw-r--r-- root/root   4147219 2019-07-23 11:39
./usr/share/mlt/lumas/9_16/luma22.pgm
-rw-r--r-- root/root    691217 2019-07-23 11:39
./usr/share/mlt/lumas/NTSC/luma01.pgm
-rw-r--r-- root/root    691217 2019-07-23 11:39
./usr/share/mlt/lumas/NTSC/luma02.pgm
-rw-r--r-- root/root    691217 2019-07-23 11:39
./usr/share/mlt/lumas/NTSC/luma03.pgm
-rw-r--r-- root/root    691217 2019-07-23 11:39
./usr/share/mlt/lumas/NTSC/luma04.pgm
-rw-r--r-- root/root    691217 2019-07-23 11:39
./usr/share/mlt/lumas/NTSC/luma05.pgm
-rw-r--r-- root/root    691217 2019-07-23 11:39
./usr/share/mlt/lumas/NTSC/luma06.pgm
-rw-r--r-- root/root    691217 2019-07-23 11:39
./usr/share/mlt/lumas/NTSC/luma07.pgm
-rw-r--r-- root/root    691217 2019-07-23 11:39
./usr/share/mlt/lumas

Bug#934590: [Mlt-devel] Bug#934590: libmlt-data: The package became bloated

2019-08-13 Thread Dan Dennedy
On Mon, Aug 12, 2019 at 5:27 AM Patrick Matthäi 
wrote:

> Am 12.08.2019 um 13:11 schrieb Горбешко Богдан:
> > Package: libmlt-data
> > Version: 6.16.0-3
> > Severity: minor
> >
> > Dear Maintainer,
> >
> > After the last upgrade, the package became about 230 MBs larger,
> > because of a lot of large lumas in PGM format, each about 4 MBs. Is
> > there an important reason to keep them uncompressed on a disk? Even
> > the fast GZip compression can drastically reduce their size.
> >
> Hi Dan,
>
> what is your opionion about this? This is the list of the affected files:
>

This was intentional to produce transitions with the correct aspect ratio.
The PGM images cannot be simply gzip compressed because the PGM reader in
MLT is not integrated with zlib. Instead, the package can use the configure
option --luma-compress to output compressed PNG. However, these are 8-bit
instead of the 16-bit PGM, which provides better quality transitions. Since
these are procedurally-generated, I started working on a change to generate
the image on-demand instead of reading a file. I plan to do that for the
next release.


Bug#934590: [Mlt-devel] Bug#934590: libmlt-data: The package became bloated

2019-08-13 Thread Горбешко Богдан

On 13.08.2019 22:22, Dan Dennedy wrote:
On Mon, Aug 12, 2019 at 5:27 AM Patrick Matthäi > wrote:


Am 12.08.2019 um 13:11 schrieb Горбешко Богдан:
> Package: libmlt-data
> Version: 6.16.0-3
> Severity: minor
>
> Dear Maintainer,
>
> After the last upgrade, the package became about 230 MBs larger,
> because of a lot of large lumas in PGM format, each about 4 MBs. Is
> there an important reason to keep them uncompressed on a disk? Even
> the fast GZip compression can drastically reduce their size.
>
Hi Dan,

what is your opionion about this? This is the list of the affected
files:


This was intentional to produce transitions with the correct aspect 
ratio. The PGM images cannot be simply gzip compressed because the PGM 
reader in MLT is not integrated with zlib. Instead, the package can 
use the configure option --luma-compress to output compressed PNG. 
However, these are 8-bit instead of the 16-bit PGM, which provides 
better quality transitions. Since these are procedurally-generated, I 
started working on a change to generate the image on-demand instead of 
reading a file. I plan to do that for the next release.



Okay; thanks for explanation!



Bug#934590: [Mlt-devel] Bug#934590: libmlt-data: The package became bloated

2019-08-20 Thread Dan Dennedy
Just a quick update to mention that this change has been committed to git
master for next release, which will come before the end of the year.

On Tue, Aug 13, 2019 at 2:53 PM Горбешко Богдан 
wrote:

> On 13.08.2019 22:22, Dan Dennedy wrote:
> > On Mon, Aug 12, 2019 at 5:27 AM Patrick Matthäi  > > wrote:
> >
> > Am 12.08.2019 um 13:11 schrieb Горбешко Богдан:
> > > Package: libmlt-data
> > > Version: 6.16.0-3
> > > Severity: minor
> > >
> > > Dear Maintainer,
> > >
> > > After the last upgrade, the package became about 230 MBs larger,
> > > because of a lot of large lumas in PGM format, each about 4 MBs. Is
> > > there an important reason to keep them uncompressed on a disk? Even
> > > the fast GZip compression can drastically reduce their size.
> > >
> > Hi Dan,
> >
> > what is your opionion about this? This is the list of the affected
> > files:
> >
> >
> > This was intentional to produce transitions with the correct aspect
> > ratio. The PGM images cannot be simply gzip compressed because the PGM
> > reader in MLT is not integrated with zlib. Instead, the package can
> > use the configure option --luma-compress to output compressed PNG.
> > However, these are 8-bit instead of the 16-bit PGM, which provides
> > better quality transitions. Since these are procedurally-generated, I
> > started working on a change to generate the image on-demand instead of
> > reading a file. I plan to do that for the next release.
> >
> Okay; thanks for explanation!
>
>

-- 
+-DRD-+