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
QtWS25 Last Chance

QT multimedia

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qtmultimedia
6 Posts 2 Posters 786 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 18 Jan 2021, 06:55 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Jan 2021, 20:30 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 19 Jan 2021, 06:32 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 19 Jan 2021, 20:25 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 25 Jan 2021, 15:26
          0
          • S SGaist
            19 Jan 2021, 20:25

            Did you test the QML Video Example ?

            T Offline
            T Offline
            Thuyle
            wrote on 25 Jan 2021, 15:26 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 25 Jan 2021, 19:06 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

              3/6

              19 Jan 2021, 06:32

              • Login

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