anthwlock / untrunc

Restore a truncated mp4/mov. Improved version of ponchio/untrunc
GNU General Public License v2.0
2.15k stars 204 forks source link

Error: No codec found! #9

Closed hipur closed 5 years ago

hipur commented 6 years ago

Hi, I'm having the following error:

Info: reading /mnt/c/Users/purch/Desktop/recover/C0113.MP4 Info: parsing healthy moov atom ...

requests: 4 at offset : 0 requests: 4 at offset : 4 start = 0 length = 28 name_ = ftyp requests: 20 at offset : 8

requests: 4 at offset : 28 requests: 4 at offset : 32 start = 28 length = 148 name_ = uuid requests: 140 at offset : 36

requests: 4 at offset : 176 requests: 4 at offset : 180 requests: 8 at offset : 184 start = 184 length = 96468808 name_ = mdat

requests: 4 at offset : 0 requests: 4 at offset : 4 start = 96468992 length = 3981 name_ = moov

requests: 4 at offset : 8 requests: 4 at offset : 12 start = 96469000 length = 108 name_ = mvhd requests: 100 at offset : 16

requests: 4 at offset : 116 requests: 4 at offset : 120 start = 96469108 length = 2706 name_ = trak

requests: 4 at offset : 124 requests: 4 at offset : 128 start = 96469116 length = 92 name_ = tkhd requests: 84 at offset : 132

requests: 4 at offset : 216 requests: 4 at offset : 220 start = 96469208 length = 36 name_ = edts

requests: 4 at offset : 224 requests: 4 at offset : 228 start = 96469216 length = 28 name_ = elst requests: 20 at offset : 232

requests: 4 at offset : 252 requests: 4 at offset : 256 start = 96469244 length = 2518 name_ = mdia

requests: 4 at offset : 260 requests: 4 at offset : 264 start = 96469252 length = 32 name_ = mdhd requests: 24 at offset : 268

requests: 4 at offset : 292 requests: 4 at offset : 296 start = 96469284 length = 52 name_ = hdlr requests: 44 at offset : 300

requests: 4 at offset : 344 requests: 4 at offset : 348 start = 96469336 length = 2426 name_ = minf

requests: 4 at offset : 352 requests: 4 at offset : 356 start = 96469344 length = 20 name_ = vmhd requests: 12 at offset : 360

requests: 4 at offset : 372 requests: 4 at offset : 376 start = 96469364 length = 36 name_ = dinf

requests: 4 at offset : 380 requests: 4 at offset : 384 start = 96469372 length = 28 name_ = dref requests: 20 at offset : 388

requests: 4 at offset : 408 requests: 4 at offset : 412 start = 96469400 length = 2362 name_ = stbl

requests: 4 at offset : 416 requests: 4 at offset : 420 start = 96469408 length = 462 name_ = stsd requests: 454 at offset : 424

requests: 4 at offset : 878 requests: 4 at offset : 882 start = 96469870 length = 24 name_ = stts requests: 16 at offset : 886

requests: 4 at offset : 902 requests: 4 at offset : 906 start = 96469894 length = 976 name_ = ctts requests: 968 at offset : 910

requests: 4 at offset : 1878 requests: 4 at offset : 1882 start = 96470870 length = 28 name_ = stsc requests: 20 at offset : 1886

requests: 4 at offset : 1906 requests: 4 at offset : 1910 start = 96470898 length = 740 name_ = stsz requests: 732 at offset : 1914

requests: 4 at offset : 2646 requests: 4 at offset : 2650 start = 96471638 length = 76 name_ = stco requests: 68 at offset : 2654

requests: 4 at offset : 2722 requests: 4 at offset : 2726 start = 96471714 length = 48 name_ = stss requests: 40 at offset : 2730

requests: 4 at offset : 2770 requests: 4 at offset : 2774 start = 96471762 length = 52 name_ = uuid requests: 44 at offset : 2778

requests: 4 at offset : 2822 requests: 4 at offset : 2826 start = 96471814 length = 560 name_ = trak

requests: 4 at offset : 2830 requests: 4 at offset : 2834 start = 96471822 length = 92 name_ = tkhd requests: 84 at offset : 2838

requests: 4 at offset : 2922 requests: 4 at offset : 2926 start = 96471914 length = 36 name_ = edts

requests: 4 at offset : 2930 requests: 4 at offset : 2934 start = 96471922 length = 28 name_ = elst requests: 20 at offset : 2938

requests: 4 at offset : 2958 requests: 4 at offset : 2962 start = 96471950 length = 372 name_ = mdia

requests: 4 at offset : 2966 requests: 4 at offset : 2970 start = 96471958 length = 32 name_ = mdhd requests: 24 at offset : 2974

requests: 4 at offset : 2998 requests: 4 at offset : 3002 start = 96471990 length = 52 name_ = hdlr requests: 44 at offset : 3006

requests: 4 at offset : 3050 requests: 4 at offset : 3054 start = 96472042 length = 280 name_ = minf

requests: 4 at offset : 3058 requests: 4 at offset : 3062 start = 96472050 length = 16 name_ = smhd requests: 8 at offset : 3066

requests: 4 at offset : 3074 requests: 4 at offset : 3078 start = 96472066 length = 36 name_ = dinf

requests: 4 at offset : 3082 requests: 4 at offset : 3086 start = 96472074 length = 28 name_ = dref requests: 20 at offset : 3090

requests: 4 at offset : 3110 requests: 4 at offset : 3114 start = 96472102 length = 220 name_ = stbl

requests: 4 at offset : 3118 requests: 4 at offset : 3122 start = 96472110 length = 52 name_ = stsd requests: 44 at offset : 3126

requests: 4 at offset : 3170 requests: 4 at offset : 3174 start = 96472162 length = 24 name_ = stts requests: 16 at offset : 3178

requests: 4 at offset : 3194 requests: 4 at offset : 3198 start = 96472186 length = 40 name_ = stsc requests: 32 at offset : 3202

requests: 4 at offset : 3234 requests: 4 at offset : 3238 start = 96472226 length = 20 name_ = stsz requests: 12 at offset : 3242

requests: 4 at offset : 3254 requests: 4 at offset : 3258 start = 96472246 length = 76 name_ = stco requests: 68 at offset : 3262

requests: 4 at offset : 3330 requests: 4 at offset : 3334 start = 96472322 length = 52 name_ = uuid requests: 44 at offset : 3338

requests: 4 at offset : 3382 requests: 4 at offset : 3386 start = 96472374 length = 553 name_ = trak

requests: 4 at offset : 3390 requests: 4 at offset : 3394 start = 96472382 length = 92 name_ = tkhd requests: 84 at offset : 3398

requests: 4 at offset : 3482 requests: 4 at offset : 3486 start = 96472474 length = 20 name_ = tref

requests: 4 at offset : 3490 requests: 4 at offset : 3494 start = 96472482 length = 12 name_ = cdsc requests: 4 at offset : 3498

requests: 4 at offset : 3502 requests: 4 at offset : 3506 start = 96472494 length = 36 name_ = edts

requests: 4 at offset : 3510 requests: 4 at offset : 3514 start = 96472502 length = 28 name_ = elst requests: 20 at offset : 3518

requests: 4 at offset : 3538 requests: 4 at offset : 3542 start = 96472530 length = 345 name_ = mdia

requests: 4 at offset : 3546 requests: 4 at offset : 3550 start = 96472538 length = 32 name_ = mdhd requests: 24 at offset : 3554

requests: 4 at offset : 3578 requests: 4 at offset : 3582 start = 96472570 length = 61 name_ = hdlr requests: 53 at offset : 3586

requests: 4 at offset : 3639 requests: 4 at offset : 3643 start = 96472631 length = 244 name_ = minf

requests: 4 at offset : 3647 requests: 4 at offset : 3651 start = 96472639 length = 12 name_ = nmhd requests: 4 at offset : 3655

requests: 4 at offset : 3659 requests: 4 at offset : 3663 start = 96472651 length = 36 name_ = dinf

requests: 4 at offset : 3667 requests: 4 at offset : 3671 start = 96472659 length = 28 name_ = dref requests: 20 at offset : 3675

requests: 4 at offset : 3695 requests: 4 at offset : 3699 start = 96472687 length = 188 name_ = stbl

requests: 4 at offset : 3703 requests: 4 at offset : 3707 start = 96472695 length = 32 name_ = stsd requests: 24 at offset : 3711

requests: 4 at offset : 3735 requests: 4 at offset : 3739 start = 96472727 length = 24 name_ = stts requests: 16 at offset : 3743

requests: 4 at offset : 3759 requests: 4 at offset : 3763 start = 96472751 length = 28 name_ = stsc requests: 20 at offset : 3767

requests: 4 at offset : 3787 requests: 4 at offset : 3791 start = 96472779 length = 20 name_ = stsz requests: 12 at offset : 3795

requests: 4 at offset : 3807 requests: 4 at offset : 3811 start = 96472799 length = 76 name_ = stco requests: 68 at offset : 3815

requests: 4 at offset : 3883 requests: 4 at offset : 3887 start = 96472875 length = 52 name_ = uuid requests: 44 at offset : 3891

requests: 4 at offset : 3935 requests: 4 at offset : 3939 start = 96472927 length = 46 name_ = uuid requests: 38 at offset : 3943

requests: 4 at offset : 3981 requests: 4 at offset : 3985 start = 96472973 length = 1520 name_ = meta requests: 1512 at offset : 3989 Composition time offset atom found. Out of order samples possible. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/c/Users/purch/Desktop/recover/C0113.MP4': Metadata: major_brand : XAVC minor_version : 16785407 compatible_brands: XAVCmp42iso2 creation_time : 2018-09-19T00:40:55.000000Z Duration: 00:00:07.51, start: 0.000000, bitrate: 102769 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, unknown/unknown/bt709), 3840x2160 [SAR 1:1 DAR 16:9], 96970 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default) Metadata: creation_time : 2018-09-19T00:40:55.000000Z handler_name : Video Media Handler encoder : AVC Coding Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default) Metadata: creation_time : 2018-09-19T00:40:55.000000Z handler_name : Sound Media Handler Stream #0:2(und): Data: none (rtmd / 0x646D7472), 196 kb/s (default) Metadata: creation_time : 2018-09-19T00:40:55.000000Z handler_name : Timed Metadata Media Handler timecode : 13:35:47:00 found avcC after: 102 remaining len:360 parsing avcC ... len_sps: 52 decoding SPS ... log2_max_frame_num: 6 Info: avcC got decoded No codec found!

My reference file and damaged file are generated from a Sony A7RIII and I have the according XMLs. The reference file plays just great.

Do you have any clues on how to fix this?

anthwlock commented 6 years ago

Please send me the files, otherwise I can't help you.

garnio commented 6 years ago

Same issue here, my file is 18Gb XAVC-S 100fps

anthwlock commented 6 years ago

@garnio could you send me a healthy sample, around 100mb or so?

garnio commented 5 years ago

Thanks anthwlock! I gave up on this app, I did found another one called restore_mp4 that creates an h264 file and a wave file, combined in ffmpeg it works perfectly!

anthwlock commented 5 years ago

@garnio do you have the url? I am unable to find such a program.

garnio commented 5 years ago

https://tehnoblog.org/video-repair-guide-corrupted-mp4-avi-h264-file-fix/

the official program is no longer available, the developer got sick at people using his program without giving any donation, now he provides an automatic service but you have to pay. in the link I provided you can find the deprecated tool, it worked perfectly for me. In addition you need a compiled version of ffmpeg version 3.4.1 or something like that.