[gst-devel] How with help of filesrc i can read first 2000bytes of a file ?

irfanshaikh irfanshaikh at tataelxsi.co.in
Mon Nov 24 13:49:35 CET 2008


thanks,
Works fine now..

gst-launch filesrc location=/root/file.dat blocksize=2000 num-buffers=1 !
.................................


Thanks
Regards,
Irfan

  -----Original Message-----
  From: Yann Gilquin [mailto:ygilquin.dev at gmail.com]
  Sent: Monday, November 24, 2008 4:15 PM
  To: sk.gnanasekar at gdatech.co.in; Discussion of the development of
GStreamer
  Subject: Re: [gst-devel] How with help of filesrc i can read first
2000bytes of a file ?


  Hi,
  try gst-inspect on filesrc, and have a look at properties...



  2008/11/24 Gnanasekar <sk.gnanasekar at gdatech.co.in>

    I too facing the same issue of receiving 20000 or more bytes from
filesrc..
    block size is defined like  #define DEFAULT_BLOCKSIZE       4*1024
    if i change to 10*1024 this is not making any effect on the process.
    Even i don't find any variable like "num-buffers" in filesrc ...

    sudarshan bisht wrote:
      Hi ,
            Give "blocksize=2000"  and "num-buffers=1" in filesrc properties
.



      On Mon, Nov 24, 2008 at 11:04 AM, Irfan Shaikh
<irfanshaikh at tataelxsi.co.in> wrote:



        Hi all,

                I want to read only first 2000 bytes from filesrc...can any
one please suggest me the pipeline for doing soo ??

        Thanking you.....
        Regards,
        Irfan

        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.


        --------------------------------------------------------------------
-----
        This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
        Build the coolest Linux based applications with Moblin SDK & win
great prizes
        Grand prize is a trip for two to an Open Source event anywhere in
the world
        http://moblin-contest.org/redirect.php?banner_id=100&url=/
        _______________________________________________
        gstreamer-devel mailing list
        gstreamer-devel at lists.sourceforge.net
        https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





      --
      Regards,

      Sudarshan Bisht

--------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/------------------
--------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



    ------------------------------------------------------------------------
-
    This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
    Build the coolest Linux based applications with Moblin SDK & win great
prizes
    Grand prize is a trip for two to an Open Source event anywhere in the
world
    http://moblin-contest.org/redirect.php?banner_id=100&url=/
    _______________________________________________
    gstreamer-devel mailing list
    gstreamer-devel at lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081124/f3b06376/attachment.htm>


More information about the gstreamer-devel mailing list