[gst-devel] How

Edward Hervey edward.hervey at collabora.co.uk
Tue Jul 15 10:32:01 CEST 2008


Hi,

On Sun, 2008-07-13 at 10:28 +0530, Rahul Nikose wrote:
> Can any body explain me following
>   
>  If my pipeline consist of filesrc --> demuxer -->.....
>   I want to demuxer to pull data from filesrc (which will open file)
> any data i.e random access..
>  How communication establish initially... if my demuxer's sink pad are
> scheduling in pull base mode then is it filesrc
>  will open file and push initial data to demuxer ,then afterward
> demuxer pull data from filesrc
>                                  or 
>  is it my demuxer who will request filesrc to open file  i.e.   Is
> everything will start from demuxer... who will first request 
> filesrc to open file and afterward access it.. ? 

  The data flow will be controled by the demuxer. The actual opening of
the file is done in filesource (when going from READY to PAUSED).

> 
>    One more thing ....in either case filesrc will open file....is it
> anyway possible to get me  file handle (return by fopen() )
> in next element i.e inside demuxer where demuxer will use that handle
> to do some more activity... :)

   No, you can't get the handle. What more do you want to do apart from
random-access to the contents ?

> 
> Thank you very much...have very nice day .. :)

  Same to you,

    Edward
> 
> -- 
> Thanks and warm Regards
> Rahul S. Nikose
> 09739949798 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-- 
Edward Hervey <edward.hervey at collabora.co.uk>
Collabora Multimedia





More information about the gstreamer-devel mailing list