GStreamer Real Time
Arun Raghavan
arun at arunraghavan.net
Wed May 25 13:39:09 UTC 2016
On Wed, 18 May 2016, at 10:51 PM, fgfernandez0321 wrote:
> Hello,
>
> I have a webcam and I want to capture its source stream and execute using
> playbin. I have problem related with Real Time, in the first case 1
> second
> and the second case mili-seconds. What can I do for improving these
> pipelines to Real Time?
>
> In this pipeline, I'm using mpegtsmux:
>
> gst-launch-1.0 -v v4l2src !
> video/x-raw,width=640,height=480,framerate=30/1
> ! timeoverlay ! tee name=t t. ! queue ! xvimagesink sync=false t. ! queue
> !
> videoconvert ! x264enc tune=zerolatency byte-stream=true bitrate=3000
> threads=2 ! h264parse ! mpegtsmux alignment=7 ! rndbuffersize min=1316
> max=1316 ! udpsink host=127.0.0.1 port=5000
>
> In this pipeline, I'm using jifmux:
>
> gst-launch-1.0 -v v4l2src !
> video/x-raw,width=640,height=480,framerate=30/1
> ! timeoverlay ! tee name=t t. ! queue ! xvimagesink sync=false t. ! queue
> !
> videoconvert ! jpegenc quality=90 ! jpegparse ! jifmux ! rndbuffersize
> min=1316 max=1316 ! udpsink host=127.0.0.1 port=5000
>
> This is pipeline to read by port
>
> gst-launch-1.0 -v playbin uri=udp://@0.0.0.0:5000
You could start by looking at the queue sizes.
-- Arun
More information about the gstreamer-devel
mailing list