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. I need to use an ffmpeg argument in a Qt video player
Forum Updated to NodeBB v4.3 + New Features

I need to use an ffmpeg argument in a Qt video player

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 344 Views 3 Watching
  • 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.
  • Z Offline
    Z Offline
    Zoox
    wrote on 7 Jan 2025, 09:54 last edited by Zoox 1 Jul 2025, 09:55
    #1

    I'm trying to play a video stream in a Qt6 application, but i'm getting this error at some point:

    [hls @ 0000018D40E09880] Filename extension of 'data:application/octet-stream;base64,K5sAj2KWglQkHrLHwQlEdg==' is not a common multimedia extension, blocked for security reasons.
    If you wish to override this adjust allowed_extensions, you can set it to 'ALL' to allow all
    

    In order to allow ffmpeg playing that stream, I would need to pass -allowed_extensions ALL to ffplay, for instance. But i'm not too sure if I can do something to allow it when using ffmpeg from inside Qt.

    What options do I have in this instance? As documented here there are some environment variables that can be used to modify ffmpeg, but none of them are referring to "allowed_extensions".

    Any ideas of what can I do?

    Thanks in advance.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 7 Jan 2025, 20:20 last edited by
      #2

      Hi,

      From the looks of it that is an option that is exclusive to the hls demuxer.
      You might want to check the bug report system and if there's nothing there open a feature request.

      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
      • C Offline
        C Offline
        ChrisW67
        wrote on 7 Jan 2025, 23:36 last edited by
        #3

        What sort of multimedia stream fits in a 16-byte embedded block of data anyway?

        Z 1 Reply Last reply 8 Jan 2025, 09:03
        0
        • C ChrisW67
          7 Jan 2025, 23:36

          What sort of multimedia stream fits in a 16-byte embedded block of data anyway?

          Z Offline
          Z Offline
          Zoox
          wrote on 8 Jan 2025, 09:03 last edited by
          #4

          @ChrisW67 It's an HLS encrypted stream, and those 16 bytes are the encryption key

          1 Reply Last reply
          0

          1/4

          7 Jan 2025, 09:54

          • Login

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