<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hi,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I've been working a bit more on the qtdemux leaking problem.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I found 2 issues:</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">-when the mov file is over 2Gb, the qtdemux runs in push mode, and it does not work. I've replaced in gstfilesrc all 32bits version of lseek and&nbsp;fstat functions by their 64bits equivalent. It now works fine (the qtdemux runs in pull mode again).</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Should I commit a patch for gstfilesrc so that it can now work with normal and large files?</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">-with the previous problem fixed, if I try anyway to make the qtdemux plugin work in push mode (by forcing it), there is still the leaking problem. And it seems it is not working anyway (it never gets to the end of the file header). Has anyone ever tried to use qtdemux in push mode?</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Regards,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Al</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Message d'origine ----<BR>De : Albert Costa &lt;costa_albert@yahoo.fr&gt;<BR>À : gstreamer-devel@lists.sourceforge..net<BR>Envoyé le : Jeudi, 7 Février 2008, 17h56mn 38s<BR>Objet&nbsp;: Re: [gst-devel] memory leaks with qtdemux<BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV><FONT face="Courier New" size=2>
<P>Hi,</P>
<P>in fact I got similar problem. It came not from the format, but from the size of file.</P>
<P>If I use a file which is larger than 2Gb, then the component does not have same behavior as if smaller.</P>
<P>In normal case, qtdemux acts in pull mode, whereas it acts in push mode when file is &gt;2Gb. Reason is that (in short terms), in gstfilesrc code the seekable flag is set to false because the fseek function used returns only signed 32bits length. In case the file is over 2Gb, fseek fails.</P>
<P>I have tried to replace all functions (fseek and other fstat...) by their 64bits equivalent, but still the qtdemux does not work properly.</P>
<P>And I don't know yet why it leaks memory in push mode.</P>
<P>&nbsp;</P>
<P>Has anyone already got this kind of problem? Is there a way to handle nice and smooth files that are above the 2Gb limit? Is it expected to be handled in later releases of gstreamer?</P>
<P>Btw, I run under win32.</P>
<P>Regards,</P>
<P>Al.</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&gt;Hi,</P>
<P>&gt;When I run gst-launch with this command line : gst-launch filesrc</P>
<P>&gt;location=AAA.mov ! qtdemux ! fakesink</P>
<P>&gt;On some file I have a big memory leaks (10Mo /s)</P>
<P>&gt;file type : QuickTime (.mov)</P>
<P>&gt;video codec : dvcp (apple dv-pal)</P>
<P>&gt;audio codec : twos: 16 bit signed big-endian 48kHz</P>
<P>&gt;size : 720x576</P>
<P>&gt;But with another files There are not memory leaks</P>
<P>&gt;NO memory leaks with qtdemix :</P>
<P>&gt;file type : QuickTime (.mov)</P>
<P>&gt;video codec : jpeg(apple photos jpeg)</P>
<P>&gt;no sound</P>
<P>&gt;size : 640x480</P>
<P>&gt;Do you know if the problem becomes from audio stream or video stream</P>
<P>&gt;(dvcp) ?</P>
<P>&gt;Do you know what kind/type of test I should make to localize the bug ?</P>
<P>&gt;Samuel</P></FONT></DIV></DIV><BR>
<HR SIZE=1>
Ne gardez plus qu'une seule adresse mail ! <A href="http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/SIG=11gshn0bu/**http%3A%2F%2Fwww.trueswitch.com%2Fyahoo-fr%2F" target=_blank rel=nofollow>Copiez vos mails</A> vers Yahoo! Mail <!-- kill -->
<DIV><BR><BR>-----La pièce jointe correspondante suit-----<BR><BR>-------------------------------------------------------------------------<BR>This SF.net email is sponsored by: Microsoft<BR>Defy all challenges. Microsoft(R) Visual Studio 2008.<BR><A href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target=_blank>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</A></DIV><!-- kill -->
<DIV><BR><BR>-----La pièce jointe correspondante suit-----<BR><BR>_______________________________________________<BR>gstreamer-devel mailing list<BR><A href="mailto:gstreamer-devel@lists.sourceforge.net" ymailto="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A><BR><A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target=_blank>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>


      <hr size="1"> 
Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs -  <a href="http://fr.rd.yahoo.com/mail/mail_taglines/yahoo/*http://fr.docs.yahoo.com/mail/overview/index.html">découvrez la démo !</a></body></html>