freeMXF.org http://freemxf.org/forum/ |
|
get duration from mxf file http://freemxf.org/forum/viewtopic.php?f=2&t=172 |
Page 1 of 1 |
Author: | alexxx [ Thu Mar 05, 2009 1:03 pm ] |
Post subject: | get duration from mxf file |
Hi, I want to extract the duration of the whole mxf file. In the metadata printed by mxfsplit, there are lots of duration values. |
Author: | Board Admin [ Fri Mar 06, 2009 1:45 pm ] |
Post subject: | |
This can be tricky because there are many durations in that file that can be different! In the simplest files, they should all be the same, but it depends on the complexity of the file. |
Author: | alexxx [ Fri Mar 06, 2009 2:04 pm ] |
Post subject: | |
thanks for your answer! well, my file has a dnxhd codec in it. I see lots of Duration = 10800000, and at the end of the metadata-output 4 times Duration = 250 (which is the right duration in this case, because I know that the file has 10 seconds) Can I say that in this case the last occurence of Duration is the right one or is this a too simple attempt? |
Author: | Board Admin [ Fri Mar 06, 2009 2:08 pm ] |
Post subject: | |
It could be that the audio tracks have a different edit rate than the video tracks - which should not happen in the same package! The duration is measured in edit units, so 10800000 edit units at 48kHz is 225 seconds. Something sounds wrong here! |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |