Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved HLS playback in Qt 6 in Windows ?

    General and Desktop
    qtmultimedia hls
    2
    4
    49
    Loading More Posts
    • 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.
    • O
      oniongarlic last edited by

      I'm trying to port over my application to Qt 6, but I'm having issues with HLS playback support in Windows. It works perfectly in Qt 5.15 but not under Qt 6. Even tried the just released beta of 6.5.0 but mediaplayer example just says "Could not open file".
      Is HLS not yet supported ? The url plays fine in ffmpeg, afaik shouldn't Qt Multimedia use ffmpeg these days on all platforms ?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        If memory serves well you need to set the QT_MEDIA_BACKEND environment variable to ffmpeg for now.

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

        O 1 Reply Last reply Reply Quote 0
        • O
          oniongarlic @SGaist last edited by

          @SGaist thanks, that seems to work, but HLS stream still won't play :(

          SGaist 1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion @oniongarlic last edited by

            @oniongarlic do you have any error message about it ?

            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 Reply Quote 0
            • First post
              Last post