[gst-devel] BaseSink "sync" property

Jon Burgess jkburges at gmail.com
Wed May 20 03:47:34 CEST 2009


Arnout,



> > You can see however for the logs for the problematic machine that the
> > timestamps are screwy.  Is this what you are talking about when you say
> > "bad timestamp"?
>
> try with
>
> gst-launch -v rtspsrc location=... ! rtpmp4vdepay ! fakesink
>

Both results (below) look fairly similar to my untrained eye, except that
for the "not working" case, the timestamps around key frames (assuming the
larger buffer sizes are key frames) are a bit more irregular, i.e. the
timestamp of the key frame buffer is later than "average").

Maybe this is something to do with the problem?

I'll say again though, it's the same source (an axis-207 network camera btw)
giving different behaviour on two different machines.

Regards,
Jono

Output from machine where things are not working:

/pipeline0/fakesink0: last-message = "chain   ******* < (25531 bytes,
timestamp: 0:00:00.115387000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x773210"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1629 bytes,
timestamp: 0:00:00.140488000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e500"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1273 bytes,
timestamp: 0:00:00.163004000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e600"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1216 bytes,
timestamp: 0:00:00.192507000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x773110"
/pipeline0/fakesink0: last-message = "chain   ******* < (  989 bytes,
timestamp: 0:00:00.242206000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e580"
/pipeline0/fakesink0: last-message = "chain   ******* < (25545 bytes,
timestamp: 0:00:00.297419000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x773290"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1614 bytes,
timestamp: 0:00:00.311578000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e080"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1437 bytes,
timestamp: 0:00:00.341912000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e500"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1135 bytes,
timestamp: 0:00:00.377135000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e680"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1143 bytes,
timestamp: 0:00:00.414864000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x773110"
/pipeline0/fakesink0: last-message = "chain   ******* < (25525 bytes,
timestamp: 0:00:00.484937000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e600"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1602 bytes,
timestamp: 0:00:00.496217000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x773210"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1380 bytes,
timestamp: 0:00:00.526457000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e080"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1108 bytes,
timestamp: 0:00:00.562038000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x773190"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1082 bytes,
timestamp: 0:00:00.600270000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e680"
/pipeline0/fakesink0: last-message = "chain   ******* < (25554 bytes,
timestamp: 0:00:00.666713000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e500"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1639 bytes,
timestamp: 0:00:00.708056000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x773290"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1325 bytes,
timestamp: 0:00:00.713334000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x773210"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1228 bytes,
timestamp: 0:00:00.748064000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e580"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 4044 bytes,
timestamp: 0:00:00.786032000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e100"
/pipeline0/fakesink0: last-message = "chain   ******* < (25604 bytes,
timestamp: 0:00:00.852612000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e380"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1769 bytes,
timestamp: 0:00:00.865970000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x773310"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1562 bytes,
timestamp: 0:00:00.896166000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e100"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1411 bytes,
timestamp: 0:00:00.934719000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x773390"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1382 bytes,
timestamp: 0:00:00.970643000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e080"
/pipeline0/fakesink0: last-message = "chain   ******* < (25708 bytes,
timestamp: 0:00:01.037899000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e680"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1793 bytes,
timestamp: 0:00:01.051263000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e400"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1685 bytes,
timestamp: 0:00:01.082546000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e080"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1458 bytes,
timestamp: 0:00:01.118621000, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x76e480"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1499 bytes,
timestamp: 0:00:01.157505000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e500"
/pipeline0/fakesink0: last-message = "chain   ******* < (25697 bytes,
timestamp: 0:00:01.222425000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e300"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1822 bytes,
timestamp: 0:00:01.240648000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x773210"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1536 bytes,
timestamp: 0:00:01.266806000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x76e500"

And from machine where things are working:

/pipeline0/fakesink0: last-message = "chain   ******* < (25562 bytes,
timestamp: 0:00:00.097415000, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x817a990"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1609 bytes,
timestamp: 0:00:00.134417331, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x817a9e0"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1266 bytes,
timestamp: 0:00:00.171407167, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb6705770"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1150 bytes,
timestamp: 0:00:00.208285288, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb67056c0"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1003 bytes,
timestamp: 0:00:00.245140451, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb6705610"
/pipeline0/fakesink0: last-message = "chain   ******* < (25548 bytes,
timestamp: 0:00:00.278442091, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x817aa30"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1605 bytes,
timestamp: 0:00:00.314877816, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x817aa80"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1229 bytes,
timestamp: 0:00:00.351525908, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb6705968"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1211 bytes,
timestamp: 0:00:00.388083632, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb6705910"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1055 bytes,
timestamp: 0:00:00.424506176, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb6705610"
/pipeline0/fakesink0: last-message = "chain   ******* < (25568 bytes,
timestamp: 0:00:00.451853833, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x817aad0"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1602 bytes,
timestamp: 0:00:00.487930787, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x817ab20"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1269 bytes,
timestamp: 0:00:00.524377079, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb67055b8"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1096 bytes,
timestamp: 0:00:00.560764070, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb67058b8"
/pipeline0/fakesink0: last-message = "chain   ******* < (  950 bytes,
timestamp: 0:00:00.597148587, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb6705610"
/pipeline0/fakesink0: last-message = "chain   ******* < (25557 bytes,
timestamp: 0:00:00.627268893, duration: none, offset: -1, offset_end: -1,
flags: 0) 0x817ab70"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1563 bytes,
timestamp: 0:00:00.663888043, duration: none, offset: -1, offset_end: -1,
flags: 0) 0xb6705010"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1353 bytes,
timestamp: 0:00:00.700686383, duration: none, offset: -1, offset_end: -1,
flags: 1) 0x8185718"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1252 bytes,
timestamp: 0:00:00.737480094, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb6705910"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 4103 bytes,
timestamp: 0:00:00.773962126, duration: none, offset: -1, offset_end: -1,
flags: 0) 0xb6705060"
/pipeline0/fakesink0: last-message = "chain   ******* < (25767 bytes,
timestamp: 0:00:00.809960609, duration: none, offset: -1, offset_end: -1,
flags: 0) 0xb67050b0"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1743 bytes,
timestamp: 0:00:00.846936837, duration: none, offset: -1, offset_end: -1,
flags: 0) 0xb6705100"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1574 bytes,
timestamp: 0:00:00.883895495, duration: none, offset: -1, offset_end: -1,
flags: 0) 0xb6705150"
/pipeline0/fakesink0: last-message = "chain   ******* < ( 1407 bytes,
timestamp: 0:00:00.920887411, duration: none, offset: -1, offset_end: -1,
flags: 1) 0xb6705910"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090520/5ce664dc/attachment.htm>


More information about the gstreamer-devel mailing list