Closed suuuehgi closed 5 years ago
I would like to help you, but I need the files you are having problems with.
A small sample should be enough, you can use head -c 10M corrupt.mp4 > corrupt_head.mp4
.
Please send me the link (email or here) to the files and I will take a look.
Thanks a lot! You have an email.
Awesome! untrunc -s
succeeds now! Thanks a ton!
untrunc
alone still fails. Why is this the case?
In some cases, the corrupt file contains actual data up to a point x, and then garbage. The default assertion is that x is where the first match fails, so it stops there.
But in some cases, either untrunc fails to match an existing sample, or the garbage section is "temporary". In these cases you should use -s
.
There is no special reason why the default assertion is that way.
Btw, you can use untrunc -h
for a short description of the available options
The actual file is about 45 min long.
ffmpeg '4.1.3-1'
ffmpeg '3.3.9'