<html><head></head><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1513095780727_66013">Ok. So just stopping a pipeline is not always enough when recording a video to file.</div><div><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1513095780727_66046">We have a pipeline as such:<br><br>dx9screencapsrc monitor=0 cursor=true ! tee name=t<br id="yui_3_16_0_ym19_1_1513095780727_66037">    t. ! queue ! timeoverlay ! autovideosink<br id="yui_3_16_0_ym19_1_1513095780727_66038"> 
   t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency
 bitrate=498 ! mpegpsmux ! filesink location=D:\capture.mpg</div><div id="yui_3_16_0_ym19_1_1513095780727_65971"><span><br></span></div><div id="yui_3_16_0_ym19_1_1513095780727_66051"><span id="yui_3_16_0_ym19_1_1513095780727_66072">The produced capture.mpg file is readable with VLC but not with Windows Media Player.</span></div><div id="yui_3_16_0_ym19_1_1513095780727_66093"><span id="yui_3_16_0_ym19_1_1513095780727_66072">I am trying to understand why WMP can't play it.</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: lucida console, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> Le Mercredi 13 décembre 2017 9h50, "Thornton, Keith" <keith.thornton@zeiss.com> a écrit :<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv7462131277"><style>#yiv7462131277 #yiv7462131277 --
 
 _filtered #yiv7462131277 {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;}
 _filtered #yiv7462131277 {panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv7462131277 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv7462131277 {panose-1:2 1 6 0 3 1 1 1 1 1;}
 _filtered #yiv7462131277 {panose-1:2 11 6 9 4 5 4 2 2 4;}
#yiv7462131277  
#yiv7462131277 p.yiv7462131277MsoNormal, #yiv7462131277 li.yiv7462131277MsoNormal, #yiv7462131277 div.yiv7462131277MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv7462131277 a:link, #yiv7462131277 span.yiv7462131277MsoHyperlink
        {color:#0563C1;text-decoration:underline;}
#yiv7462131277 a:visited, #yiv7462131277 span.yiv7462131277MsoHyperlinkFollowed
        {color:#954F72;text-decoration:underline;}
#yiv7462131277 span.yiv7462131277E-MailFormatvorlage17
        {color:windowtext;}
#yiv7462131277 .yiv7462131277MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv7462131277 {margin:70.85pt 70.85pt 2.0cm 70.85pt;}
#yiv7462131277 div.yiv7462131277WordSection1
        {}
#yiv7462131277 </style><div>
<div class="yiv7462131277WordSection1">
<div class="yiv7462131277MsoNormal"><span style="font-size:10.0pt;" lang="EN-US">Hi,</span></div> 
<div class="yiv7462131277MsoNormal"><span style="font-size:10.0pt;" lang="EN-US">Eos is necessary for instance when you are writing to an mp4 container. Without the eos, the mov block will not be written (in the normal case) and the file will
 be unplayable</span></div> 
<div class="yiv7462131277MsoNormal"><span lang="EN-US">  </span></div> 
<div class="yiv7462131277yqt1733531258" id="yiv7462131277yqt16775"><div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<div class="yiv7462131277MsoNormal"><b><span style="font-size:11.0pt;">Von:</span></b><span style="font-size:11.0pt;"> gstreamer-devel [mailto:gstreamer-devel-bounces@lists.freedesktop.org]
<b>Im Auftrag von </b>philippe renon<br clear="none">
<b>Gesendet:</b> Mittwoch, 13. Dezember 2017 09:32<br clear="none">
<b>An:</b> gstreamer-devel@lists.freedesktop.org<br clear="none">
<b>Betreff:</b> is eos on shutdown needed when stopping a pipeline</span></div> 
</div>
</div>
<div class="yiv7462131277MsoNormal">  </div> 
<div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5817">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">Hi,</span></div> 
</div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5818">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">  </span></div> 
</div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5819">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">gst-launch has an eos on shutdown option to make sure that, amongst other cases, video captured to file are properly finalized.</span></div> 
</div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5861">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">  </span></div> 
</div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5878">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">My question is whether this eos is also needed when programatically stopping a pipeline ?</span></div> 
</div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5907">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">Will a stop do the eos or is it the responsibility of the application to send that eos in any case ?</span></div> 
</div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5930">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">  </span></div> 
</div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5931">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">Philippe.</span></div> 
</div>
<div id="yiv7462131277yui_3_16_0_ym19_1_1513153185189_5820">
<div class="yiv7462131277MsoNormal" style="background:white;"><span style="font-size:10.0pt;">  </span></div> 
</div>
</div></div>
</div>
</div></div><div class="yqt1733531258" id="yqt20653">_______________________________________________<br clear="none">gstreamer-devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none"><a shape="rect" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>