Streaming video by QtGStreamer on QML

775 views Asked by At

I try to use QtGStreamer 1.0 to create a media player on qml. I use some samples n QtGStreamer example, the player application run OK but not qmlplayer application. It builds successful but can't run out. The output log show:

QML debugging is enabled. Only use this in a safe environment.

Failed to create qtquick2videosink. Make sure it is installed correctly

I need help on running video by QtGStreamer on qml. Thanks

1

There are 1 answers

0
Walt On

Adding

QGst::init(&argc, &argv);

before initializing objects helped me.