Package Details: libquicktime 1.2.4-31

Git Clone URL: https://aur.archlinux.org/libquicktime.git (read-only, click to copy)
Package Base: libquicktime
Description: A library for reading and writing quicktime files
Upstream URL: http://libquicktime.sourceforge.net/
Licenses: LGPL2.1
Provides: libquicktime.so
Submitter: dvzrv
Maintainer: RAMChYLD
Last Packager: RAMChYLD
Votes: 4
Popularity: 0.000009
First Submitted: 2022-02-04 23:16 (UTC)
Last Updated: 2022-12-07 20:11 (UTC)

Latest Comments

1 2 Next › Last »

aggraef commented on 2024-02-05 00:43 (UTC)

@RAMChYLD, seems to work fine with Gem for me. Thanks a bunch for taking over maintenance of the package, and for adding the necessary patches for modern ffmpeg support, I really appreciate it!

RAMChYLD commented on 2022-12-07 13:07 (UTC) (edited on 2022-12-07 15:37 (UTC) by RAMChYLD)

Integrated patch for ffmpeg5. Let me know if it works.

dvzrv commented on 2022-12-01 15:38 (UTC)

@apaz: Sorry, I'm not interested in maintaining a gazillion patches for a dead project. Either someone picks up the project or downstreams adapt and move to something else.

apaz commented on 2022-11-18 08:38 (UTC)

If it is of interest there is a discussion in the Debian bug report to implement libquicktime in ffmpeg 5: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004637 Here is the patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1004637;filename=24-ffmpeg5.patch;msg=14

dvzrv commented on 2022-08-26 17:08 (UTC)

Until it does, can't you make a single exception for one of the most iconic pieces of Linux multimedia software? Please? :)

That doesn't change anything about it being essential a dead project and ffmpeg5 support being non-existent. I can move pd-gem to the AUR, in case you want to maintain it. I don't use it and it's more work than anything unfortunately. I also do not believe that upstream will have the time to improve it drastically over the next decade judging from the past years of development.

aggraef commented on 2022-08-26 04:44 (UTC)

Call it legacy, but Pd+Gem is one of the cornerstones of Linux multimedia which has been around forever. It's sad to see such an important piece of software being severely hampered in its multimedia capabilities.

dvzrv, I understand your reasoning, I really do, but libquicktime is essential for Gem's video functionality. Without it there are no video loading capabilities to speak of, and video recording is severely limited as well. I'd say that this is pretty essential stuff for students, media artists and other professionals using Gem's video functionality. If you don't believe me, just try loading any of the videos in Gem/examples/04.pix/05.movie.pd. With your pd-gem package, you'll only get a single frame, which is utterly useless.

I also think that Gem should get a new video backend that doesn't rely on legacy software. But that doesn't happen just because I wish for it. Until it does, can't you make a single exception for one of the most iconic pieces of Linux multimedia software? Please? :)

dvzrv commented on 2022-08-25 08:25 (UTC)

This package is still available in Debian Unstable, so it's unfortunate that it's not in the Arch community repo any more. We need it if we want to package Gem for Pd, which (at least for media artists) is the single most important add-on library for Pd (which still is in community). So it would be nice if you could reconsider the decision to drop libquicktime from the official repos.

The pd-gem package in [community] is built without libquicktime support. I have no interest in bringing libquicktime back if there has not been a release in 10 years and it would mean adding more and more patches to make it work with ffmpeg4.4, which will be removed from the repositories soon as well. Energy is better spent on doing something else than to fix up someone else's legacy ;-)

aggraef commented on 2022-08-25 06:23 (UTC)

@dvzrv, libquicktime isn't dead, Steven Schultz has been maintaining it since 2018. It's true that it hasn't seen a proper release since 2.1.4 in 2012, but with the patches included here it compiles fine against ffmpeg 4.4, and it also still works with the little adjustment to the PKGBUILD which I just posted.

This package is still available in Debian Unstable, so it's unfortunate that it's not in the Arch community repo any more. We need it if we want to package Gem for Pd, which (at least for media artists) is the single most important add-on library for Pd (which still is in community). So it would be nice if you could reconsider the decision to drop libquicktime from the official repos.

aggraef commented on 2022-08-25 05:51 (UTC) (edited on 2022-08-25 05:55 (UTC) by aggraef)

The package works fine with ffmpeg4.4, it's just that due to some libtool weirdness libquicktime/lqt_ffmpeg.so gets relinked to libavcodec.so.59 during make install:

$ ldd src/libquicktime-1.2.4/plugins/ffmpeg/.libs/lqt_ffmpeg.so|grep avcodec
        libavcodec.so.58 => /usr/lib/libavcodec.so.58 (0x00007f3f258ba000)
$ ldd pkg/libquicktime/usr/lib/libquicktime/lqt_ffmpeg.so |grep avcodec
        libavcodec.so.59 => /usr/lib/libavcodec.so.59 (0x00007fd4ba6c8000)

This happens whenever ffmpeg and ffmpeg4.4 are installed at the same time. Which they usually are, because ffmpeg is a dependency of so many other packages. As a result, the lqt_ffmpeg plugin will not work properly. I can see this, e.g., in Pd's Gem library which suddenly can't load most video formats any more.

The only quick remedy for this that I could find is to just manually copy the lqt_ffmpeg.so file from the build directory to the staging area:

diff --git a/PKGBUILD b/PKGBUILD
index 6a0204e..e197e3d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -107,5 +107,7 @@ package() {

   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
+  # fix mis-linkage of lqt_ffmpeg.so (libtool weirdness)
+  cp plugins/ffmpeg/.libs/lqt_ffmpeg.so "$pkgdir"/usr/lib/libquicktime
   install -vDm 644 {AUTHORS,ChangeLog,README,TODO} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }

Now the packaged lqt_ffmpeg.so is linked properly:

$ ldd pkg/libquicktime/usr/lib/libquicktime/lqt_ffmpeg.so |grep avcodec
        libavcodec.so.58 => /usr/lib/libavcodec.so.58 (0x00007f3be41f7000)

And Gem happily loads and plays videos again. :)

dvzrv commented on 2022-03-14 11:03 (UTC)

Yes, this package needs to be fixed to work with ffmpeg4.4 or ffmpeg 5. Either way, libquicktime's upstream is dead. Feel free to adopt this package and fix it.