[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    GStreamer thread priority to avoid jerking
From:       Wolfgang Grandegger <wg () grandegger ! com>
Date:       2018-11-27 14:39:35
Message-ID: 1cde10fe-ed4f-ae36-75ae-b507fd3e160a () grandegger ! com
[Download RAW message or body]

Hello,

I use the following pipeline to receive, display and record an MJPEG
video sream:

          gst-launch-1.0 -v \
          udpsrc portP004 buffer-size0000000 do-timestamp=1 \
            caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, \
            encoding-name=(string)JPEG, payload=(int)26, framerate=(fraction)50/1" \
          ! rtpjitterbuffer latency  \
          ! rtpjpegdepay \
          ! vaapijpegdec \
          ! tee name=t
          t. ! queue ! vaapisink
          t. ! queue ! vaapih264enc ! mp4mux ! filesink location=/tmp/test.mp4

The recording to MP4 makes the video shaking/jerking on the display a
bit more. It runs "smoother" without (tee and recording)!
How can that be avoided?
Is it possible to prioritize the various threads or increase the queue
size?

Wolfgang.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic