Toybrick

qt gstreamer custom pipeline

rakidis

高级会员

积分
507
楼主
发表于 2021-3-2 21:46:18    查看: 10760|回复: 0 | [复制链接]    打印 | 只看该作者
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


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表