TotalDuration always show 00:00:00
puangpaka20 opened this issue · comments
puangpaka20 commented
hello i try follow up the code with "Subscribe to events" tutorial everything fine only the "TotalDuration", While convert the video file it always show 00:00:00
Tobias Haimerl commented
should be fixed by #23
Next version will contain the PR
Tobias Haimerl commented
The TotalDuration property is actually always set to TimeSpan.Zero.
I guess this was an oversight even before forking the mediatoolkit library.
But as a workaround the total duration can be retrieved by GetMetaDataAsync(...)
puangpaka20 commented
very thank you for fix this.