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. https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.

https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 1.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.
  • P Offline
    P Offline
    panther1980
    wrote on last edited by panther1980
    #1

    I am trying to run below code but getting error.
    error = > "https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled."

    it works fine with http sites.

    #include <QCoreApplication>
    #include<QMediaPlayer>
    #include<QUrl>

    int main(int argc, char *argv[])
    {
    QCoreApplication a(argc, argv);
    QMediaPlayer *player = new QMediaPlayer();
    player->setSource(QUrl("https://aveclagare.org/mp3/One Shot Lili - Master Half Wizard.mp3"));
    player->play();
    return a.exec();
    }

    my system :-
    0ab59aac-1b05-489c-9aa3-4eef9a19b502-image.png

    $ ffmpeg -protocols

    ffmpeg version N-111376-g13ef5025e3 Copyright (c) 2000-2023 the FFmpeg developers
    built with gcc 13.1.1 (GCC) 20230429
    configuration: --enable-gnutls
    libavutil 58. 14.100 / 58. 14.100
    libavcodec 60. 22.100 / 60. 22.100
    libavformat 60. 10.100 / 60. 10.100
    libavdevice 60. 2.101 / 60. 2.101
    libavfilter 9. 8.102 / 9. 8.102
    libswscale 7. 3.100 / 7. 3.100
    libswresample 4. 11.100 / 4. 11.100
    Supported file protocols:
    Input:
    async
    cache
    concat
    concatf
    crypto
    data
    fd
    ffrtmphttp
    file
    ftp
    gopher
    gophers
    hls
    http
    httpproxy
    https
    mmsh
    mmst
    pipe
    rtmp
    rtmps
    rtmpt
    rtmpts
    rtp
    srtp
    subfile
    tcp
    tls
    udp
    udplite
    unix
    ipfs
    ipns
    Output:
    crypto
    fd
    ffrtmphttp
    file
    ftp
    gopher
    gophers
    http
    httpproxy
    https
    icecast
    md5
    pipe
    prompeg
    rtmp
    rtmps
    rtmpt
    rtmpts
    rtp
    srtp
    tee
    tcp
    tls
    udp
    udplite
    unix

    Please help and Thanks in advance.

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

      Hi,

      Which version of Qt are you using ?
      How did you install it ?
      I suspect you are using one from the online installer and depending on that, there was an issue with the ffmpeg backend that was built without the network protocols.

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

      P 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which version of Qt are you using ?
        How did you install it ?
        I suspect you are using one from the online installer and depending on that, there was an issue with the ffmpeg backend that was built without the network protocols.

        P Offline
        P Offline
        panther1980
        wrote on last edited by panther1980
        #3

        @SGaist

        1. 97b39dce-e122-4657-a8a1-e1cf1ff1bd6c-image.png
        2. Online installer

        how to fix it?
        thanks for replying

        SGaistS 1 Reply Last reply
        0
        • P panther1980

          @SGaist

          1. 97b39dce-e122-4657-a8a1-e1cf1ff1bd6c-image.png
          2. Online installer

          how to fix it?
          thanks for replying

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          This the Qt Creator properties, it has nothing to do with the version of Qt you are using to build your application.

          The best solution is to ensure that you are using the latest version of Qt where it should be fixed.

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

          P 1 Reply Last reply
          0
          • SGaistS SGaist

            This the Qt Creator properties, it has nothing to do with the version of Qt you are using to build your application.

            The best solution is to ensure that you are using the latest version of Qt where it should be fixed.

            P Offline
            P Offline
            panther1980
            wrote on last edited by panther1980
            #5

            @SGaist
            I already have latest version of QT installed
            2e82938c-7b28-4ed0-9041-d76111e66853-image.png

            SGaistS 1 Reply Last reply
            0
            • P panther1980

              @SGaist
              I already have latest version of QT installed
              2e82938c-7b28-4ed0-9041-d76111e66853-image.png

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by SGaist
              #6

              Strange as it should have been fixed for 6.5.1.

              Can you test with the 6.6 beta ?

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

              P 2 Replies Last reply
              0
              • SGaistS SGaist

                Strange as it should have been fixed for 6.5.1.

                Can you test with the 6.6 beta ?

                P Offline
                P Offline
                panther1980
                wrote on last edited by
                #7

                @SGaist
                Now I uninstalled the QT
                and trying to insall QT through offline installer

                SGaistS 1 Reply Last reply
                0
                • SGaistS SGaist

                  Strange as it should have been fixed for 6.5.1.

                  Can you test with the 6.6 beta ?

                  P Offline
                  P Offline
                  panther1980
                  wrote on last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • P panther1980

                    @SGaist
                    Now I uninstalled the QT
                    and trying to insall QT through offline installer

                    SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Unless you have a commercial license, the offline installer won't be available for recent versions of Qt.

                    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
                    1

                    • Login

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