QMediaPlayer remains in LoadingMedia state
Marianne Stecklina last edited by
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?
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.