Video Quality/Resolution Problem in Gstreamer

Nicolas Dufresne nicolas at ndufresne.ca
Mon Aug 5 18:40:41 UTC 2019


Le lundi 05 août 2019 à 08:03 -0500, budakf a écrit :
> Hi,
> 
> I try to stream video via vlc and take this stream via gstreamer. 
> I have one problem during these operations: 
> 
> at the first 5 seconds of streaming, I get bad video quality like following
> first image. After that I get normal video quality like following second
> image. Why does this situation occur? and How to handle that ?
> 
> Note: I have used gst-parse-launch function and *gst-launch-1.0 rtspsrc \
> location=rtsp://127.0.0.1:8554/test latency=0 ! \
> rtph264depay ! decodebin ! videoconvert ! ximagesink name=sink*
> 
> Thanks in advance
> 
> 
> <http://gstreamer-devel.966125.n4.nabble.com/file/t378859/f%C4%B1rstScreen.png> 
> 
> <http://gstreamer-devel.966125.n4.nabble.com/file/t378859/secondScreen.png> 

Which version of GStreamer is this ? It seems like it's decoding
without a key frame, but normally decoding should only start when first
header + key frame arrives. Which CODEC is this ?

One thing you can try is to add:

  ... ! decodebin ! identity drop-buffer-flags=corrupted ! ...

> 
> 
> Fatih
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190805/db08a8a0/attachment.sig>


More information about the gstreamer-devel mailing list