Package Details: transcode 1.1.7-46

Git Clone URL: https://aur.archlinux.org/transcode.git (read-only, click to copy)
Package Base: transcode
Description: A video/DVD ripper and encoder for the terminal/console
Upstream URL: https://sources.archlinux.org/other/packages/transcode
Licenses: GPL-2.0-only
Submitter: arojas
Maintainer: None
Last Packager: nicolarevelant
Votes: 4
Popularity: 0.000078
First Submitted: 2023-09-25 20:30 (UTC)
Last Updated: 2024-07-14 13:04 (UTC)

Latest Comments

1 2 Next › Last »

bmp commented on 2025-07-26 19:17 (UTC)

I am not able to compile. My fix was to add export CFLAGS="$CFLAGS -std=gnu11" in the build function.

frankspace commented on 2025-07-23 12:19 (UTC)

Compilation fails for me unless ("mjpeg_types.h:49:5: note: 'false' is a keyword with '-std=c23' onwards") I specifically compile with GCC13. Merely adding CFLAGS+=" -std=c17" just causes compilation to fail totally differently. @guiodic, I do not see any patch from anyone called "rover1013" here.

Installing GCC13 into the chroot and adding "export CC=/usr/bin/gcc-13 CXX=/usr/bin/g++-13" works for me.

guiodic commented on 2025-06-19 13:16 (UTC)

mjpeg_types.h:49:5: error: cannot use keyword 'false' as enumeration constant 49 | false = 0,

but I confirm the patch by @rover1013 works for me.

jlindgren commented on 2024-07-13 15:41 (UTC)

This worked for me:

diff --git a/PKGBUILD b/PKGBUILD
index 495ba26..a5110a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,6 @@ depends=(
        freetype2
        gawk
        glibc
-       lame
        libdvdread
        libdv
        libmpeg2
@@ -56,18 +55,19 @@ prepare() {
        sed -e 's|freetype/ftglyph.h|freetype2/freetype/ftglyph.h|' -i filter/subtitler/load_font.c
        patch -p1 -i ../transcode-gcc10.patch # Fix build with GCC 10
        patch -p1 -i ../transcode-glibc-2.32.patch # Fix build with glibc 2.32
+       sed -e 's|_ISOC99_SOURCE|_DEFAULT_SOURCE|' -i libtc/cfgfile.c # strlcpy()
        autoreconf -vi
 }

 build() {
        cd $pkgname-$pkgver
        ./configure --prefix=/usr \
-               --enable-lame --enable-ogg --enable-vorbis --enable-theora \
+               --enable-ogg --enable-vorbis --enable-theora \
                --enable-libdv --enable-libxml2 --enable-v4l \
                --enable-libjpeg --enable-lzo --enable-mjpegtools \
                --enable-freetype2 --enable-a52 \
                --enable-xvid --enable-x264 --enable-alsa --enable-libmpeg2 \
-               --enable-libmpeg2convert --disable-ffmpeg
+               --enable-libmpeg2convert --disable-ffmpeg --disable-lame

        #https://bugzilla.gnome.org/show_bug.cgi?id=655517
        sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

MightyPork commented on 2024-06-23 17:06 (UTC)

I had a go at making it build, but unfortunately the problem goes deeper. After fixing strlcpy, I just got errors with missing lame decode functions.

mpg123.c:137:5: error: implicit declaration of function ‘lame_decode_init’;

I gave up on trying to make k3b rip a DVD and installed Handbrake instead, which worked fine. Only gotcha was that the binary is not called handbrake but ghb

bzanetti00 commented on 2024-06-08 16:35 (UTC)

Fails to build with:

cfgfile.c: In function 'parse_line': cfgfile.c:300:9: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 300 | if (strlcpy(workbuf, buf, sizeof(workbuf)) >= sizeof(workbuf)) { | ^~~ | strncpy make[2]: *** [Makefile:570: cfgfile.lo] Error 1

micwoj92 commented on 2024-02-11 09:02 (UTC)

Please update license to use spdx identifier.

nicolarevelant commented on 2023-12-27 16:45 (UTC)

@DHouck

  1. I prefer use the package hosted on archlinux.org until it will be removed.

  2. Thank you, I have put freetype2 as dependence because it's used by filter_subtitler.so and filter_text.so during runtime

DHouck commented on 2023-12-02 05:22 (UTC)

A couple issues: 1. Is it best to use an Arch-hosted version of the code, as here, instead of a Github clone like https://github.com/wyyrepo/transcode? That isnʼt from the original author, but the tree is identical to whatʼs hosted here, except that the GitHub version has a README.md instead of a README. Iʼm honestly not sure which is preferred here; I havenʼt seen an AUR package source hosted on an archlinux.org domain before. 2. Missing dependency freetype2. I think this should be a makedepends and optdepends, because most of this shouldnʼt require knowing fonts. But either way it doesnʼt build in a clean chroot without specifying this dependency somewhere.