QMediaPlayer ERROR defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer
-
Check the test build logs to see what fails with the QtMultimedia module.
If you add the
-v
option to your configure call you should see it on the console already. -
QT multimedia did not configure gstreamer among its packages.
I have modified the configuration file adding@PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}
${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}
gstreamer010 " @and now it no longer gives me the error.
If I want to play h264 files instead it gives me the error:Warning: "No decoder available for type 'video/x-h264, stream-format=(string)avc, width=(int)640, height=(int)512, parsed=(boolean)true, align....
and the video doesn't start...
I'm discouraged..
I looked for solutions to my problem but nothing seems to work.
Grazie per il tuo aiutoLuisa
-
Did you install the gstreamer plugins packages ?
-
Can you play that file from the command line using gstreamer directly ?
-
But I have another problem. When I try to view a video I have the following error
Warning: "Failed to connect: Connection refused"
GET_DMA_PHY: Invalid argument
Failed to import fd : 1973231776
myprogram: base/omx_codec/omx_codec.cpp:1275: void Codec::TreatFillBufferCommand(Task*): Assertion `success' failed.and the software crashes.
Has anyone solved a problem similar to mine?
Thanks in advanceLuisa
-
Again: is it working on the command line with gstreamer directly ?
-
I am working with an embedded system so gstreamer could not throw the output on the screen.
I use the QMediaPlayer class.
The instruction that fails is themyPlayer-> setMedia (qurl :: fromLocalFile (video2show.at (0)));
Small and low resolution videos work very badly. Larger videos cause the crash.
Are there any environment variables to set to allocate more resources to the running program?
Thanks in advance
Luisa
-
I don't see the relation between an embedded system and the fact that streamer output on screen.
What is that device ?
What are its specifications ?