<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2>thanks, </FONT></SPAN></DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff size=2>Works 
fine now..</FONT></SPAN></DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2>gst-launch filesrc location=/root/file.dat blocksize=2000 num-buffers=1 
!&nbsp;&nbsp;.................................</FONT></SPAN></DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2>Irfan</FONT></SPAN></DIV>
<DIV><SPAN class=942304712-24112008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Yann Gilquin 
  [mailto:ygilquin.dev@gmail.com]<BR><B>Sent:</B> Monday, November 24, 2008 4:15 
  PM<BR><B>To:</B> sk.gnanasekar@gdatech.co.in; Discussion of the development of 
  GStreamer<BR><B>Subject:</B> Re: [gst-devel] How with help of filesrc i can 
  read first 2000bytes of a file ?<BR><BR></FONT></DIV>Hi,<BR>try gst-inspect on 
  filesrc, and have a look at properties...<BR><BR><BR>
  <DIV class=gmail_quote>2008/11/24 Gnanasekar <SPAN dir=ltr>&lt;<A 
  href="mailto:sk.gnanasekar@gdatech.co.in">sk.gnanasekar@gdatech.co.in</A>&gt;</SPAN><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV text="#000000" bgcolor="#ffffff">I too facing the same issue of 
    receiving 20000 or more bytes from filesrc..<BR>block size is defined 
    like&nbsp; #define DEFAULT_BLOCKSIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    4*1024<BR>if i change to 10*1024 this is not making any effect on the 
    process.<BR>Even i don't find any variable like "num-buffers" in filesrc 
    ...<BR><BR>sudarshan bisht wrote: 
    <BLOCKQUOTE type="cite">
      <DIV>
      <DIV></DIV>
      <DIV class=Wj3C7c>
      <DIV>Hi , </DIV>
      <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Give "blocksize=2000"&nbsp; and 
      "num-buffers=1"&nbsp;in filesrc properties . &nbsp;</DIV>
      <DIV>&nbsp;&nbsp;&nbsp;&nbsp; <BR><BR></DIV>
      <DIV class=gmail_quote>On Mon, Nov 24, 2008 at 11:04 AM, Irfan Shaikh 
      <SPAN dir=ltr>&lt;<A href="mailto:irfanshaikh@tataelxsi.co.in" 
      target=_blank>irfanshaikh@tataelxsi.co.in</A>&gt;</SPAN> wrote:<BR>
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
        <DIV><BR>
        <P><FONT size=2>Hi 
        all,<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I want to read 
        only first 2000 bytes from filesrc...can any one please suggest me the 
        pipeline for doing soo ??<BR><BR>Thanking 
        you.....<BR>Regards,<BR>Irfan</FONT> </P>
        <P>This message (including any attachment) is confidential and may be 
        legally privileged. Access to this message by anyone other than the 
        intended recipient(s) listed above is unauthorized. If you are not the 
        intended recipient you are hereby notified that any disclosure, copying, 
        or distribution of the message, or any action taken or omission of 
        action by you in reliance upon it, is prohibited and may be unlawful. 
        Please immediately notify the sender by reply e-mail and permanently 
        delete all copies of the message if you have received this message in 
        error.</P></DIV><BR>-------------------------------------------------------------------------<BR>This 
        SF.Net email is sponsored by the Moblin Your Move Developer's 
        challenge<BR>Build the coolest Linux based applications with Moblin SDK 
        &amp; win great prizes<BR>Grand prize is a trip for two to an Open 
        Source event anywhere in the world<BR><A 
        href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" 
        target=_blank>http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</A><BR>_______________________________________________<BR>gstreamer-devel 
        mailing list<BR><A href="mailto:gstreamer-devel@lists.sourceforge.net" 
        target=_blank>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><BR></BLOCKQUOTE></DIV><BR><BR 
      clear=all><BR>-- <BR>Regards,<BR><BR>Sudarshan Bisht<BR></DIV></DIV><PRE><HR width="90%" SIZE=4><DIV class=Ih2E3d>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
<A href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target=_blank>http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</A></DIV></PRE>
      <DIV class=Ih2E3d><PRE><HR width="90%" SIZE=4>
_______________________________________________
gstreamer-devel mailing list
<A href="mailto:gstreamer-devel@lists.sourceforge.net" target=_blank>gstreamer-devel@lists.sourceforge.net</A>
<A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target=_blank>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A>
  </PRE></DIV></BLOCKQUOTE><BR></DIV><BR>-------------------------------------------------------------------------<BR>This 
    SF.Net email is sponsored by the Moblin Your Move Developer's 
    challenge<BR>Build the coolest Linux based applications with Moblin SDK 
    &amp; win great prizes<BR>Grand prize is a trip for two to an Open Source 
    event anywhere in the world<BR><A 
    href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" 
    target=_blank>http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</A><BR>_______________________________________________<BR>gstreamer-devel 
    mailing list<BR><A 
    href="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><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><p>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.</p>
</BODY></HTML>