When a sink requires some buffering

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

When a sink requires some buffering

Changwoo Ryu
Hello,

I'm writing a non-raw video sink which accepts encoded video stream
and decodes it with a H/W decoder.

The problem is, that the video is not fluent because buffer under-run
constantly occurs in the H/W decoder buffer. I think I just need to
make this H/W buffer to be filled enough but I've no idea how. There's
no way to configure this H/W decoder that way.

Is there a common GStreamer solution in such this case? I'm a novice
on writing GStreamer plugins but I guess most H/W sinks (even raw
sinks) could have the same issue.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: When a sink requires some buffering

Richard123
Have you tried using a queue element?
Reply | Threaded
Open this post in threaded view
|

Re: When a sink requires some buffering

Changwoo Ryu
On Mon, Jun 14, 2010 at 6:01 PM, Richard123 <[hidden email]> wrote:
>
> Have you tried using a queue element?

Yes I have. It didn't help.

Queue element queues its buffers in itself rather than to its output
element, doesn't?

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: When a sink requires some buffering

Richard123
In reply to this post by Changwoo Ryu
What about, pushing a few buffers into the pipeline, before you set it to play.