Comments (3)
I get the same issue, 3.5GB source video results in a working 2.5MB 2 second video. This is the output I get:
Composition time offset atom found. Out of order samples possible.
Sample dependency flag atom found. I and P frames might need to recover that info.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/share/working.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2014-12-28 15:38:04
Duration: 00:29:15.98, start: 0.000000, bitrate: 7141 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 2554x1220, 7137 kb/s, PAR 1:1 DAR 1277:610, 27.87 fps, 600 tbn, 50 tbc
Metadata:
creation_time : 2014-12-28 15:38:04
Nal type: 6
Length for first packet = 24 / 800000
Nal type: 5
Length for first packet = 581797 / 800000
Nal type: 1
Length for first packet = 2101 / 800000
Nal type: 1
Length for first packet = 4627 / 800000
Nal type: 1
Length for first packet = 519 / 800000
Nal type: 1
Length for first packet = 103 / 800000
Nal type: 1
Length for first packet = 25000 / 800000
Nal type: 1
Length for first packet = 206 / 800000
Nal type: 1
Length for first packet = 150597 / 800000
Nal type: 1
Length for first packet = 1335 / 800000
Nal type: 1
Length for first packet = 309202 / 800000
Nal type: 1
Length for first packet = 462 / 800000
Nal type: 1
Length for first packet = 559476 / 800000
Nal type: 1
Length for first packet = 694 / 800000
Nal type: 1
Length for first packet = 184976 / 800000
Nal type: 1
Length for first packet = 8488 / 800000
Nal type: 1
Length for first packet = 135828 / 800000
Nal type: 1
Length for first packet = 10761 / 800000
Nal type: 1
Length for first packet = 48902 / 800000
Nal type: 1
Length for first packet = 7931 / 800000
Nal type: 1
Length for first packet = 33203 / 800000
Nal type: 1
Length for first packet = 7115 / 800000
Nal type: 1
Length for first packet = 30586 / 800000
Nal type: 1
Length for first packet = 7130 / 800000
Nal type: 1
Length for first packet = 30053 / 800000
Nal type: 1
Length for first packet = 7155 / 800000
Nal type: 1
Length for first packet = 29472 / 800000
Nal type: 1
Length for first packet = 7272 / 800000
Nal type: 1
Length for first packet = 40980 / 800000
Nal type: 1
Length for first packet = 6636 / 800000
Nal type: 1
Length for first packet = 29721 / 800000
Nal type: 1
Length for first packet = 6378 / 800000
Nal type: 1
Length for first packet = 28424 / 800000
Nal type: 1
Length for first packet = 6325 / 800000
Nal type: 1
Length for first packet = 28227 / 800000
Nal type: 1
Length for first packet = 6480 / 800000
Nal type: 1
Length for first packet = 32568 / 800000
Nal type: 1
Length for first packet = 6474 / 800000
Nal type: 1
Length for first packet = 35549 / 800000
Nal type: 1
Length for first packet = 6371 / 800000
Nal type: 1
Length for first packet = 28400 / 800000
Nal type: 1
Length for first packet = 6303 / 800000
Nal type: 1
Length for first packet = 1444822 / 800000
Found 42 packets
I tried to provide other working videos from the same capture device to see if that helped but with all but one I get:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
from untrunc.
Ciao, and sorry for the delay in answering.
This happens when for some reason a packet is not recognized. The reasons can be many (corrupted video, bug in my code, unespected NAL (I still do not understand much of it).
Write me at [email protected] and send me a small working video and a few (10-20) megabytes of the truncated one, I might find the cause of the problem (or I might not, your mileage might vary).
from untrunc.
I deleted the file, sorry :/
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.