leosongwei / mutagen

Automatically exported from code.google.com/p/mutagen
GNU General Public License v2.0
0 stars 0 forks source link

MP4: add offset of moov atom to MP4Info #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using HTTP to (pseudo-)stream MP4 files, it is important that the moov 
atom is at the beginning of the file, and not at the end (otherwise the player 
must download the whole file before it can be played).

It would be very helpful if mutagen could be used to find out whether the moov 
position is correct or not. Fortunately that info is already available, it is 
just not stored.

The attached patch adds a new value moov_offset to MP4Info, so that it can be 
retrieved by the caller.

Original issue reported on code.google.com by chris.vigelius on 11 Jan 2011 at 3:54

Attachments:

GoogleCodeExporter commented 9 years ago
Please include some comment explaining why the moov offset is provided, and 
include a test case. (It can probably be worked into one of the existing suites 
easily.)

Original comment by joe.wreschnig@gmail.com on 17 Apr 2011 at 12:10

GoogleCodeExporter commented 9 years ago
When writing new tags to an MP4, is there currently any way to specify to put 
the moov atom at the beginning?

Original comment by Tehp...@gmail.com on 22 Feb 2013 at 12:23

GoogleCodeExporter commented 9 years ago
mutagen has moved to Bitbucket: https://bitbucket.org/lazka/mutagen/issue/80

Original comment by reiter.christoph@gmail.com on 4 Jul 2014 at 3:39