gstreamer missing a lot of frames?

Spruyt, Randy Randy.Spruyt at christiedigital.com
Wed May 20 08:02:36 PDT 2015


Thank you kindly for the response Nicolas, I appreciate you looking at this.

It’s interesting that the videotestsrc works fine with the vaapiencoder /vaapidecoder, yet all other videos we see issues. Following your suggestion, if we remove the vaapi components for h264parse, avdec_h264, and xvimagesink, things works fine, suggesting the issue is related to one of these components.

gst-launch-1.0 -v filesrc location=/home/dev/big_buck_bunny_1080p_h264.mov ! qtdemux ! h264parse ! 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, sprop-parameter-sets=\"J01AKakYDwBE/LgDUBAQG2wrXvfAQA\\\=\\\=\\\,KN4JyA\\\=\\\=\", payload=96, ssrc=1798546747, timestamp-offset=3287499078, seqnum-offset=25830" port=5000 ! rtpjitterbuffer! rtph264depay ! h264parse ! avdec_h264 ! xvimagesink

To answer your question, I was using all gstreamer components straight from the git repository (1.5.0.1), with gstreamer-vaapi 0.5.11.pre1.
We see the same issue occur using gstreamer 1.4.5 and gstreamer-vaapi 0.5.9.

I’ll file a bug for the gstreamer-vaapi

Cheers,
Randy




From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Nicolas Dufresne
Sent: Tuesday, May 19, 2015 8:07 PM
To: Discussion of the development of and with GStreamer
Subject: Re: gstreamer missing a lot of frames?

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/20150520/bf6a9b47/attachment-0001.html>


More information about the gstreamer-devel mailing list