MLV quirks

Started by Thomas Worth, March 14, 2014, 08:12:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thomas Worth

I'm looking into MLV, and am dealing with two issues at the moment:

1. mlv_file_hdr_t.videoFrameCount is sometimes 1-2 frames more than the actual number of frame chunks in the file. Is this a known issue? Right now, I have to parse the entire file to reliably determine the frame count.
2. Audio is always 5-6 frames greater than the video. If someone can offer a technical explanation for this, I can see about compensating for this during post-processing.

That's all for now. ;)

chmee

1. for me as well, but -> its not that bad to count all VIDF-Blocks - and by the way create a (VIDF and AUDF)block-list (if needed), then sorting by timestamp. luckily in the VIDF-Blocks is a Framestamp, therefore you can convert without sorting blocks. so, for only converting to DNG you dont need the framecount, do a while-loop until EOF.

2. i didnt tested, but i assume, leaving the last x(6?) AUDF-Chunks should do the trick.

regards chmee
[size=2]phreekz * blog * twitter[/size]