Package Details: untrunc-git r184.8ae3c90-1

Git Clone URL: https://aur.archlinux.org/untrunc-git.git (read-only, click to copy)
Package Base: untrunc-git
Description: restore a damaged (truncated) mp4, m4v, mov, 3gp video
Upstream URL: https://github.com/ponchio/untrunc
Licenses: GPL2
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 25
Popularity: 0.007139
First Submitted: 2015-03-10 14:30 (UTC)
Last Updated: 2023-11-13 22:46 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

agusdallalba commented on 2021-02-19 11:10 (UTC)

It's necessary to update libav to v12.3 and use this to compile:

g++ -o untrunc -I./libav-12.3 file.cpp main.cpp track.cpp atom.cpp mp4.cpp codec_*.cpp codecstats.cpp codec.cpp mp4.cpp log.cpp -L./libav-12.3/libavformat -lavformat -L./libav-12.3/libavcodec -lavcodec -L./libav-12.3/libavresample -lavresample -L./libav-12.3/libavutil -lavutil -lpthread -lz -lbz2 -llzma -lX11 -lvdpau -ldl

Perhaps it would be more reasonable to switch to untrunc-anthwlock-cli-git since it works with the system ffmpeg and has a makefile.

sekret commented on 2018-05-10 11:28 (UTC)

Oh, thanks! :-) No need to do that, but I'm honored!

jose1711 commented on 2018-05-10 11:03 (UTC)

@sekret thank you for thorough testing, i have added you to contributors

sekret commented on 2018-05-10 09:55 (UTC) (edited on 2018-05-10 09:57 (UTC) by sekret)

Please also add libx11 to makedepends and add libvdpau, zlib and bzip2 to depends. Here's why:

After adding git the build failed with those lines:

... In file included from mp4.cpp:30: ./libav-12.2/libavformat/avformat.h:712:21: note: declared here AVCodecContext *codec; ^~~~~ /usr/bin/ld: cannot find -lX11 /usr/bin/ld: cannot find -lvdpau collect2: error: ld returned 1 exit status ==> ERROR: A failure occurred in build(). Aborting...

(I build in a clean chroot)

So I added libx11 and libvdpau to makedepends. The package built fine, but namcap says

Checking untrunc-git-r58.ec8e417-2-x86_64.pkg.tar untrunc-git E: Dependency bzip2 detected and not included (libraries ['usr/lib/libbz2.so.1.0'] needed in files ['usr/bin/untrunc']) untrunc-git E: Dependency zlib detected and not included (libraries ['usr/lib/libz.so.1'] needed in files ['usr/bin/untrunc']) untrunc-git E: Dependency libvdpau detected and not included (libraries ['usr/lib/libvdpau.so.1'] needed in files ['usr/bin/untrunc'])

After adjusting all that stuff I compiled again, now everything seems perfect :-)

sekret commented on 2018-05-10 08:26 (UTC)

Please add git to makedepends

jose1711 commented on 2018-05-09 21:09 (UTC) (edited on 2018-05-09 21:11 (UTC) by jose1711)

@danboid i was able to build it without both packages now so i removed both dependencies. thanks for sharing, j

danboid commented on 2018-05-05 13:35 (UTC)

Why does this PKGBUILD depend upon qt5-base and qconf? AFAIK untrunc is a CLI only app with no (Qt) UI or dependency.

phillid commented on 2018-01-30 07:31 (UTC)

@doronbehar libav is provided by the ffmpeg package.

LA-MJ commented on 2017-12-21 13:18 (UTC)

doronbehar commented on 2017-11-24 12:30
Please add package `yasm` to make dependencies.

Still relevant. Not in base-devel.

<deleted-account> commented on 2017-11-25 18:18 (UTC)

Than maybe `libva` as compiled inside this package should be a separate package called just `libav`. I wonder how come no one has uploaded one yet.