gstreamer missing a lot of frames?

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue May 19 17:07:23 PDT 2015


Le Tuesday 19 May 2015 à 21:29 +0000, Spruyt, Randy a écrit :
> Video from: http://download.blender.org/peach/bigbuckbunny_movies/big
> _buck_bunny_1080p_h264.mov
>  
> Using gstreamer/plugins from the latest git clone, this seems to work
> fine:
>  
> gst-launch-1.0 -v videotestsrc ! vaapiencode_h264 ! vaapiparse_h264 !
> rtph264pay ! udpsink host=127.0.0.1 port=6000
Have you tried with a livesrc (videotestsrc is-live=1) ? Have you check
the latency is distributed properly with VAAPI element (e.g. by
comparing with SW encoder like x264enc tune=zerolatency) ?

> 
>  
> 
> gst-launch-1.0 udpsrc caps = "application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, packetization-mode=1, profile-level-id=42c00d,
>  sprop-parameter-sets=\"Z0LADatAoPn/gACAAIgAAAMACAAAAwHkIA\\\=\\\=\\\,aM48gA\\\=\\\=\", payload=96, ssrc=2360089092, timestamp-offset=2801204503, seqnum-offset=3735" port=6000 ! rtpjitterbuffer! rtph264depay ! vaapiparse_h264 ! vaapidecode ! vaapisink
> 
>  
> 
> But any video I try to stream has very high amounts of frame/dropping stuttering, with or without sync on the receiver. Incoming/Outgoing
>  data rates from nload are equal. 
Have you compared against avdec_h264 ? Could it be a bug in the VAAPI
decoder ?

> 
>  
> 
> gst-launch-1.0 filesrc location=/home/dev/big_buck_bunny_1080p_h264.mov ! qtdemux ! vaapiparse_h264 ! rtph264pay ! udpsink host=127.0.0.1
>  port=5000
> 
>  
> 
> gst-launch-1.0 udpsrc caps = "application/x-rtp, media\=video, clock-rate=90000, encoding-name=H264, packetization-mode=1, profile-level-id=4d4029,
>  sprop-parameter-sets=\"J01AKakYDwBE/LgDUBAQG2wrXvfAQA\\\=\\\=\\\,KN4JyA\\\=\\\=\", payload=96, ssrc=765248706, timestamp-offset=4096462552, seqnum-offset=1276" port=5000 ! rtpjitterbuffer! rtph264depay ! vaapiparse_h264 ! vaapidecode ! vaapisink
> 
>  
> 
> Local playback looks fine, but streaming looks poor regardless of trying several different videos attempted. Does this play smooth for others?
Works fine here without VAAPI element, hence me suspecting a bug in
live support for these elements. What GStreamer version are you running
?
Nicolas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150519/6ea8b8b9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150519/6ea8b8b9/attachment-0001.sig>


More information about the gstreamer-devel mailing list