Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QMedia player - length of video

    General and Desktop
    1
    1
    341
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aliks-os last edited by

      I have coded two versions of video player based on QMediaPlayer and on Vlc-qt. In both cases I have the incorrect value for the full time video. The player show me that total time is 7 seconds, but in fact the time approx. 5 minutes. And of course, the slider of position shows not correct.

      I was confused, so that maybe I did something wrong. But this video file was tested with MS video player, and I see the same problem.

      Video for testing can be found at https://1drv.ms/u/s!AgCzZ90Ttbz65jqiluS2NS95Id0U

      My guess is that the file contains the wrong information about the time. Or maybe not codec provides such information in not correct way.

      Can anybody clarify to me what the reason of the problem and how it should be fixed.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post