Gstreamer video over ip receive in Qt
-
Hi
I want to receive video streaming from my Arm board to my PC.
I use this code to stream from my Arm board:./capture -c 10000 -o | gst-launch-0.10 -v -e filesrc location=/dev/fd/0 ! h264parse ! rtph264pay ! udpsink host=192.168.1.20 port=1234
and for receive in my PC :
gst-launch udpsrc port=1234 ! "application/x-rtp, payload=127" ! rtph264depay ! ffdec_h264 ! xvimagesink sync=false
I want to import video in Qt for using video in Qt.
-
if you use gstreamer-0.10 then you can use "Qt Multimedia Framework":http://qt-project.org/doc/qt-5.0/qtmultimedia/multimediaoverview.html
Take a look on examples/multimediawidgets or examples/multimedia if you use QML.
I was able to play rtsp stream with examples/multimediawidgets/player/ Just need to modify
@void Player::open()@to make it to accept rstp link instead of local file.