[Bug 759470] input-selector: add mode that waits for keyframe before switching inputs

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 28 09:40:21 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759470

--- Comment #21 from Tapas Kumar Kundu <tapascst at gmail.com> ---
Created attachment 317976
  --> https://bugzilla.gnome.org/attachment.cgi?id=317976&action=edit
Input selector element generates wrong DTS sequence with sync_mode=0 for
rtspsrc

I generated flv video using proposed patch and saved it to disk using filesink
instead of rtmpsink. Then I tried to play saved flv file with ffmpeg. I found
that ffmpeg is detecting wrong DTS timestamps every ~5sec . Interestingly,
input selector element also changes rtspsrc ip cameras every 5 second. 

This means that input-selector element is generating wrong DTS timestamp for
every cam switch which is causing rtmpsink element to behave abnormally. 

Please note that test patch which i uploaded in this bug id has nothing to do
with inocrrect timestmaps as it is just waiting for correct keyframe before
triggering cam switch inside input-selector. (see attachment #317685) .


So this must be a bug for input-selector element which makes it unusable with
sync-mode=0 with multiple rtspsrc elements with same video format/framerate .
And sync-mode=0 is the only way to get gapless video for rtspsrc from
input-selector. 


here is the generated flv video from input-selector element which i used to
detect wrong DTS using ffmpeg.

https://drive.google.com/file/d/0B1cSMS8_GuAEbWtMdFFocjZVOGM/view?usp=sharing

-- 
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