tonches / moovrelocator

Automatically exported from code.google.com/p/moovrelocator
Other
0 stars 0 forks source link

moovrelocator can't find moovatom #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the demo script to "fix" a mp4 video made in Adobe Premier

What is the expected output? What do you see instead?
Expected a new video file. Got "The moov-atom isn't located at the end of the 
file, the file is allready ready for progressive download or it is a invalid 
file".

What version of the product are you using? On what operating system?
Using version 0.2 on Mac OS X 10.7.3.

Please provide any additional information below.
Output from AtomicParsley shows the MOOV atom at the end:

Atom ftyp @ 0 of size: 24, ends @ 24
Atom mdat @ 24 of size: 8738542 (^), ends @ 8738566
             (^)denotes a 64-bit atom length
Atom moov @ 8738566 of size: 119754, ends @ 8858320
     Atom mvhd @ 8738574 of size: 108, ends @ 8738682
     Atom trak @ 8738682 of size: 91128, ends @ 8829810
         Atom tkhd @ 8738690 of size: 92, ends @ 8738782
         Atom edts @ 8738782 of size: 36, ends @ 8738818
             Atom elst @ 8738790 of size: 28, ends @ 8738818
         Atom mdia @ 8738818 of size: 90992, ends @ 8829810
             Atom mdhd @ 8738826 of size: 32, ends @ 8738858
             Atom hdlr @ 8738858 of size: 68, ends @ 8738926
             Atom minf @ 8738926 of size: 90884, ends @ 8829810
                 Atom vmhd @ 8738934 of size: 20, ends @ 8738954
                 Atom dinf @ 8738954 of size: 36, ends @ 8738990
                     Atom dref @ 8738962 of size: 28, ends @ 8738990
                 Atom stbl @ 8738990 of size: 90820, ends @ 8829810
                     Atom stsd @ 8738998 of size: 170, ends @ 8739168
                         Atom avc1 @ 8739014 of size: 154, ends @ 8739168
                             Atom avcC @ 8739100 of size: 68, ends @ 8739168
                     Atom stts @ 8739168 of size: 24, ends @ 8739192
                     Atom ctts @ 8739192 of size: 46320, ends @ 8785512
                     Atom stss @ 8785512 of size: 1020, ends @ 8786532
                     Atom sdtp @ 8786532 of size: 8010, ends @ 8794542
                     Atom stsc @ 8794542 of size: 40, ends @ 8794582
                     Atom stsz @ 8794582 of size: 32012, ends @ 8826594
                     Atom stco @ 8826594 of size: 3216, ends @ 8829810
     Atom trak @ 8829810 of size: 28510, ends @ 8858320
         Atom tkhd @ 8829818 of size: 92, ends @ 8829910
         Atom edts @ 8829910 of size: 36, ends @ 8829946
             Atom elst @ 8829918 of size: 28, ends @ 8829946
         Atom mdia @ 8829946 of size: 28374, ends @ 8858320
             Atom mdhd @ 8829954 of size: 32, ends @ 8829986
             Atom hdlr @ 8829986 of size: 68, ends @ 8830054
             Atom minf @ 8830054 of size: 28266, ends @ 8858320
                 Atom smhd @ 8830062 of size: 16, ends @ 8830078
                 Atom dinf @ 8830078 of size: 36, ends @ 8830114
                     Atom dref @ 8830086 of size: 28, ends @ 8830114
                 Atom stbl @ 8830114 of size: 28206, ends @ 8858320
                     Atom stsd @ 8830122 of size: 102, ends @ 8830224
                         Atom mp4a @ 8830138 of size: 86, ends @ 8830224
                             Atom esds @ 8830174 of size: 50, ends @ 8830224
                     Atom stts @ 8830224 of size: 24, ends @ 8830248
                     Atom stsc @ 8830248 of size: 4828, ends @ 8835076
                     Atom stsz @ 8835076 of size: 20028, ends @ 8855104
                     Atom stco @ 8855104 of size: 3216, ends @ 8858320
------------------------------------------------------
Total size: 8858320 bytes; 44 atoms total. AtomicParsley version: 0.9.0 (utf8)
Media data: 8738542 bytes; 119778 bytes all other atoms (1.352% atom overhead).
Total free atom space: 0 bytes; 0.000% waste.
------------------------------------------------------

Original issue reported on code.google.com by ja...@digitaledgeit.com.au on 10 Feb 2012 at 3:35

GoogleCodeExporter commented 8 years ago
Moov atom is not at the right position. It should be above Atom mdat or say in 
the header section of the movie. You can use QTIndexSwapper2.exe to fix this 
issue. Good luck!

Original comment by amit.gup...@gmail.com on 17 Oct 2012 at 9:09