<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">
Hi Julien,

thank you for your answer. How do I add that GST_DEBUG=flutsdemux:4 in my pipeline? And how do I check a possible timestamp issue? I have added at the end of this email a few lines that I got using --gst-debug=4, but I do not know if there is some error.

In any case, timestamping is done by the encoder, or by the flutsmuxer? If the problem is timestamping in the encoder, why does it work perfectly using rtph264pay instead of flutsmux? Can I configure flutsmux in some way to force a timestamping review?

I see in the trace two clocks, one goes with 22:44 while the other goes with 22:26?? What is that??

Any suggestion/hint is really appreciated.

Thank you very much, I am blocked with this.
All the best.
Favila. 

<i>
0:00:06.444065402  5426 0x79fdc0 DEBUG            GST_CLOCK gstclock.c:898:gst_clock_get_time:&lt;FluTSClock&gt; adjusted time 345225:<big><b>22:44</b></big>.085881174
0:00:06.444068295  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:1892:gst_fluts_demux_parse_stream:&lt;flutsdemux0&gt; Packet payload 184 bytes, PID 0x0040
0:00:06.444080465  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:885:gst_fluts_demux_data_cb:&lt;flutsdemux0&gt; pushing buffer
0:00:06.444090189  5426 0x7a02b0 DEBUG           capsfilter gstcapsfilter.c:237:gst_capsfilter_prepare_buf:&lt;capsfilter1&gt; Input buffer already has caps (implicitely fixed)
0:00:06.444104922  5426 0x7a02b0 DEBUG       queue_dataflow gstqueue.c:1107:gst_queue_loop:&lt;queue0&gt; queue is empty
0:00:06.444153202  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1696:gst_base_src_do_sync:&lt;udpsrc0&gt; no sync needed
0:00:06.444163895  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1852:gst_base_src_get_range:&lt;udpsrc0&gt; buffer ok
0:00:06.444187897  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1815:gst_base_src_get_range:&lt;udpsrc0&gt; calling create offset 18446744073709551615 length 4096, time 0
0:00:06.444189404  5426 0x7a02b0 DEBUG       queue_dataflow gstqueue.c:1118:gst_queue_loop:&lt;queue0&gt; queue is not empty

0:00:06.444206350  5426 0x79fdc0 DEBUG            GST_CLOCK gstclock.c:857:gst_clock_get_internal_time:&lt;FluTSClock&gt; internal time 345225:<big><b>22:26</b></big>.404632000
0:00:06.444210576  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:1865:gst_fluts_demux_parse_stream:&lt;flutsdemux0&gt; afc 0x1, pusi 0, PID 0x0040 datalen 184

0:00:06.444217775  5426 0x79fdc0 DEBUG            GST_CLOCK gstclock.c:898:gst_clock_get_time:&lt;FluTSClock&gt; adjusted time 345225:22:44.085881174
0:00:06.444220946  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:1892:gst_fluts_demux_parse_stream:&lt;flutsdemux0&gt; Packet payload 184 bytes, PID 0x0040
0:00:06.444229645  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1696:gst_base_src_do_sync:&lt;udpsrc0&gt; no sync needed
0:00:06.444236785  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:885:gst_fluts_demux_data_cb:&lt;flutsdemux0&gt; pushing buffer
0:00:06.444249895  5426 0x7a02b0 DEBUG           capsfilter gstcapsfilter.c:237:gst_capsfilter_prepare_buf:&lt;capsfilter1&gt; Input buffer already has caps (implicitely fixed)
0:00:06.444265042  5426 0x7a02b0 DEBUG       queue_dataflow gstqueue.c:1107:gst_queue_loop:&lt;queue0&gt; queue is empty
0:00:06.444238812  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1852:gst_base_src_get_range:&lt;udpsrc0&gt; buffer ok
0:00:06.444314384  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1815:gst_base_src_get_range:&lt;udpsrc0&gt; calling create offset 18446744073709551615 length 4096, time 0
0:00:06.444316714  5426 0x7a02b0 DEBUG       queue_dataflow gstqueue.c:1118:gst_queue_loop:&lt;queue0&gt; queue is not empty</i>

<i>0:00:06.444332259  5426 0x79fdc0 DEBUG            GST_CLOCK gstclock.c:857:gst_clock_get_internal_time:&lt;FluTSClock&gt; internal time 345225:22:26.404758000
0:00:06.444337096  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:1865:gst_fluts_demux_parse_stream:&lt;flutsdemux0&gt; afc 0x1, pusi 0, PID 0x0040 datalen 184

0:00:06.444343825  5426 0x79fdc0 DEBUG            GST_CLOCK gstclock.c:898:gst_clock_get_time:&lt;FluTSClock&gt; adjusted time 345225:22:44.085881174
0:00:06.444347487  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:1892:gst_fluts_demux_parse_stream:&lt;flutsdemux0&gt; Packet payload 184 bytes, PID 0x0040
0:00:06.444353440  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1696:gst_base_src_do_sync:&lt;udpsrc0&gt; no sync needed
0:00:06.444357405  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:885:gst_fluts_demux_data_cb:&lt;flutsdemux0&gt; pushing buffer
0:00:06.444362197  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1852:gst_base_src_get_range:&lt;udpsrc0&gt; buffer ok
0:00:06.444367509  5426 0x7a02b0 DEBUG           capsfilter gstcapsfilter.c:237:gst_capsfilter_prepare_buf:&lt;capsfilter1&gt; Input buffer already has caps (implicitely fixed)
0:00:06.444372681  5426 0x79fdc0 DEBUG              basesrc gstbasesrc.c:1815:gst_base_src_get_range:&lt;udpsrc0&gt; calling create offset 18446744073709551615 length 4096, time 0

0:00:06.444387723  5426 0x79fdc0 DEBUG            GST_CLOCK gstclock.c:857:gst_clock_get_internal_time:&lt;FluTSClock&gt; internal time 345225:22:26.404814000
0:00:06.444396207  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:1865:gst_fluts_demux_parse_stream:&lt;flutsdemux0&gt; afc 0x1, pusi 0, PID 0x0040 datalen 184
0:00:06.444409709  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:1892:gst_fluts_demux_parse_stream:&lt;flutsdemux0&gt; Packet payload 184 bytes, PID 0x0040
0:00:06.444419259  5426 0x7a02b0 DEBUG           flutsdemux gstmpegtsdemux.c:885:gst_fluts_demux_data_cb:&lt;flutsdemux0&gt; pushing buffer
0:00:06.444428525  5426 0x7a02b0 DEBUG           capsfilter gstcapsfilter.c:237:gst_capsfilter_prepare_buf:&lt;capsfilter1&gt; Input buffer already has caps (implicitely fixed)
0:00:06.444442878  5426 0x7a02b0 DEBUG       queue_dataflow gstqueue.c:1107:gst_queue_loop:&lt;queue0&gt; queue is empty

</i>
</pre>
Julien Moutte wrote:<br>
<blockquote cite="mid:4A12EE18.7090501@moutte.net" type="cite">
  <pre wrap="">Hi Favila,

I doubt the muxing performance is the problem you have here.

It sounds more like timestamping issues. You should look at the
timestamps you are getting outside of the demuxer and figure out if they
make sense.

GST_DEBUG=flutsdemux:4 should help.

Best regards,

Julien Moutte,
FLUENDO S.A.
  </pre>
</blockquote>
</body>
</html>