QMediaPlayer, duration error



  • When I playback files which has VideoFrameRate - 25, the duration showing in a correct way.
    When I playback files which has VideoFraneRate 29,9, the duration is wrong (less than expected).

    the checking of the connection
    connect(player, SIGNAL(positionChanged(qint64)), SLOT(positionChanged(qint64)));

    I have the following value of the possition values (when values are repeated, the playback still coming)

    0
    255
    1209
    2210
    3208
    4209
    5210
    6209
    7210
    8205
    9207
    10208
    11211
    12207
    13209
    14210
    15207
    16210
    17209
    18206
    19209
    20209
    21207
    22209
    23209
    24059
    24059
    24059
    24059
    24059
    24059
    24059

    How possible to get the correct info about duration


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.