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 not working with wmv files

QVideoProbe not working with wmv files

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 467 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.
  • J Offline
    J Offline
    JK3WN
    wrote on last edited by
    #1

    I tried to use QVideoProbe to process frames from video files. However, when I try to process wmv files, it doesn't work. I tried to use this example(https://doc.qt.io/qt-5/qvideoprobe.html), but the slot processFrame(QVideoFrame) doesn't send a proper QVideoFrame. I checked that videoFrameProbed(QVideoFrame) signal was emitted, but the received QVideoFrame had a size of (-1,-1) and a pixel format of "Format_Invalid". Is this a problem with the wmv files I used, or do I need to do some procedures(i.e. map) to properly use the QVideoProbe?

    jsulmJ 1 Reply Last reply
    0
    • J JK3WN

      I tried to use QVideoProbe to process frames from video files. However, when I try to process wmv files, it doesn't work. I tried to use this example(https://doc.qt.io/qt-5/qvideoprobe.html), but the slot processFrame(QVideoFrame) doesn't send a proper QVideoFrame. I checked that videoFrameProbed(QVideoFrame) signal was emitted, but the received QVideoFrame had a size of (-1,-1) and a pixel format of "Format_Invalid". Is this a problem with the wmv files I used, or do I need to do some procedures(i.e. map) to properly use the QVideoProbe?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @JK3WN On what OS are you?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @JK3WN On what OS are you?

        J Offline
        J Offline
        JK3WN
        wrote on last edited by
        #3

        @jsulm Windows 10.
        Additional Info
        Windows Media Foundation
        Qt 5.15.2
        MSVC2019 64bit

        jsulmJ 1 Reply Last reply
        0
        • J JK3WN

          @jsulm Windows 10.
          Additional Info
          Windows Media Foundation
          Qt 5.15.2
          MSVC2019 64bit

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @JK3WN Do other formats work?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @JK3WN Do other formats work?

            J Offline
            J Offline
            JK3WN
            wrote on last edited by JK3WN
            #5

            @jsulm Yes. I checked that it works with mov, mp4, mts files.

            Edit: It seems like videos that are encoded with H264 are working ok, but videos encoded with msmpeg4v3 are not working. Maybe this is the real problem?

            1 Reply Last reply
            0

            • Login

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