Toybrick

标题: qt gstreamer custom pipeline [打印本页]

作者: rakidis    时间: 2021-3-2 21:46
标题: qt gstreamer custom pipeline
Hello,
I been trying to construct custom pipeline in qmultimedia class Qmediaplayer, using your sdk as reference.

https://github.com/rockchip-linux
So far, I couldn't figure out which sink you use in your implementations. I know I can use waylandsink directly for gstreamer, but for Qmediaplayer, I dont know which sink to use.

From Qt's documentation, it shows that they use xvimagesink
QMediaPlayer *receiver = new QMediaPlayer;
videoWidget = new QVideoWidget; receiver->setVideoOutput(videoWidget); receiver->setMedia(QUrl("gst-pipeline: udpsrc port=5000 ! \     application/x-rtp,encoding-name=JPEG,payload=26 ! rtpjpegdepay ! jpegdec ! \     xvimagesink name=qtvideosink")); receiver->play(); // Content will be shown in this widget. videoWidget->show();

But xvimagesink is not even compiled as default, so rockchip-gst cannot be using it.
Could you explain which sink rockchip uses for qtmultimedia? And how can I integrate it to qmediaplayer to create custom gst pipelines in Qt







欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3