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

sudarshan bisht bisht.sudarshan at gmail.com
Mon Nov 24 11:47:30 CET 2008


Hi *Gnanasekar*   ,
           If you want to read whole amount of data then there is no benefit
of using Gstreamer plugin , you can write a file based application and use
 fread  to read full file . Gstreamer is a Multimedia framework which is
designed to support streaming feature .  And if you are not reading input
file block by block then  you are not utilizing Gstreamer's  streaming
 feature efficiently , and unnecessary increase memory usages and slowing
down the processing  .




On 11/24/08, Gnanasekar <sk.gnanasekar at gdatech.co.in> wrote:
>
> hi,
>           I suppose to read whole block of my data from filesrc. Is there
> any possibility  that i can make  it  happen here ....
>
> 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 worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> ------------------------------
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.sourceforge.nethttps://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
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081124/4667a916/attachment.htm>


More information about the gstreamer-devel mailing list