[gst-devel] xvimagesink not displaying irregular sized video

Stefan Kost ensonic at hora-obscura.de
Fri Oct 29 17:21:37 CEST 2010


Am 24.10.2010 19:57, schrieb Erik Blankinship:
> I have some irregular sized (330x200) theora files.  I am having trouble setting
> up pipelines to play them with xvimagesink (no problem with fakesink :-) )
> 
> gst-launch filesrc=how.ogv ! decodebin ! xvimagesink
> 
>     Failed to create output image buffer of 330x200 pixels
>     Additional debug info:
>     xvimagesink.c(2348): gst_xvimagesink_show_frame ():
>     /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
>     XServer allocated buffer size did not match input buffer
> 
> If I know the dimensions of the files ahead of time, can I use that information
> to solve this playback problem?  I tried adding videoscale to the pipeline to no
> avail.

You might need to use videoscale ! ffmpegcolorspace ! ximagesink
due to the video width. Your xvideo overlay might require a width divisable by 4 :/

Stefan


> 
> 
> 
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list