<div dir="ltr">Hi Tim.<div><br></div><div>Tried with the exact pipeline you tell me, and on Windows ( 7 64bit ) I got the same bad result !!!.</div><div><br></div><div>Ten files, each with the duration of 10 plus the previous duration file ...</div><div><br></div><div>Here is the discoverer output of the third files:</div><div><br></div><div><div>C:\Users\x51085fr>gst-discoverer-1.0 "C:\\Users\\x51085fr\\Videos\\videossss-000.mp4"</div><div>WARNING: no real random source present!</div><div>Analyzing file:///C://Users//x51085fr//Videos//videossss-000.mp4</div><div>Done discovering file:///C://Users//x51085fr//Videos//videossss-000.mp4</div><div><br></div><div>Topology:</div><div>  container: Quicktime</div><div>    video: H.264 (High Profile)</div><div><br></div><div>Properties:</div><div>  Duration: 0:00:10.000000000</div><div>  Seekable: yes</div><div>  Tags:</div><div>      datetime: 2015-09-21T20:43:14Z</div><div>      container format: ISO MP4/M4A</div><div>      video codec: H.264 (High Profile)</div><div>      bitrate: 1219906</div><div>      language code: en</div><div>      encoder: x264</div><div>      minimum bitrate: 861600</div><div>      maximum bitrate: 861600</div><div><span class="" style="white-space:pre"> </span>  </div><div>C:\Users\x51085fr>gst-discoverer-1.0 "C:\\Users\\x51085fr\\Videos\\videossss-001.mp4"</div><div>WARNING: no real random source present!</div><div>Analyzing file:///C://Users//x51085fr//Videos//videossss-001.mp4</div><div>Done discovering file:///C://Users//x51085fr//Videos//videossss-001.mp4</div><div><br></div><div>Topology:</div><div>  container: Quicktime</div><div>    video: H.264 (High Profile)</div><div><br></div><div>Properties:</div><div>  Duration: 0:00:20.000000000</div><div>  Seekable: yes</div><div>  Tags:</div><div>      datetime: 2015-09-21T20:43:14Z</div><div>      container format: ISO MP4/M4A</div><div>      video codec: H.264 (High Profile)</div><div>      bitrate: 1258578</div><div>      language code: en</div><div>      encoder: x264</div><div>      minimum bitrate: 1246400</div><div>      maximum bitrate: 1246400</div><div><br></div><div><br></div><div>C:\Users\x51085fr>gst-discoverer-1.0 "C:\\Users\\x51085fr\\Videos\\videossss-002.mp4"</div><div>WARNING: no real random source present!</div><div>Analyzing file:///C://Users//x51085fr//Videos//videossss-002.mp4</div><div>Done discovering file:///C://Users//x51085fr//Videos//videossss-002.mp4</div><div><br></div><div>Topology:</div><div>  container: Quicktime</div><div>    video: H.264 (High Profile)</div><div><br></div><div>Properties:</div><div>  Duration: 0:00:30.000000000</div><div>  Seekable: yes</div><div>  Tags:</div><div>      datetime: 2015-09-21T20:43:14Z</div><div>      container format: ISO MP4/M4A</div><div>      video codec: H.264 (High Profile)</div><div>      bitrate: 1260502</div><div>      language code: en</div><div>      encoder: x264</div><div>      minimum bitrate: 1291400</div><div>      maximum bitrate: 1291400<span class="" style="white-space:pre">       </span>  </div><div><span class="" style="white-space:pre">        </span>  </div></div><div>And attached is a windows screenshot with all the files and duration ... <img src="http://gstreamer-devel.966125.n4.nabble.com/attachment/4673763/0/gstreamer_out.gif" alt="Imágenes integradas 1" width="562" height="144"></div><div><br></div><div><br></div><div>I´m using gstreamer  Version: 1.5.1.0 32bit....</div><div><br></div><div>Any idea about what is happening ?</div><div><br></div><div>Thanks a lot !!!!</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-21 20:57 GMT+02:00 Tim Müller [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4673763&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span>:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">

        On Mon, 2015-09-21 at 17:53 +0200, Julio Franco wrote:
<br><br>Hi Julio,
<br><br></span><span class="">> Tried with splitmuxsink, and the result is the same ... files are
<br>> generated correctly, but the duration info in the header is wrong ...
<br>> 
<br>> I mean, if I split video chunks every 10 seconds, the duration of the
<br>> first chunk is 10, the duration of the second one is 20 ... and so on
<br>> ... but the size of each chunk is ok.
<br><br></span><span class="">How are you determining what the duration of each chunk is?
<br><br>This works fine for me:
<br><br> $ gst-launch-1.0 videotestsrc num-buffers=2500 ! video/x
<br>-raw,framerate=25/1 ! x264enc key-int-max=25 ! splitmuxsink max-size
<br>-time=10500000000 location=/tmp/video-%03d.mp4
<br><br> $ gst-discoverer-1.0 /tmp/video-0* | grep Duration
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br>  Duration: 0:00:10.000000000
<br><br><br></span><span class="">> And, for example if I play the first chunk in VLC, VLC do nothing in
<br>> the first 10 seconds and begin to show video in the second 11 ...
<br><br></span><span class="">What VLC version is this with? It works fine for me with:
<br><br>  VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0
<br>-ga425c42)
<br><br> Cheers
<br>  -Tim
<br><br></span><span class="">-- 
<br>Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="nofollow" link="external" target="_blank">http://www.centricular.com</a><br><br>Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland
<br><br><br><br>_______________________________________________
<br>gstreamer-devel mailing list
<br></span><span class=""><a href="http:///user/SendEmail.jtp?type=node&node=4673759&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </span><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span class="">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </span><a href="http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673759.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673759.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from RTP H264 encoding problem - bad files duration, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673763.html">Re: AW: RTP H264 encoding problem - bad files duration</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>