Increasing video buffer

Mike Mitchell mike.mitchell at panometric.net
Fri Oct 7 02:15:28 PDT 2011


OK, then try a queue2 after fileasrc , they normally buffer 2MB but you can
increase it.

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-queue2.html
*
Mike Mitchell*





On Fri, Oct 7, 2011 at 1:47 AM, Andreas Rödig <a.roedig at null821.de> wrote:

> Hi Mike,
>
> thanks for your answer.
>
> My Problem is: Reading from harddisk and decoding are fast enough (atom
> d525 and ion2 via vdpau). But sometimes i have some little harddisk actions.
> And only at this time i see the video bucking.
>
> Thats why i think that a read buffer is good for me.
>
> Thanks,
> Andreas
>
> Am 07.10.2011 10:38, schrieb Mike Mitchell:
>
>> Andreaus,
>> First, I think playbin is an autoplugger so you must take the defaults
>> that are not declared properties.
>> http://gstreamer.freedesktop.**org/data/doc/gstreamer/head/**
>> gst-plugins-base-plugins/html/**gst-plugins-base-plugins-**playbin2.html<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-playbin2.html>
>> It provides buffer adjustments for network streams but not for files.
>>
>> You could make your own pipline which would start with filesrc, but that
>> has no buffer element either.
>> http://gstreamer.freedesktop.**org/data/doc/gstreamer/head/**
>> gstreamer-plugins/html/**gstreamer-plugins-filesrc.html<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-filesrc.html>
>>
>> If you can't get the file off your disk fast enough, your machine is
>> just too slow. That is hard to believe that it is a real problem unless
>> it is raw with no compression at all. You may need to transcode it first
>> to play on a slower machine.
>>
>> *Mike Mitchell*
>>
>>
>> On Fri, Oct 7, 2011 at 12:56 AM, Andreas Rödig <a.roedig at null821.de
>> <mailto:a.roedig at null821.de>> wrote:
>>
>>    Hello,
>>
>>    i need to buffer some video which is playing from harddisk. Are
>>    there some options (with playbin2) to increase the read buffer of
>>    playbin2?
>>
>>    --
>>    Andreas Rödig
>>
>>
> --
> Andreas Rödig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111007/7752dbf7/attachment.html>


More information about the gstreamer-devel mailing list