Trying to stream uncompressed video file via udpsink, receiver output is too slow
chris.gerdener at googlemail.com
Fri Dec 9 11:47:34 UTC 2022
For a university project, I am trying to use gstreamer to stream
uncompressed video. But while doing local testing, my receiver is too slow,
the video output from that is like half-speed or quarter-speed slow
motion. Here are my pipelines for send and receive.
gst-launch-1.0 -v filesrc
location=/Users/chris/Desktop/folder/test_uncompressed.mov ! qtdemux !
queue ! videoconvert ! videorate ! rtpvrawpay ! identity silent=0 ! udpsink
host=127.0.0.1 port=5678 sync=false async=false
gst-launch-1.0 udpsrc port=5678 caps = "application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW,
sampling=(string)YCbCr-4:2:2, depth=(string)10, width=(string)1920,
height=(string)1080, colorimetry=(string)BT709-2, payload=(int)96,
framerate=(fraction)50/1" ! rtpjitterbuffer ! queue ! rtpvrawdepay ! queue
! videoconvert ! queue ! glimagesink -v
The video is uncompressed 10bit 4:2:2 video in a .mov container.
When I skip the udpsink and source and directly depayload the rtp it plays
at full speed.
Does anyone have any idea what I am doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel