How does an element work in pull mode ?

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

How does an element work in pull mode ?

Irfan Shaikh-2
Hi,
          Consider the following pipline,  I think the elements in the
following pipeline works in Push mode

          gst-launch filesrc location=/home/h264.dat ! video/x-h264,
width=1280, height=720, framerate=30/1 ! ffmux_asf ! filesink
location=/home/h264.asf

          What changes we have to do to make these element in pull mode ??


Regards,







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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How does an element work in pull mode ?

michael smith-6-3
On Wed, Jan 21, 2009 at 6:56 AM, irfanshaikh
<[hidden email]> wrote:
> Hi,
>          Consider the following pipline,  I think the elements in the
> following pipeline works in Push mode
>
>          gst-launch filesrc location=/home/h264.dat ! video/x-h264,
> width=1280, height=720, framerate=30/1 ! ffmux_asf ! filesink
> location=/home/h264.asf
>
>          What changes we have to do to make these element in pull mode ??

We very strongly recommend against use ffmux_*; they mostly don't
work, and we can't help you with them.

Which element do you want to run in pull mode? Presumably the muxer:
you'd have to rewrite the muxer to run in pull mode. But it still
won't work, since you don't have an h264 parser in your pipeline.
Maybe you wanted to add a parser, then run THAT in pull mode? Either
way: if it doesn't already support pull mode, you'd need to add that
functionality to the source.

Mike

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How does an element work in pull mode ?

Irfan Shaikh-2

Hi,

    Thanks for your reply !!!
    I have modified the pipeline with the h264parse element.

      gst-launch filesrc location=/home/h264.dat ! h264parse ! video/x-h264,
 width=1280, height=720, framerate=30/1 ! ffmux_asf ! filesink
 location=/home/h264.asf

    Is it ok if the h264parse work in pull mode and ffmux_asf work in push
mode in the pipeline ?? Please tell me how do i make h264parse to work in
pull mode ?
    If you suggest me how to make an element to work in pull mode. I can try
the rest of elements in the pipeline to work in pull mode(also ffmux_asf).
    Any small Hint would be helpful !!

    Thanks in advance !!!!

regards,

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]On Behalf Of Michael
Smith
Sent: Wednesday, January 21, 2009 11:34 PM
To: [hidden email]; Discussion of the development of
GStreamer
Subject: Re: [gst-devel] How does an element work in pull mode ?


On Wed, Jan 21, 2009 at 6:56 AM, irfanshaikh
<[hidden email]> wrote:
> Hi,
>          Consider the following pipline,  I think the elements in the
> following pipeline works in Push mode
>
>          gst-launch filesrc location=/home/h264.dat ! video/x-h264,
> width=1280, height=720, framerate=30/1 ! ffmux_asf ! filesink
> location=/home/h264.asf
>
>          What changes we have to do to make these element in pull mode ??

We very strongly recommend against use ffmux_*; they mostly don't
work, and we can't help you with them.

Which element do you want to run in pull mode? Presumably the muxer:
you'd have to rewrite the muxer to run in pull mode. But it still
won't work, since you don't have an h264 parser in your pipeline.
Maybe you wanted to add a parser, then run THAT in pull mode? Either
way: if it doesn't already support pull mode, you'd need to add that
functionality to the source.

Mike


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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel