Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT multimedia
Forum Update on Monday, May 27th 2025

QT multimedia

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qtmultimedia
6 Posts 2 Posters 792 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.
  • T Offline
    T Offline
    Thuyle
    wrote on last edited by
    #1

    How to play a videoOutput on IOS with qml? When my video played, it has only audio

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

      Hi and welcome to devnet,

      Which version of Qt are you using ?
      In which version of iOS ?
      What is your video file format ?
      Video container type ?
      Video stream type ?

      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
      • T Offline
        T Offline
        Thuyle
        wrote on last edited by Thuyle
        #3

        I used QT5.15, IOS14.3, the video file format is mp4, mov, m4v
        It run on Android, MacOS

        Rectangle {
            id: video_rec
            x: 0
            y: 0
            width: wW
            height: wH
            color: "#ffffff"
            border.color: "#1866c8"
        
        
        
                MediaPlayer
                {
                    id:mediaPlayer
                    source:"img/demo2.mp4"
                    autoLoad: true
                    volume: 0.5
                    autoPlay: true
                  
                    
                }
        
                VideoOutput
                {
                    id:video_output
                    source: mediaPlayer
                    anchors.fill: parent
        
                }
        

        }

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

          Did you test the QML Video Example ?

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

          T 1 Reply Last reply
          0
          • SGaistS SGaist

            Did you test the QML Video Example ?

            T Offline
            T Offline
            Thuyle
            wrote on last edited by
            #5

            @SGaist said in QT multimedia:

            Did you test the QML Video Example ?

            I have tried it and with no success

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

              No warning or error message on the console ?

              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