<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
h2
{mso-style-priority:9;
mso-style-link:"Überschrift 2 Zchn";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:18.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.berschrift2Zchn
{mso-style-name:"Überschrift 2 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 2";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Arial","sans-serif";
color:windowtext;}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">Jan Schmidt has been doing a lot of work on Multifilesink recently. If possible try it with the newly released 1.5.90/1.5.91<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<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:gstreamer-devel-bounces@lists.freedesktop.org]
<b>Im Auftrag von </b>Julio<br>
<b>Gesendet:</b> Montag, 21. September 2015 12:25<br>
<b>An:</b> gstreamer-devel@lists.freedesktop.org<br>
<b>Betreff:</b> Re: AW: RTP H264 encoding problem - bad files duration<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Keith.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">First of all, thanks for the support !!!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I've tried with this pipeline:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<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" !<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">rtph264depay ! h264parse ! video/x-h264, stream-format="avc",alignment="au" ! mp4mux fragment-duration=10 ! multifilesin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">k next-file=4 max-file-size=10147483 location=C:\\Users\\x51085fr\\Videos\\video-%03d.mp4<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">And it works, but only with the first file, the second file is not playable <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Mediainfo tells me this about first file:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<table class="MsoNormalTable" border="1" cellpadding="0" width="100%" style="width:100.0%;border:solid navy 1.0pt">
<tbody>
<tr>
<td width="150" style="width:112.5pt;border:none;padding:.75pt .75pt .75pt .75pt">
<h2>General<o:p></o:p></h2>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Complete name :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">C:\Users\x51085fr\Videos\video-000.mp4<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Format :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">MPEG-4<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Format profile :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">Base Media / Version 2<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Codec ID :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">mp42<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>File size :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">9.68 MiB<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Duration :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">9mn 31s<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Overall bit rate :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">142 Kbps<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Encoded date :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">UTC 2015-09-21 09:20:09<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Tagged date :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">UTC 2015-09-21 09:20:09<br>
<br>
<o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">But I get this info about the second and others ones ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<table class="MsoNormalTable" border="1" cellpadding="0" width="100%" style="width:100.0%;border:solid navy 1.0pt">
<tbody>
<tr>
<td width="150" style="width:112.5pt;border:none;padding:.75pt .75pt .75pt .75pt">
<h2>General<o:p></o:p></h2>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Complete name :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">C:\Users\x51085fr\Videos\video-001.mp4<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Format :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">QuickTime<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Format/Info :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">Original Apple specifications<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>File size :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">9.44 MiB<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Encoded date :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">UTC 2015-09-21 09:20:09<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><i>Tagged date :</i><o:p></o:p></p>
</td>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal">UTC 2015-09-21 09:20:09<o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">Thanks a lot !!!!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2015-09-21 10:25 GMT+02:00 Thornton, Keith [via GStreamer-devel] <<a href="/user/SendEmail.jtp?type=node&node=4673749&i=0" target="_top">[hidden email]</a>>:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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" target="_blank">[hidden
email]</a>] <b>Im Auftrag von </b>Julio Franco<br>
<b>Gesendet:</b> Montag, 21. September 2015 09:52<br>
<b>An:</b> Discussion of the development of and with GStreamer<br>
<b>Betreff:</b> Re: AW: RTP H264 encoding problem - bad files duration</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Tried with this pipeline :<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">And receive the error: " Downstream is not seekable - will not be able to create a playable file "<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I can not set caps properties to h264_parse ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">2015-09-21 9:42 GMT+02:00 Thornton, Keith <<a href="http://user/SendEmail.jtp?type=node&node=4673746&i=1" target="_blank">[hidden email]</a>>:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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>
Von: gstreamer-devel [mailto:<a href="http://user/SendEmail.jtp?type=node&node=4673746&i=2" target="_blank">[hidden email]</a>] Im Auftrag von Julio<br>
Gesendet: Montag, 21. September 2015 09:09<br>
An: <a href="http://user/SendEmail.jtp?type=node&node=4673746&i=3" target="_blank">
[hidden email]</a><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" target="_blank">
http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673742.html</a><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="http://user/SendEmail.jtp?type=node&node=4673746&i=4" target="_blank">[hidden email]</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="http://user/SendEmail.jtp?type=node&node=4673746&i=5" target="_blank">[hidden email]</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________ <br>
gstreamer-devel mailing list <br>
<a href="http://user/SendEmail.jtp?type=node&node=4673746&i=6" target="_blank">[hidden email]</a>
<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a href="http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673746.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673746.html</a>
<o:p></o:p></span></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To unsubscribe from RTP H264 encoding problem - bad files duration,
<a href="" target="_blank">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" target="_blank"><span style="font-size:7.0pt;font-family:"Times New Roman","serif"">NAML</span></a>
<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div class="MsoNormal">
<hr size="2" width="300" style="width:225.0pt" align="left">
</div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
</body>
</html>