Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Streaming video with QML MediaPlayer using QtMultimedia 5.5

Streaming video with QML MediaPlayer using QtMultimedia 5.5

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 2.6k 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.
  • SteveL3S Offline
    SteveL3S Offline
    SteveL3
    wrote on last edited by
    #1

    I am attempting to write a cross-platform app that involves displaying streaming video. I'm currently using QML VideoOutput and QML MediaPlayer.

    I am testing the app on Linux, OSX, Android and iOS. The video play correctly for both local files and streaming files (rtsp) on all the non-Apple OSes.

    On OSX and iOS, I can play the file locally (so I don't believe it's a codec issue), but when I try to stream it over rtsp, both OSX and IOS report "Failed to load media" from MediaPlayer. The same rtsp stream works fine in VLC on either platform.

    Since they both use qavfmediaplayer as their backend, I suspect this is the problem? Can anyone confirm that rtsp (or perhaps udp) will work on Apple OSes using MediaPlayer and VideoOutput?

    Thanks,
    Steve

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JessicaChen
      wrote on last edited by
      #2

      I am having the same issue.

      I am using QT5.6. The same code with rtsp source worked on Android, but failed on OSX (El Capitan). On OSX, VLC client can see the rtsp stream.

      Can anybody give some ideas?

      Thanks,
      Jessica

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

        Hi,

        You can use the VLC-Qt project so you integrate VLC's powerful multimedia support in your Qt application.

        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