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. QML video element not able to play H264 video
Forum Updated to NodeBB v4.3 + New Features

QML video element not able to play H264 video

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.0k Views 2 Watching
  • 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.
  • M Offline
    M Offline
    Maheshdev305
    wrote on last edited by
    #1

    I am using QML Video element to play an H264 video file. I am not getting either video / audio.
    however, the same file plays on Windows media player and VLC.
    FYI, the environment is Qt 5.5 MinGw, Windows10

      Video {
            id: vid
            anchors.fill: parent
            source: "file://C:/testVideo.mp4"
            autoLoad: true
            autoPlay: true
    }
    

    so, Qt multimedia doesn't support H264 decoders on Windows platform?
    may I know what all video formats does Qt multimedia supports?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      IIRC, MinGW uses the DirectX backend and this one supports less video formats.

      Qt supports what the platform supports bug Windows is an "alien" in the sense that there are two backends.

      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

      • Login

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