AW: playbin2 can't play videos 2GB or larger

Bernhard Graaf bernhard.graaf at gmx.de
Wed Feb 20 12:37:21 PST 2013


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/20130220/8767140c/attachment.html>


More information about the gstreamer-devel mailing list