Hi everyone,
I am using the AM5708 for development. Now I am having a problem. When using QMediaPlayer to play mp4 files, it is always unsuccessful.
So I used the player program in the /usr/share/qt5/examples/multimediawidget directory to test it. It was also unsuccessful and reported the following error:
root@AM57xx-Tronlong:/usr/share/qt5/examples/multimediawidgets/player# /etc/init.d/weston stop
Stopping Weston
root@AM57xx-Tronlong:/usr/share/qt5/examples/multimediawidgets/player# ./player -platform linuxfb
Warning: "Failed to connect: Connection refused"
Error: "Could not determine type of stream."
Warning: "Failed to connect: Connection refused"
Error: "Could not determine type of stream."
My SDK version is ti-processor-sdk-linux-rt-am57xx-evm-04.03.00.05, this may be a bit old, but I have no way to change it.
In addition, I can use the command
“gst-launch-1.0 filesrc location=test.mp4 ! qtdemux ! h264parse ! ducatih264decvpe ! kmssink”
to play video, but once I use QMediaPlayer, it will not work.
Please tell me how to solve this problem, thank you very much.
best regards
xiaoma