[Bug 726381] avdec_h264 and possibly other libav decoders: latency regression

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Mar 15 05:12:53 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726381
  GStreamer | gst-libav | 1.x

--- Comment #2 from Nicola <lists at svrinformatica.it> 2014-03-15 12:36:47 UTC ---
max-threads=1 solve the problem

is-live=true on the source solve the problem too, 

in gstavviddec.c I see:

if (is_live)
  ffmpegdec->context->thread_type = FF_THREAD_SLICE;
else
  ffmpegdec->context->thread_type = FF_THREAD_SLICE | FF_THREAD_FRAME;

so if is_live is not setted and max-threads is not setted on my 8 core cpu
probably 8 threads are used for decoding and FF_THREAD_FRAME make about 8 frame
delay, this explain the 0.5 second delay that I see on stream at 15 fps

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list