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. QMediaPlayer remains in LoadingMedia state

QMediaPlayer remains in LoadingMedia state

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtmultimediaqmediaplayer
2 Posts 2 Posters 1.1k 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.
  • M Offline
    M Offline
    Marianne Stecklina
    wrote on 4 Jan 2016, 17:40 last edited by
    #1

    I followed the Playing Video in C++ instructions in Qt Video Overview, but the video doesn't show up. Debugging revealed that QMediaPlayer has NoError and PlayingState, but its mediaState remains LoadingMedia and never passes to LaodedMedia - regardless of the apporach used (QVideoWidget with setMedia(...) as well as setting a playlist, QGraphicsVideoItem).
    Could anyone point me out what I am doing wrong here?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 4 Jan 2016, 17:51 last edited by
      #2

      hi and welcome
      Maybe you can try with "Media Player Example" to see if it will load and play file. ?
      Its available directly in creator under the examples tab. just type video in search.
      It might be it dont like the format.

      1 Reply Last reply
      0

      1/2

      4 Jan 2016, 17:40

      • Login

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