”GStreamer; Unable to pause” in Qt
#1
hi,guys
I want to play online mp3 by QMediaPlayer ,it works well on ubuntu PC,but gose wrong on my sbc

below is my code:
    QUrl url("https://files.21voa.com/202104/make-or-create.mp3");
    QMediaPlayer mediaPlayer;
    mediaPlayer.setMedia(url);
    mediaPlayer.play();


errors :
GStreamer; Unable to pause - "https://files.21voa.com/202104/make-or-create.mp3"
GStreamer; Unable to pause - "https://files.21voa.com/202104/make-or-create.mp3"
Error: "No URI handler implemented for \"https\"."


I have libgstreamer-1.0.so
/usr/lib/libgstreamer-1.0.so -> libgstreamer-1.0.so.0.1404.0

how can i fix this error?
  Reply
#2
Your random programming issues aren't really suited to the RockPro64 forum. Just because you happened to run into the issue on a Pine device, doesn't make it a problem for the Pine community to solve. You'd be a million times better off asking your question to the Qt community.

That said, you have a plugin problem. Checkout: https://github.com/strawberrymusicplayer...issues/142
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Question about gstreamer-rockchip and mpp mire 1 1,897 09-13-2019, 06:57 AM
Last Post: grkblood13
  Unable to boot ayufan images vman 0 838 03-27-2019, 02:06 AM
Last Post: vman

Forum Jump:


Users browsing this thread: 1 Guest(s)