[vlc-devel] A simple container format

Frederic YHUEL fyhuel at viotech.net
Wed Aug 24 09:24:31 CEST 2011


On Wed, Aug 24, 2011 at 2:56 AM, Christopher Mueller
<christopher.mueller at itec.uni-klu.ac.at> wrote:
>> Hi Kaarlo,
>>
>> Thank you very much for your help.
>>
>> Is there a way to batch-extract the metadata from mp4 using vlc?
>>
>> Also, is there a way to batch-extract raw AAC and H.264 streams (without
>> transcoding) into their respective files?
>
> You can try mp4box.
>>

I found hachoir [1] very handy to investigate a MP4 file. Example :

$ hachoir-urwid bigbuckbunny.ismv

0) file:bigbuckbunny.ismv: Apple QuickTime movie (27.6 MB)
 - 0) atom[0]: Atom: ftyp (24 bytes)
      0) size= 24 (4 bytes)
      4) tag= "ftyp" (4 bytes)
    + 8) file_type: File type (16 bytes)
 + 24) atom[1]: Atom: moov (1292 bytes)
 + 1316) atom[2]: Atom: moof (867 bytes)
 + 2183) atom[3]: Atom: mdat (38.8 KB)
 + 41949) atom[4]: Atom: moof (858 bytes)
 + 42807) atom[5]: Atom: mdat (38.4 KB)
 + 82172) atom[6]: Atom: moof (858 bytes)
[...]

It might be possible to use hachoir for batch extraction, I don't really now...

[1] https://bitbucket.org/haypo/hachoir/wiki/Home

Best Regards,

-- 
Frédéric Yhuel



More information about the vlc-devel mailing list