wisherzhang / mp4v2

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

How to compensaet dropped frames #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, all.
I have my device which captures PAL frames and H.264 encodes them. The encoder 
output I next feed to the mp4v2 library. 
Everything goes perfect, till the case when the device drops some frames (thus 
we have, for example, 20 fps instead of 25fps). As the result, the total mp4 
movie becomes 20% shorter than the reality.
I tried several ways to compensate the lack of these frames, but none of the 
ways was successful.

I shall be very thankful for any advice how can I solve this by means of MP4 
parameters.

Original issue reported on code.google.com by leon.pol...@gmail.com on 11 Feb 2013 at 1:07

GoogleCodeExporter commented 8 years ago
For those who will follow this from the Internet: correct the "Duration" field.

Original comment by leon.pol...@gmail.com on 23 Feb 2013 at 6:07

GoogleCodeExporter commented 8 years ago
Sounds like you figured it out, but you're correct: as long as duration is 
compensated for, the resulting file should end up okay

Original comment by kid...@gmail.com on 13 May 2013 at 3:35