playbin2 can't play videos 2GB or larger
Jim
restlessmindsstudio at gmail.com
Thu Feb 21 15:43:28 PST 2013
Hi Bernhard,
Thanks for the response. gst-launch is also exhibiting this problem, so it's
not just my program. While I see how enabling large file support would be
necessary if my C program was accessing the files directly, GStreamer is the
library that's dealing with the files and it must already have large file
support enabled.
Jim
From:
gstreamer-devel-bounces+restlessmindsstudio=gmail.com at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+restlessmindsstudio=gmail.com at lists.freedesk
top.org] On Behalf Of Bernhard Graaf
Sent: Wednesday, February 20, 2013 1:37 PM
To: 'Discussion of the development of and with GStreamer'
Subject: AW: playbin2 can't play videos 2GB or larger
I don't know any issues in 0.10. I use playbin in 1.0 and haven't this
issue.
In some cases it's helps to define the following using C:
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE
For opening bigger files in C it helps sometimes.
Bernhard
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
Im Auftrag von Jim
Gesendet: Mittwoch, 20. Februar 2013 17:20
An: gstreamer-devel at lists.freedesktop.org
Betreff: playbin2 can't play videos 2GB or larger
Hi Everyone,
I'm noticing if I try playing an MPEG2-TS video that is around 2GB or larger
with playbin2, it just sits there taking up all available memory until there
is nothing left and crashes. It's as if GStreamer is trying to load the
entire video into memory. It never outputs any video, not even the first
frame. This happens whether I use gst-launch or my C program.
If I build a pipeline specifically for playing a TS file, then it works
fine. The problem is this pipeline doesn't work for all the TS files I'm
dealing with. This is why I'd rather use playbin2 since it can build the
appropriate pipeline based on the video source.
Are there any properties I can set or elements to insert for playbin2 to
handle these large video files? I'm working with GStreamer 0.10.36.
Thanks,
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130221/bd7dcc3a/attachment.html>
More information about the gstreamer-devel
mailing list