xvimagesink not displaying irregular sized video

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

xvimagesink not displaying irregular sized video

Erik Blankinship-2
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.
------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink not displaying irregular sized video

Sudarshan Bisht
You can try pipeline ;

Did you try using ffmpegcolorspace between decodebin and xvimagesink ?

On Sun, Oct 24, 2010 at 10:27 PM, Erik Blankinship <[hidden email]> wrote:
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.
------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink not displaying irregular sized video

Stefan Sauer
In reply to this post by Erik Blankinship-2
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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel