Package Details: untrunc-git r142.e02f40e-1

Git Clone URL: (read-only, click to copy)
Package Base: untrunc-git
Description: restore a damaged (truncated) mp4, m4v, mov, 3gp video
Upstream URL:
Licenses: GPL2
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 19
Popularity: 0.20
First Submitted: 2015-03-10 14:30
Last Updated: 2021-02-19 15:41

Latest Comments

1 2 3 Next › Last »

jose1711 commented on 2021-02-19 15:44

@Nitsuga thank you, PKGBUILD is now updated.

Nitsuga commented on 2021-02-19 11:10

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

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

jose1711 commented on 2018-05-10 11:03

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

sekret commented on 2018-05-10 09:55

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/'] needed in files ['usr/bin/untrunc']) untrunc-git E: Dependency zlib detected and not included (libraries ['usr/lib/'] needed in files ['usr/bin/untrunc']) untrunc-git E: Dependency libvdpau detected and not included (libraries ['usr/lib/'] 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

Please add git to makedepends

jose1711 commented on 2018-05-09 21:09

@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

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

@doronbehar libav is provided by the ffmpeg package.

LA-MJ commented on 2017-12-21 13:18

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

Still relevant. Not in base-devel.