Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QVideoProbe causes the video to rotate 180 degrees with MinGW.

QVideoProbe causes the video to rotate 180 degrees with MinGW.

Scheduled Pinned Locked Moved Solved General and Desktop
qvideoprobemingwqmultimediaqmediaplayerqt5.9.2
9 Posts 2 Posters 2.8k Views
  • 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.
  • D Offline
    D Offline
    dprmsi
    wrote on 26 Nov 2017, 15:37 last edited by dprmsi
    #1

    Hello, everyone.
    The problem is described in header. It occurs with video near 3 GB size and more (also, presumably, only .mkv format. I tested .mp4 which 3.81 GB and it's fine.). If I comment probe->setMedia() line it's ok. If I build programms with MSVS 2017 compiler it's also ok. Same thing with Qt examples, like videoplayer, videographiscItem. I suppose it's a rather MinGW bug , but any help will be appreciated, thanks.
    My config:
    Qt 5.9.2
    MinGW 5.3.0
    Windows 7 SP1

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 26 Nov 2017, 21:20 last edited by
      #2

      Hi and welcome to devnet,

      Does it only happen with big video files ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dprmsi
        wrote on 27 Nov 2017, 09:14 last edited by
        #3

        Hi. Yes, as I mentioned before, it occurs only for files about 3 GB size. For example with 2,93 GB file the problem appears, but 2,18 GB is ok. Both files are .mkv. I have only one .mp4 file what big enough (3,81 GB) and it's fine. Also I test one .ts file for 2,41 GB and it's ok too. All files have different resolutions, most of them HD or FULL HD but some of them have non standart resolution (1280x544 for example).

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 27 Nov 2017, 13:08 last edited by
          #4

          Any videos of that size or it is a particular file ?
          Do you have any special codecs installed ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          D 1 Reply Last reply 27 Nov 2017, 18:02
          0
          • S SGaist
            27 Nov 2017, 13:08

            Any videos of that size or it is a particular file ?
            Do you have any special codecs installed ?

            D Offline
            D Offline
            dprmsi
            wrote on 27 Nov 2017, 18:02 last edited by
            #5

            Any video in .mkv about 3 GB and more. It likely doesn't affect .mp4 and .ts files, but i'm not sure. I have only one .mp4 and .ts files of the corresponding size. It's not enough to be sure.
            And yes, I have K-Lite Mega Codec Pack 10.6.5 installed.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 27 Nov 2017, 20:41 last edited by
              #6

              Pretty unusual...

              Might be a silly question but does these files trigger bugs in e.g. VLC or other media players ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dprmsi
                wrote on 27 Nov 2017, 21:49 last edited by dprmsi
                #7

                No, it doesn't. All files are played normal. More of that as I mentioned in the first post the problem disappears with MSVS compiler. Anyone can easy reproduce this problem. All you need is the last Qt SDK with MinGW and standard "Media Player Example". It uses QVideoProbe and if there is a bug you will see it.

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  dprmsi
                  wrote on 28 Nov 2017, 12:17 last edited by
                  #8

                  And finally i got the solution. The problem was in outdated version of K-lite codecs. I installed latest version of K-Lite Mega Codec Pack 13.6.5 and videos play as they should. It's still very strange because videos have played well in VS build and any video player (e.g. Media Player classic, Windows Media and VLC of course).
                  And of course big thanks @SGaist for help.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 28 Nov 2017, 20:53 last edited by
                    #9

                    IIRC, the two builds are not using the same backend.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0

                    1/9

                    26 Nov 2017, 15:37

                    • Login

                    • Login or register to search.
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved