[gstreamer-bugs] [Bug 593910] dv1394src was not work for live streaming

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 4 09:38:51 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=593910
  GStreamer | gst-plugins-good | git

--- Comment #11 from Andoni Morales <ylatuya at gmail.com> 2010-03-04 17:38:44 UTC ---
After some more tests I have more questions :)

Using the following pipeline 'gst-launch -v dv1394src ! fakesink' I get:

timestamp: 0:00:00.097398880,  offset: 1, 
timestamp: 0:00:00.138369400,  offset: 2,  
timestamp: 0:00:00.220215160,  offset: 3,  
timestamp: 0:00:00.261179040,  offset: 4,  
timestamp: 0:00:00.302219600,  offset: 5, 
timestamp: 0:00:00.384036320,  offset: 6,  
timestamp: 0:00:00.425097440,  offset: 7,  
timestamp: 0:00:00.466067720,  offset: 8, 
timestamp: 0:00:00.506912160,  offset: 9,  
timestamp: 0:00:00.588985560,  offset: 10,  
timestamp: 0:00:00.629886520,  offset: 11, 
timestamp: 0:00:00.670746000,  offset: 12, 
timestamp: 0:00:00.711674080,  offset: 13,  
timestamp: 0:00:00.793784520,  offset: 14,  
timestamp: 0:00:00.834561280,  offset: 15, 
timestamp: 0:00:00.875678200,  offset: 16,  
timestamp: 0:00:00.957566560,  offset: 17,  
timestamp: 0:00:00.998437160,  offset: 18, 
timestamp: 0:00:01.039347320,  offset: 19, 
timestamp: 0:00:01.080274040,  offset: 20, 
timestamp: 0:00:01.162292240,  offset: 21, 
timestamp: 0:00:01.203333920,  offset: 22,  
timestamp: 0:00:01.275629640,  offset: 23, 
timestamp: 0:00:01.357669680,  offset: 24, 
timestamp: 0:00:01.398504360,  offset: 25, 

Why does the time diff between frame 1 and 25 is 1,32 seconds when it should be
1 second? The average diff between frames is 40ms, but in some cases it's 80ms,
does that means a frame has been dropped? If this is the case with the frame
offset is not increased?

You also commented that my patch was not valid because it was using the frame
offset to write the timestamp but I see the dvdemuxer using the same approach
to calculate the timestamp of the next frame
(http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/ext/dv/gstdvdemux.c#n1434).
What would be the right thing to do?

Thanks,
Andoni

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