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.5k 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 8 Jul 2023, 10:57 last edited by panther1980 7 Aug 2023, 11:08
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 8 Jul 2023, 11:18 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 8 Jul 2023, 11:29
      0
      • S SGaist
        8 Jul 2023, 11:18

        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 8 Jul 2023, 11:29 last edited by panther1980 7 Aug 2023, 11:31
        #3

        @SGaist

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

        how to fix it?
        thanks for replying

        S 1 Reply Last reply 8 Jul 2023, 11:35
        0
        • P panther1980
          8 Jul 2023, 11:29

          @SGaist

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

          how to fix it?
          thanks for replying

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 8 Jul 2023, 11:35 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 8 Jul 2023, 11:41
          0
          • S SGaist
            8 Jul 2023, 11:35

            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 8 Jul 2023, 11:41 last edited by panther1980 7 Aug 2023, 11:46
            #5

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

            S 1 Reply Last reply 8 Jul 2023, 11:46
            0
            • P panther1980
              8 Jul 2023, 11:41

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

              S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 8 Jul 2023, 11:46 last edited by SGaist 7 Aug 2023, 11:47
              #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 8 Jul 2023, 11:56
              0
              • S SGaist
                8 Jul 2023, 11:46

                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 8 Jul 2023, 11:56 last edited by
                #7

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

                S 1 Reply Last reply 9 Jul 2023, 19:30
                0
                • S SGaist
                  8 Jul 2023, 11:46

                  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 8 Jul 2023, 12:07 last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • P panther1980
                    8 Jul 2023, 11:56

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

                    S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 9 Jul 2023, 19:30 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

                    3/9

                    8 Jul 2023, 11:29

                    topic:navigator.unread, 6
                    • Login

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