Package Details: libquicktime 1.2.4-34

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: 6
Popularity: 0.25
First Submitted: 2022-02-04 23:16 (UTC)
Last Updated: 2025-10-18 21:04 (UTC)

Required by (2)

Sources (15)

Latest Comments

1 2 3 Next › Last »

RAMChYLD commented on 2025-10-18 21:07 (UTC) (edited on 2025-11-01 09:09 (UTC) by RAMChYLD)

Ok, sorry this took too long. Work has been draining my energy.

I've added patches to make sure libquicktime compiles against FFMPEG 8. Aside from that I committed a fix for an issue that many did not catch, that prevented the configure script from detecting lame due to changes to gcc since gcc15 and thus causes builds of libquicktime without lame support.

It's 5 AM now. I should be heading to bed.

@simona I was not able to replicate your error. Are you using GCC15 and FFMPEG 8?

RAMChYLD commented on 2025-10-08 18:16 (UTC)

advisory: libavcodec_close no longer exists, will not build on FFMPEG 8.0 for the time being.

I will look into fixing that issue this weekend, please bear with me. Alternatively, if you already created a patch to fix the issue, I'd be glad to integrate it into the AUR.

simona commented on 2025-10-05 15:18 (UTC)

In file included from /usr/include/libavcodec/avcodec.h:44:
/usr/include/libavcodec/packet.h:683:6: note: declared here
683 | void av_init_packet(AVPacket *pkt);
| ^~
make[3]: *** [Makefile:537: audio.lo] Error 1

RAMChYLD commented on 2025-05-02 12:06 (UTC) (edited on 2025-05-02 13:14 (UTC) by RAMChYLD)

Give me a minute. I’ll go have a look.

Edit: Patched and done. Please clear your yay cache or pull the latest pkgbuild and srcinfo before rebuilding. Thanks.

FabioLolix commented on 2025-05-01 16:46 (UTC)

Made a quick test; fails to build but work if using gcc14 (export CC=/usr/bin/gcc-14 CXX=/usr/bin/g++-14), tested that since gcc have just been updated to v15.1

mjevans commented on 2025-05-01 15:34 (UTC)

Warnings and a build error when trying to update to libquicktime-1.2.4 this morning. Sorry they scrolled past the terminal buffer so I've only got some examples.

Error (context beneath): lqtplay.c:1480:11: error: too many arguments to function 'decode_audio'; expected 0, have 1 @ 1480 | decode_audio(AUDIO_BLOCK_SIZE);

/bin/sh ../libtool  --tag=CC   --mode=link gcc -DLOCALE_DIR=\"/usr/share/locale\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden
-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -o qtstreamize qtstreamize.o ../src/libquicktime.la -lm -lz -ldl  -lfaad -lm
gen_colorspace_tables.c: In function 'main':
gen_colorspace_tables.c:29:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
29 |   if(v<min) v=min; if(v>max) v=max;
    |   ^~
gen_colorspace_tables.c:138:5: note: in expansion of macro 'RECLIP'
138 |     RECLIP(tmp_int, 0, 255);
    |     ^~~~~~
gen_colorspace_tables.c:29:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'                                                                                       29 |   if(v<min) v=min; if(v>max) v=max;                                                                                                                                                                                |                    ^~
gen_colorspace_tables.c:138:5: note: in expansion of macro 'RECLIP'
138 |     RECLIP(tmp_int, 0, 255);
    |     ^~~~~~
gen_colorspace_tables.c:29:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
29 |   if(v<min) v=min; if(v>max) v=max;
    |   ^~
gen_colorspace_tables.c:153:5: note: in expansion of macro 'RECLIP'
153 |     RECLIP(tmp_int, 0, 255);
    |     ^~~~~~
lqtplay.c: In function 'qt_alsa_audio_write':
gen_colorspace_tables.c:29:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
29 |   if(v<min) v=min; if(v>max) v=max;
    |                    ^~
gen_colorspace_tables.c:153:5: note: in expansion of macro 'RECLIP'
153 |     RECLIP(tmp_int, 0, 255);
    |     ^~~~~~
lqtplay.c:1480:11: error: too many arguments to function 'decode_audio'; expected 0, have 1
1480 |           decode_audio(AUDIO_BLOCK_SIZE);
    |           ^~~~~~~~~~~~
lqtplay.c:1420:12: note: declared here
1420 | static int decode_audio()
    |            ^~~~~~~~~~~~
lqtplay.c: In function 'qt_sndio_audio_write':
lqtplay.c:1518:7: error: too many arguments to function 'decode_audio'; expected 0, have 1
1518 |       decode_audio(AUDIO_BLOCK_SIZE);
    |       ^~~~~~~~~~~~
lqtplay.c:1420:12: note: declared here
1420 | static int decode_audio()
    |            ^~~~~~~~~~~~
lqtplay.c: In function 'qt_oss_audio_write':
lqtplay.c:1560:7: error: too many arguments to function 'decode_audio'; expected 0, have 1
1560 |       decode_audio(AUDIO_BLOCK_SIZE);
    |       ^~~~~~~~~~~~
lqtplay.c:1420:12: note: declared here
1420 | static int decode_audio()
    |            ^~~~~~~~~~~~
make[3]: *** [Makefile:742: lqtplay.o] Error 1
make[3]: *** Waiting for unfinished jobs

Also, I couldn't quickly find a good place to report bugs upstream. Maybe downgrade this until the build is fixed?

RAMChYLD commented on 2025-04-23 13:27 (UTC)

Ok, that took a while, but I finally have access to my computers again, I finally have some free time again, and have pushed the requested patches.

Hope this helps!

RAMChYLD commented on 2024-11-23 12:59 (UTC)

Ah nuts, I missed this message and my next window to update my AUR is end of Febuary next year... So sorry...

aggraef commented on 2024-07-09 10:45 (UTC)

And here are the changes needed to compile against ffmpeg7 which just recently landed:

diff -ru libquicktime-1.2.4.orig/plugins/ffmpeg/audio.c libquicktime-1.2.4/plugins/ffmpeg/audio.c
--- libquicktime-1.2.4.orig/plugins/ffmpeg/audio.c  2024-07-09 12:18:11.919376601 +0200
+++ libquicktime-1.2.4/plugins/ffmpeg/audio.c   2024-07-09 12:10:53.297276614 +0200
@@ -971,7 +971,11 @@
   if(!codec->initialized)
     {
     /* Set some mandatory variables */
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 0, 0)
+    codec->avctx->ch_layout.nb_channels = quicktime_track_channels(file, track);
+#else
     codec->avctx->channels        = quicktime_track_channels(file, track);
+#endif
     codec->avctx->sample_rate     = quicktime_sample_rate(file, track);

     if(track_map->track->mdia.minf.stbl.stsd.table[0].version == 1)
@@ -1202,7 +1206,11 @@
   if(!codec->initialized)
     {
     codec->avctx->sample_rate = track_map->samplerate;
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 0, 0)
+    codec->avctx->ch_layout.nb_channels = channels;
+#else
     codec->avctx->channels = channels;
+#endif

     codec->avctx->codec_id = codec->encoder->id;
     codec->avctx->codec_type = codec->encoder->type;
@@ -1229,7 +1237,11 @@
     /* One frame is: bitrate * frame_samples / (samplerate * 8) + 1024 */
     codec->chunk_buffer_alloc = ( codec->avctx->frame_size
                                   * sizeof( int16_t )
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 0, 0)
+                                  * codec->avctx->ch_layout.nb_channels);
+#else
                                   * codec->avctx->channels);
+#endif
     codec->chunk_buffer = malloc(codec->chunk_buffer_alloc);

     if(trak->strl)