Comments (5)
Ciao, that assert infact looks wrong. I have remove it. Sorry.
Thanks for finding it.
from untrunc.
Looks like I'm experiencing similar:
Reading: ../../reference.MOV
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../../reference.MOV':
Metadata:
creation_time : 2014-02-06 21:26:06
Duration: 00:00:53.00, start: 0.000000, bitrate: 40778 kb/s
Stream #0.0(eng): Video: h264 (Main), yuvj420p, 1920x1080, 40775 kb/s, 30 fps, 30 tbr, 3k tbn, 6k tbc
Metadata:
creation_time : 2014-02-06 21:26:06
...
Begin: 26ebc 619b002fNal type: 1
: found as avc1
Begin: 27ca0 619b402fNal type: 1
: found as avc1
Begin: 27500 619b802fNal type: 1
untrunc: track.cpp:126: int Codec::getLength(unsigned char*, int): Assertion `pos - start < maxlength - 4' failed.
Aborted
The broken file is 724MB MOV from a Canon DLSR. The reference file is 258MB. I tried with a 3.1GB reference file but got a std::bad_alloc.
from untrunc.
Tried different reference files and also truncating the broken file with truncate, down to 200M, now get segfault with no further information (if you can let me know anything I can do to help debug this let me know, including supply video files)
Begin: 2d214 619a4037Nal type: 1
: found as avc1
Begin: 26184 619a8033Nal type: 1
: found as avc1
Begin: 24330 619ac033Nal type: 1
Segmentation fault
Tried the old code also which does the same thing.
from untrunc.
I tried recompiling untrunc after commenting out line track.cpp:124.
The program now runs without errors, but unfortunately the output video file doesn't work.
Is this bad luck with my file, or maybe commenting out that line actually breaks untrunc silently?
from untrunc.
Same issue as rjgscotland. Resizing the mp4 to < 200M resulted in a broken video stream. Ended up using yamb to successfully rescue my mp4 file.
from untrunc.
Related Issues (20)
- Found 'meta' track. Might be not supported.
- Libav.org is no longer resolving HOT 2
- Trying to get in touch regarding a security issue
- Donation page is down HOT 1
- Produces an MP4 file with one frame (but I see it!) then stops. HOT 5
- How to install on FreeBSD 13.1? HOT 1
- Failed recovering the file HOT 3
- expected unqualified-id - Error during compiling
- unable to find correct codec -> premature end (~0.0009298%) HOT 1
- Feature request: Support for motion data recovery from the text track HOT 2
- macOS12.6 Monterey build error Apple clang version 14.0.0 (clang-1400.0.29.202)
- [MAC OS MONTEREY 12.6.1] zsh: permission denied: ./untrunc
- i cant recover this file using untrunc-gui, here is the whole message but at the final the file result is also corrupted.
- Opus support Request. HOT 2
- recovers only 12% of truncated file HOT 1
- Recovered only 1s of the a 180s video HOT 1
- Assertion `end - begin == length' failed HOT 1
- Two audio streams are being combined into one HOT 11
- Created Recorver file, but that file has no data. HOT 1
- mathops.h:125: Error: operand type mismatch for `shr' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from untrunc.