Skip to main content
20 events
when toggle format what by license comment
Jun 24 at 16:23 comment added e-info128 Does not work using the docker container, untrunc says: Missing 'Movie Header' atom (mvhd). Can not repair file with moob atom problems.
Jul 23, 2019 at 8:46 history edited sparrowt CC BY-SA 4.0
Fix target of CD after code fetch & clarify the choice of options
Jul 23, 2019 at 8:36 history edited sparrowt CC BY-SA 4.0
Link directly to GitHub; suggest cloning repo; minor improvements
Jul 22, 2019 at 14:41 history edited slhck CC BY-SA 4.0
add some info on Docker usage and structure answer
Apr 8, 2019 at 22:58 vote accept Drake
Sep 28, 2017 at 17:18 comment added abourget You can use the Docker image here too: hub.docker.com/r/synctree/untrunc this way you don't need to install and compile all the things. A quick run and it solved it for me !!
Aug 5, 2016 at 13:23 comment added Avio Worked also for me. I first tried ignorantly a couple of dd if=ok-file.mp4 of=/tmp/broken-file.mp4 bs=1056 count=1 conv=notrunc with increasing block size, with no luck. Then untrunc solved my problem quickly and flawlessly.
Aug 2, 2016 at 15:04 comment added Ajedi32 Thanks, this worked! Though I did have to sudo apt-get install unzip g++ in the VM I created to run Untrunc in; looks like those commands aren't on Ubuntu by default. The audio in the repaired file is also way out of sync with the video, with the video seeming to speed up and slow down at random. I guess that's because I was recording using a variable frame rate... video.stackexchange.com/q/19052/16308
Jul 9, 2016 at 3:50 comment added whitewings Untrunc worked for me, but I had to put both video files in the subdirectory of the hidden .untrunc folder named untrunc-master. Then, run: ./untrunc goodfile.mp4 badfile.mp4 It took about 3 minutes for a 2gb file and I only had to resync the audio. Everything else was fine.
Jun 8, 2016 at 4:04 comment added Lucid Dev Team From arch linux you can install untrunc from the Arch User Repository: aur.archlinux.org/packages/untrunc-git
Jan 27, 2016 at 12:32 comment added The Compiler FWIW this didn't produce any playable videos for me - but running recover_mp4_to_h264 via wine worked well.
Dec 23, 2015 at 8:13 comment added Erdinc Ay WORKS! Well done.
Sep 6, 2015 at 22:41 comment added Juan Carlos Kuri Pinto Your method actually works. Thank you so much. :)
Jul 9, 2015 at 1:01 comment added RogUE Would give a windows based solution. <superuser.com/questions/938185/recover-incomplete-video-files> as I do not have internet access in my linux distros.
Jan 30, 2015 at 8:19 comment added sparrowt Thanks @Alex I've updated the link. Amusingly the Readme on github is based on this answer!
Jan 30, 2015 at 8:17 history edited sparrowt CC BY-SA 3.0
Update the source code link
Jan 28, 2015 at 3:49 comment added Alex This worked for me, however I had to use the most up-to-date code from Github here instead of the link provided.
May 16, 2013 at 19:45 history edited sparrowt CC BY-SA 3.0
Clarified about Untrunc guessing the video length.
May 16, 2013 at 16:55 comment added slhck Cool, thanks for providing the full instructions here!
May 16, 2013 at 16:42 history answered sparrowt CC BY-SA 3.0