How with help of filesrc i can read first 2000 bytes of a file ?

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

How with help of filesrc i can read first 2000 bytes of a file ?

Irfan Shaikh-2
How with help of filesrc i can read first 2000 bytes of a file ?

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How with help of filesrc i can read first 2000 bytes of a file ?

Sudarshan Bisht
Hi ,
      Give "blocksize=2000"  and "num-buffers=1" in filesrc properties .  
    

On Mon, Nov 24, 2008 at 11:04 AM, Irfan Shaikh <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How with help of filesrc i can read first 2000 bytes of a file ?

Gnanasekar-2
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 <[hidden email]> 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
[hidden email]
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 [hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How with help of filesrc i can read first 2000 bytes of a file ?

Gnanasekar-2
In reply to this post by Sudarshan Bisht
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 <[hidden email]> 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
[hidden email]
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 [hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How with help of filesrc i can read first 2000 bytes of a file ?

Yann Gilquin-2
In reply to this post by Gnanasekar-2
Hi,
try gst-inspect on filesrc, and have a look at properties...


2008/11/24 Gnanasekar <[hidden email]>
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 <[hidden email]> 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
[hidden email]
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 [hidden email] 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How with help of filesrc i can read first 2000 bytes of a file ?

Sudarshan Bisht
In reply to this post by Gnanasekar-2
 
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 <[hidden email]> 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 <[hidden email]> 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
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">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 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________ gstreamer-devel mailing list [hidden email] <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">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
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How with help of filesrc i can read first 2000 bytes of a file ?

Gnanasekar-2
hi bisht,

          I found that mad plug-in also using libmad for decoding operation.libmad wants whole  block of data for decoding right ? thats why am expecting so ? I donno exactly whether mad uses libmad as i presumed !!
          How mad uses libmad ? can you pls tell me ?
sudarshan bisht wrote:
 
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 <[hidden email]> 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 <[hidden email]> 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
<a moz-do-not-send="true" onclick="return top.js.OpenExtLink(window,event,this)" href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a moz-do-not-send="true" onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">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 <a moz-do-not-send="true" onclick="return top.js.OpenExtLink(window,event,this)" href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________ gstreamer-devel mailing list [hidden email] <a moz-do-not-send="true" onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">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
<a moz-do-not-send="true" onclick="return top.js.OpenExtLink(window,event,this)" href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a moz-do-not-send="true" onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How with help of filesrc i can read first 2000 bytes of a file ?

Edward Hervey
Administrator
On Mon, 2008-11-24 at 16:41 +0530, Gnanasekar wrote:
> hi bisht,
>
>           I found that mad plug-in also using libmad for decoding
> operation.libmad wants whole  block of data for decoding right ? thats
> why am expecting so ? I donno exactly whether mad uses libmad as i
> presumed !!
>           How mad uses libmad ? can you pls tell me ?

  The source code of the mad plugin should show you how it uses libmad.

    Edward

> sudarshan bisht wrote:
> >  
> > 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 <[hidden email]> 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
> >         > <[hidden email]> 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
> >         >         [hidden email]
> >         >         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
> >         > [hidden email]
> >         > 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
> >         [hidden email]
> >         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 [hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How with help of filesrc i can read first 2000bytes of a file ?

Irfan Shaikh-2
In reply to this post by Yann Gilquin-2
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:[hidden email]]
Sent: Monday, November 24, 2008 4:15 PM
To: [hidden email]; 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 <[hidden email]>
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 <[hidden email]> 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
[hidden email]
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 [hidden email] 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
[hidden email]
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.


-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel