Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1
    Thank you! On the untrunc compilation line I had a few errors along the lines of "undefined reference to `BZ2_bzDecompressInit'", I had to add -lbz2 Commented Mar 11, 2017 at 8:28
  • It can't handle large files. Just gives up.
    – Ken Sharp
    Commented Apr 15, 2017 at 21:01
  • Does your libav containt a h264dec.h? because track.cpp is trying to include it and i cant find it anywhere :/
    – x29a
    Commented Nov 17, 2017 at 22:39
  • That dependency was added with commit github.com/ponchio/untrunc/commit/… on October 10th, 2017. I believe now you have to donwload libav-12.2 rather than libav-0.8.7 Commented Nov 20, 2017 at 17:00
  • Finally got this to work on Ubuntu 14.04.5 LTS. Had to run sudo apt-get install yasm, sudo apt-get install libbz2-dev and, to overcome an undefined reference to 'clock_gettime', add -lrt to the end of the g++ command line (see stackoverflow.com/a/2418175/550712). It converted about 2/3 of my video.
    – Mark Berry
    Commented Dec 29, 2017 at 23:03