[gst-devel] How does an element work in pull mode ?

irfanshaikh irfanshaikh at tataelxsi.co.in
Thu Jan 22 05:37:02 CET 2009


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: mlrsmith at gmail.com [mailto:mlrsmith at gmail.com]On Behalf Of Michael
Smith
Sent: Wednesday, January 21, 2009 11:34 PM
To: irfanshaikh at tataelxsi.co.in; 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
<irfanshaikh at tataelxsi.co.in> 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.




More information about the gstreamer-devel mailing list