How

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

How

Rahul Nikose
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.. ?

   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... :)

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

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

Re: How

Lutz Müller-2
On Sun, 2008-07-13 at 10:28 +0530, Rahul Nikose wrote:
> 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... :)

Even if you could, this is totally against the design. What exactly do
you want to achieve?

Regards

Lutz


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

Re: How

Edward Hervey-2
In reply to this post by Rahul Nikose
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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Edward Hervey <[hidden email]>
Collabora Multimedia


-------------------------------------------------------------------------
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