And why is that an issue? It could just pipe out the duration at the start of the file since it knows the duration from the source file... or is it possible to manually specify the duration so that it is written?