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 null821 media services Weberstr. 2 86462 Langweid/Foret Tel.: 0821 / 800 60 -34 Fax.: 0821 / 800 60 -55 Email: [hidden email] Web: www.null821.de ________________________________________________________________ null821 media services GbR Ralf Walz, Alexander Mohr Weberstraße 2, 86462 Langweid/Foret Steuernummer: 102/181/07201 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Andreaus,
First, I think playbin is an autoplugger so you must take the defaults that are not declared properties.
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.
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 <[hidden email]> wrote: Hello, _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > 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 > > 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 <[hidden email] > <mailto:[hidden email]>> 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 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: Hi Mike, _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fri, Oct 7, 2011 at 11:15 AM, Mike Mitchell
<[hidden email]> wrote: > 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 The problem is that either you either have to use a custom pipeline with filesrc/queue2/decodebin2 and no playsink, or playbin2. It would be nice for playbin2 to also have configurable buffering properties for non-network streams, since filesrc can read files over nfs and samba which can be relatively slow. -- Arnaud Vrac _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks...
This seems to for me and my problem. Thanks... it works! Am 07.10.2011 11:47, schrieb Arnaud Vrac: > On Fri, Oct 7, 2011 at 11:15 AM, Mike Mitchell > <[hidden email]> wrote: >> 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 > > The problem is that either you either have to use a custom pipeline > with filesrc/queue2/decodebin2 and no playsink, or playbin2. It would > be nice for playbin2 to also have configurable buffering properties > for non-network streams, since filesrc can read files over nfs and > samba which can be relatively slow. > -- Andreas Rödig null821 media services Weberstr. 2 86462 Langweid/Foret Tel.: 0821 / 800 60 -34 Fax.: 0821 / 800 60 -55 Email: [hidden email] Web: www.null821.de ________________________________________________________________ null821 media services GbR Ralf Walz, Alexander Mohr Weberstraße 2, 86462 Langweid/Foret Steuernummer: 102/181/07201 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |