<div dir="ltr"><div>Hi Keith.<br></div><div><div><br></div><div>First of all, thanks for the support !!!</div><div><br></div><div>I've tried with this pipeline:</div><div><br></div><div><div>gst-launch-1.0 udpsrc port=9000 caps="application/x-rtp, media=video, clock-rate=(int)90000, encoding-name=H264" !</div><div>rtph264depay ! h264parse ! video/x-h264, stream-format="avc",alignment="au" ! mp4mux fragment-duration=10 ! multifilesin</div><div>k next-file=4 max-file-size=10147483 location=C:\\Users\\x51085fr\\Videos\\video-%03d.mp4</div></div><div><br></div><div>And it works, but only with the first file, the second file is not playable </div><div><br></div><div>Mediainfo tells me this about first file:</div><div><br></div><div><table style="border:1px solid navy" border="0" cellspacing="2" cellpadding="1" width="100%"><tbody><tr>
<td width="150">
<h2>General</h2></td></tr>
<tr>
<td><i>Complete name :</i></td>
<td colspan="3">C:\Users\x51085fr\Videos\video-000.mp4</td></tr>
<tr>
<td><i>Format :</i></td>
<td colspan="3">MPEG-4</td></tr>
<tr>
<td><i>Format profile :</i></td>
<td colspan="3">Base Media / Version 2</td></tr>
<tr>
<td><i>Codec ID :</i></td>
<td colspan="3">mp42</td></tr>
<tr>
<td><i>File size :</i></td>
<td colspan="3">9.68 MiB</td></tr>
<tr>
<td><i>Duration :</i></td>
<td colspan="3">9mn 31s</td></tr>
<tr>
<td><i>Overall bit rate :</i></td>
<td colspan="3">142 Kbps</td></tr>
<tr>
<td><i>Encoded date :</i></td>
<td colspan="3">UTC 2015-09-21 09:20:09</td></tr>
<tr>
<td><i>Tagged date :</i></td>
<td colspan="3">UTC 2015-09-21 09:20:09<br><br><br></td></tr></tbody></table></div><div><br></div><div><br></div><div>But I get this info about the second and others ones ...</div><div><br></div><div><table style="border:1px solid navy" border="0" cellspacing="2" cellpadding="1" width="100%"><tbody><tr>
<td width="150">
<h2>General</h2></td></tr>
<tr>
<td><i>Complete name :</i></td>
<td colspan="3">C:\Users\x51085fr\Videos\video-001.mp4</td></tr>
<tr>
<td><i>Format :</i></td>
<td colspan="3">QuickTime</td></tr>
<tr>
<td><i>Format/Info :</i></td>
<td colspan="3">Original Apple specifications</td></tr>
<tr>
<td><i>File size :</i></td>
<td colspan="3">9.44 MiB</td></tr>
<tr>
<td><i>Encoded date :</i></td>
<td colspan="3">UTC 2015-09-21 09:20:09</td></tr>
<tr>
<td><i>Tagged date :</i></td>
<td colspan="3">UTC 2015-09-21 09:20:09</td></tr></tbody></table></div><div><br></div><div><br></div></div><div>Thanks a lot !!!!</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-21 10:25 GMT+02:00 Thornton, Keith [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4673749&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">

        






<div><span class="">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">Not h264_parse, try h264parse ! video/x-h264,stream-format=”avc”,alignment=”au” ! mp4mux
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> gstreamer-devel [mailto:<a href="http:///user/SendEmail.jtp?type=node&node=4673746&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>]
<b>Im Auftrag von </b>Julio Franco<span class=""><br>
<b>Gesendet:</b> Montag, 21. September 2015 09:52<br>
<b>An:</b> Discussion of the development of and with GStreamer<br>
</span><span class=""><b>Betreff:</b> Re: AW: RTP H264 encoding problem - bad files duration<u></u><u></u></span></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Tried with this pipeline :<u></u><u></u></p><span class="">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> gst-launch-1.0 udpsrc port=9000 caps="application/x-rtp, media=video, clock-rate=(int)90000, encoding-name=H264" ! rtph264depay ! h264_parse ! mp4mux ! fakesink dump=true<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">And receive the error: " Downstream is not seekable - will not be able to create a playable file  "<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I can not set caps properties to h264_parse ...<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</span><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div><span class="">
<p class="MsoNormal">2015-09-21 9:42 GMT+02:00 Thornton, Keith <<a href="http:///user/SendEmail.jtp?type=node&node=4673746&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>>:<u></u><u></u></p>
</span><p class="MsoNormal"><span class="">Have you tried putting h264parse and perhaps a caps filter for stream-format=avc,alignment=au between rtph264depay and mp4mux<br>
<br>
-----Ursprüngliche Nachricht-----<br></span>
Von: gstreamer-devel [mailto:<a href="http:///user/SendEmail.jtp?type=node&node=4673746&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>] Im Auftrag von Julio<span class=""><br>
Gesendet: Montag, 21. September 2015 09:09<br></span>
An: <a href="http:///user/SendEmail.jtp?type=node&node=4673746&i=3" rel="nofollow" link="external" target="_blank">[hidden email]</a><span class=""><br>
Betreff: Re: AW: RTP H264 encoding problem - bad files duration<br>
<br>
Hi Keith.<br>
<br>
I've tried with miltifilesink, but with the same result. I think that the problem is packets are comming to me with the start time udpsrc begin to work, and I´m not able to changue it ....<br>
<br>
And I´m decoding -reencoding because I can not connect directly rtph264depay to the mp4mux, I get an error " can connect depay to muxer ".<br>
<br>
Any idea about reset timestamps or something like that ??<br>
<br>
Thanks a lot !!<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673742.html" rel="nofollow" link="external" target="_blank">
http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673742.html</a><u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span class="">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
</span><a href="http:///user/SendEmail.jtp?type=node&node=4673746&i=4" rel="nofollow" link="external" target="_blank">[hidden email]</a><span class=""><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>
gstreamer-devel mailing list<br>
</span><a href="http:///user/SendEmail.jtp?type=node&node=4673746&i=5" 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><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>


<br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=4673746&i=6" 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">
        <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-tp4673714p4673746.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673746.html</a>
        </div>
        <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></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-tp4673714p4673749.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/>