ponchio / untrunc

Restore a damaged (truncated) mp4, m4v, mov, 3gp video. Provided you have a similar not broken video.
GNU General Public License v2.0
1.64k stars 229 forks source link

avc1: no match because of nal type: 23 #80

Open chiraag-nataraj opened 7 years ago

chiraag-nataraj commented 7 years ago

I have a video file which is only corrupted part of the way through (around 4:53 is where it starts messing up). When I try to run it through untrunc, it gives me the following output:

Reading: /home/chiraag/Videos/Canon/2016-05-27/MVI_0350.MP4
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 '/home/chiraag/Videos/Canon/2016-05-27/MVI_0350.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42avc1CAEP
    creation_time   : 2016-05-27 19:14:09
  Duration: 00:00:56.95, start: 0.000000, bitrate: 30441 kb/s
    Stream #0.0(eng): Video: h264 (High), yuvj420p, 1920x1080, 30173 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc
    Metadata:
      creation_time   : 2016-05-27 19:14:09
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 254 kb/s
    Metadata:
      creation_time   : 2016-05-27 19:14:09
avc1: no match because of nal type: 23
Failure because of NULL header
Found 0 packets

I can send you the videos privately (I'd rather not share them here) if that will help with your analysis of what is going on.

chiraag-nataraj commented 7 years ago

Any ideas?

chiraag-nataraj commented 7 years ago

@ponchio should I send you the videos?