adamin1990 / mp4parser

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

Some examples work for RC2 but result in unplayable files for RC10 #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Modify ReadWriteExample or ShortenExample to reference a local mp4 file
2. Run the examples, and observe that the examples run to completion without 
any errors/exceptions
3. Attempt to play the generated output file

What is the expected output? What do you see instead?
I expect the output files to play; instead, for RC10 I get an error and the 
files will not play. For RC2 the output files play perfectly (in Windows Media 
Player 12)

What version of the product are you using? On what operating system?
1.0-RC2 & 1.0-RC10; on Windows 7 64 bit; Java 7 64 bit (1.7.0_04-b22)

Please provide any additional information below.
I could reproduce with several mp4 files, including the following as an 
example: http://www.mp4point.com/downloads/8e0c61a02ded.mp4 (10mb film trailer)

Original issue reported on code.google.com by abco...@gmail.com on 2 Jul 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Hi Alex, 
please check the trunk or the latest RC-11-snapshot on  
http://oss.sonatype.org/content/repositories/snapshots/ 
(http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/mp4parser
/isoparser/1.0-RC-11-SNAPSHOT/isoparser-1.0-RC-11-20120706.091648-5.jar)

I changed the tkhd and mvhd boxes to be written in version = 1 instead of 
version = 0. That allow 64 bit values for some fields. VLC likes that, 
Quicktime and WMP obviously not. I changed the DefaultMp4Builder so that the 
version=1 boxes are only written when really necessary. 

Hope that helps,
Sebastian

Original comment by Sebastian.Annies on 6 Jul 2012 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by Sebastian.Annies on 8 Jul 2012 at 4:32

GoogleCodeExporter commented 9 years ago
Hi Sebastian,

Thanks for looking into this issue; I tried again with 1.0-RC15 and it seems to 
be working now - the resulting files play fine in VLC and WMP.

Thanks

Alex.

Original comment by abco...@gmail.com on 3 Oct 2012 at 3:32