Open RomzesRover opened 3 years ago
I found that get video information to fetch duration is kinda long operation. It tooks approx 1.5+ sec on each item. In my opinion glrv from media list is media duration actually.
For example I took some videos with this data:
glrv - actual duration in millis 8449660 - 57208ms 1283075 - 8427ms 665563 - 5100ms 753577 - 4949ms 13896558 - 94144ms
By dividing and finding an medium value I get this value: 146,06779634371732598664448117756
So if you divide yours glrv to this constant you will get approximate video duration in millis.
Please confirm or not that. Thx.
I found that get video information to fetch duration is kinda long operation. It tooks approx 1.5+ sec on each item. In my opinion glrv from media list is media duration actually.
For example I took some videos with this data:
glrv - actual duration in millis 8449660 - 57208ms 1283075 - 8427ms 665563 - 5100ms 753577 - 4949ms 13896558 - 94144ms
By dividing and finding an medium value I get this value: 146,06779634371732598664448117756
So if you divide yours glrv to this constant you will get approximate video duration in millis.
Please confirm or not that. Thx.