Comments (6)
I have a similar error, but channel element 3.3. The tool recovers a few seconds of the file, then crashes out with this:
Reading: /Users/jon/Desktop/broken/ref.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/jon/Desktop/broken/ref.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.25.100
comment : DEMO1
Duration: 00:01:00.00, start: 0.000000, bitrate: 20143 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 20041 kb/s, 60 fps, 60 tbr, 60k tbn, 120 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 96 kb/s (default)
Metadata:
handler_name : SoundHandler
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 5
Length for first packet = 145872 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 35140 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 35140 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 1268 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 24024 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 11540 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 33240 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 3576 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 31704 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 3376 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 31184 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 14060 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 41640 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 4408 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40716 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 5
Length for first packet = 161844 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 45696 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 45696 / 800000
avc1: no match because of nal type: 22
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 31696 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 31696 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 31088 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 31088 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 31176 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 31176 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 30952 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 30952 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 30400 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 30400 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 30688 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 30688 / 800000
avc1: no match because of nal type: 22
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 5
Length for first packet = 146656 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 7272 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 59528 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 2596 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40744 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 1540 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 29600 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 13464 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40388 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 4392 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40112 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 4368 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 39396 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 16676 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 52024 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 5
Length for first packet = 179588 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 56504 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 56504 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40056 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40056 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 29736 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 29736 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40532 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40532 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 29644 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 29644 / 800000
avc1: no match because of nal type: 22
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40052 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 40052 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
avc1: Match with 0 header
Nal type: 1
Length for first packet = 29080 / 800000
avc1: Match with 0 header
Nal type: 1
Length for first packet = 29080 / 800000
avc1: Match with 0 header
Nal type: 6
Length for first packet = 4100 / 800000
avc1: failed for not particular reason
mp4a: Success because of large s value
[aac @ 0x7ff1ba003000] channel element 3.3 is not allocated
I can provide a shortened version of the video to try if that helps with debugging.
from untrunc.
I ran into something very similar, trying to recover GoPro corrupt video files.
Reading: GOPR0304.MP4
[h264 @ 0xa975a0] concealing 7512 DC, 7512 AC, 7512 MV errors
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xa94420] Non-increasing DTS in stream 3: packet 2 with DTS 0, packet 3 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xa94420] Non-increasing DTS in stream 3: packet 3 with DTS 0, packet 4 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xa94420] Non-increasing DTS in stream 3: packet 4 with DTS 0, packet 5 with DTS 0
[h264 @ 0xa975a0] cabac decode of qscale diff failed at 72 11
[h264 @ 0xa975a0] error while decoding MB 72 11, bytestream (337379)
[h264 @ 0xa975a0] concealing 6817 DC, 6817 AC, 6817 MV errors
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xa94420] Non-increasing DTS in stream 3: packet 5 with DTS 0, packet 6 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xa94420] Non-increasing DTS in stream 3: packet 6 with DTS 0, packet 7 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xa94420] Non-increasing DTS in stream 3: packet 7 with DTS 0, packet 8 with DTS 0
<snipped for length>
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GOPR0304.MP4':
Metadata:
major_brand : mp41
minor_version : 538120216
compatible_brands: mp41
creation_time : 2015-01-01 05:00:13
Duration: 00:00:35.74, start: 0.000000, bitrate: 30136 kb/s
Stream #0.0(eng): Video: h264 (High), yuvj420p, 1920x1080 [PAR 1:1 DAR 16:9], 29989 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2015-01-01 05:00:13
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
creation_time : 2015-01-01 05:00:13
Stream #0.2(eng): Data: tmcd / 0x64636D74
Metadata:
creation_time : 2015-01-01 05:00:13
Stream #0.3(eng): Data: fdsc / 0x63736466, 9 kb/s
Metadata:
creation_time : 2015-01-01 05:00:13
avc1: failed for not particular reason
mp4a: Success because of large s value
[aac @ 0xa991c0] channel element 2.3 is not allocated
Found 0 packets
from untrunc.
Same here trying to recover GoPro video files...
from untrunc.
Same here :) I was so excited I have finally found some functional solution, but ended with following error:
Reading: /home/sa/test/ok.MP4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/sa/test/ok.MP4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
creation_time : 2016-01-01 00:26:50
original_format : NVT-IM
original_format-eng: NVT-IM
comment : DEMO1
comment-eng : DEMO1
Duration: 00:01:55.00, start: 0.000000, bitrate: 30309 kb/s
Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
yuv420p, 1920x1080, 30102 kb/s
60 fps, 60k tbn (default)
Metadata:
creation_time : 2016-01-01 00:26:50
handler_name :
DataHandler
encoder : h264
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
32000 Hz, mono, fltp, 96 kb/s (default)
Metadata:
creation_time : 2016-01-01 00:26:50
handler_name :
DataHandler
Track codec: mp4a
mp4a: Success because of large s value
[aac @ 0x1588c00] channel element 2.2 is not allocated
Duration: 0
Invalid length. -1052488119. Wrong match in track: 0
Track codec: avc1
avc1: failed for not particular reason
Found 0 packets
Track duration: 0 movie timescale: 60000 track timescale: 32000
Track duration: 0 movie timescale: 60000 track timescale: 60000
from untrunc.
Same problem here
from untrunc.
@sampleref Have you short samples of the files? It looks like it stuck at the begging of the broken file. You can truncate it to 2MB and share (if there is no sensitive info in it).
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.