After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724463 - stuttering with sync=false on sink when using a live source
stuttering with sync=false on sink when using a live source
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-omx
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-16 08:45 UTC by erik
Modified: 2014-02-16 18:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample (77.75 KB, video/x-matroska)
2014-02-16 08:45 UTC, erik
Details

Description erik 2014-02-16 08:45:24 UTC
Created attachment 269278 [details]
sample

I get a stuttering effect on my Raspberry Pi when I set sync=false on the videosink when using a h264 live source, e.g. rtsp. The Pipeline displays a few frames as fast as it can, waits a few seconds and displays the next frames. This seems to correlate with the Intra frame interval.

The problem exists on gst-omx versions 1.0 and latest git.

Attached is a file that can be used to recreate the behavior, with the following pipeline:

gst-launch-1.0 filesrc location=test.mkv ! matroskademux ! h264parse ! identity sync=true ! omxh264dec ! aasink sync=false

I used an identiy element to "simulate" a live source. The behavior is the same when using other sinks, like eglglessink.

Playback works fine on my PC with above pipeline, using omxh264dev instead of avdec_h264.
Comment 1 Sebastian Dröge (slomo) 2014-02-16 08:56:39 UTC
Well, don't use sync=false, it will give you jittery rendering, depending on how continuous the decoding of the video is. On the RPi for example the decoded frames come in batches, giving you exactly this stuttering effect.
Why do you use sync=false?


Apart from that identity sync=true is not good yet for simulating a live source, see bug #601853
Comment 2 erik 2014-02-16 18:54:40 UTC
Because sync=false was working a bit better then the default on a rtsp source with a small latency setting, e.g. latency=500, but thats a different bug I want to report.

For identity: It did the trick for me, the visual result was the same.