radek-k / FFMediaToolkit

FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
MIT License
353 stars 56 forks source link

Duration fix #11

Closed redbaty closed 4 years ago

redbaty commented 4 years ago

This will use AVContext's duration instead of the stream duration.

It should be noted that this might not work on other files and must be tested.