fivestarplus / mp4v2

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

mp4chaps/iTunes having problems with b-frame movie duration #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
have an MP4 containing H.264 with bframes, and add chapters to it using mp4chaps

What is the expected output? What do you see instead?
the duration should be equal to the duration prior to using mp4chaps. It is in 
Quicktime/VLC, 
but in iTunes the duration becomes much longer than the original duration.

Please provide any additional information below.
this will only happen with movies containing bframes
"clean" versions of the sample files are available at http://public.me.com/jpo, 
and also "chapped" 
versions of the files that exhibit the problem

Original issue reported on code.google.com by refulgentis@gmail.com on 15 Dec 2008 at 4:05

GoogleCodeExporter commented 8 years ago
If bframes.m4v is the "clean" version before using mp4chaps then please make a 
cleaner version available that does not contain any chapters since bframes.m4v 
already contains a chapter and a different playlength of audio (00:01:00.693) 
and 
video (00:01:00.560).

Original comment by u.pollae...@gmail.com on 15 Dec 2008 at 6:08

GoogleCodeExporter commented 8 years ago
upping two more files currently
bframes - only av.mp4 gets rid of the chapter track, my apologies, I didn't 
realize the preset I was using for 
encoding automatically added chapters, this cleaner file still exhibits the 
issue. Unfortunately this and every 
other single sample I could give you have different audio and video track 
lengths so I also uploaded
bframes - only v.mp4 - exhibits same issue, but the incorrect duration is ~90 
minutes when mp4chaps is used 
on it as compared to ~48 minutes for file with audio and video tracks.

Original comment by refulgentis@gmail.com on 15 Dec 2008 at 6:17

GoogleCodeExporter commented 8 years ago
Which revision of mp4v2 are you using?

Original comment by u.pollae...@gmail.com on 15 Dec 2008 at 6:39

GoogleCodeExporter commented 8 years ago
I was using 158, I will try a clean checkout of 159 to confirm

Original comment by refulgentis@gmail.com on 15 Dec 2008 at 6:44

GoogleCodeExporter commented 8 years ago
No need to use 159, the result will be the same.
The reason is the recalculation of the movie timescale which seems to disturb 
iTunes.

Original comment by u.pollae...@gmail.com on 15 Dec 2008 at 6:50

GoogleCodeExporter commented 8 years ago
trunk@160 contains a fix that does not recalculate movie header timescale and 
duration for video files

Original comment by u.pollae...@gmail.com on 15 Dec 2008 at 8:06