playbin2 can't play videos 2GB or larger

Jim restlessmindsstudio at gmail.com
Wed Feb 20 08:20:26 PST 2013


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/4eb2a66b/attachment.html>


More information about the gstreamer-devel mailing list