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. Video/Audio
Qt 6.11 is out! See what's new in the release blog

Video/Audio

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.8k Views 1 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.
  • M Offline
    M Offline
    mikealfa
    wrote on last edited by
    #1

    @
    import Qt4.7
    import QtMultimediaKit 1.1

    Audio {
    id: audio
    source: “<url>”
    }

    PlayButton{
    onClicked: { audio.play() }
    }

    ProgressBar{
    progress: audio.position
    maximumValue : audio.duration
    }
    @
    this doesnt work, says : out of memory allocating blah blah blah bytes
    how can i fix this up ?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      Which platform are you on? How big is the file you're trying to play?

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mikealfa
        wrote on last edited by
        #3

        Windows 7 and using Qt Creator 2.4.1 based on Qt 4.7.4
        The file is just some 21 megs in size

        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