On Tue, Mar 01, 2005 at 09:04:51AM +0100, Loïc Minier wrote: > On Mon, Feb 28, 2005, Matt Kraai wrote: > > $ gst-launch-0.8 playbin > > uri=file:///home/kraai/Desktop/Downloads/DuckandC1951.avi > ... > > ERROR: from element /internal_thread/thread_vbin/vbin/sink: Resource busy > > or not available. > > Additional debug info: > > xvimagesink.c(732): gst_xvimagesink_get_xv_support: > > /internal_thread/thread_vbin/vbin/sink: > > No port available > > As far as I understand, this means no XVideo port is available, you can > confirm this by running "xvinfo".
$ xvinfo X-Video Extension version 2.2 screen #0 no adaptors present > > $ gconftool-2 -g /system/gstreamer/0.8/default/videosink > > xvimagesink > > This means gstreamer0.8 is configured to use XVideo by default. > > Changing your configuration to "ximagesink" should solve the problem > for you, but naturally the "playbin" element needs fixing. > > Please confirm me that changing your configured videosink with > "gstreamer-properties" or wih "gconf-editor" to ximagesink solves this > for you. I changed the configured videosink using gstreamer-properties to ximagesink. This allowed Totem to play MP3s, although I had to turn off visualizations to keep it from skipping. When I tried to play the video, though, it exits a few seconds after it starts, saying that it was killed, without an error dialog or displaying any of the video. Playing the video via the command line still failed as before. I reconfigured the X server to use the ati driver instead of fbdev and changed the videosink back to xvimagesink. This allowed Totem to play MP3s with visualizations enabled, but its behavior for videos was unchanged. As for the command line, it failed as follows: $ gst-launch-0.8 playbin uri=file:///home/kraai/Desktop/Downloads/DuckandC1951.avi RUNNING pipeline ... Killed The gstreamer-properties video test worked fine. I've attached the output of xvinfo with the new driver. -- Matt
X-Video Extension version 2.2 screen #0 Adaptor #0: "ATI Rage128 Video Overlay" number of ports: 1 port base: 61 operations supported: PutImage supported visuals: depth 24, visualID 0x23 depth 24, visualID 0x24 depth 24, visualID 0x25 depth 24, visualID 0x26 depth 24, visualID 0x27 depth 24, visualID 0x28 depth 24, visualID 0x29 depth 24, visualID 0x2a number of attributes: 4 "XV_COLORKEY" (range 0 to 16777215) client settable attribute client gettable attribute (current value is 30) "XV_BRIGHTNESS" (range -64 to 63) client settable attribute client gettable attribute (current value is 0) "XV_SATURATION" (range 0 to 31) client settable attribute client gettable attribute (current value is 11) "XV_DOUBLE_BUFFER" (range 0 to 1) client settable attribute client gettable attribute (current value is 1) maximum XvImage size: 2048 x 2048 Number of image formats: 4 id: 0x32595559 (2YUY) guid: 59555932-0000-0010-8000-00aa00389b71 bits per pixel: 16 number of planes: 1 type: YUV (packed) id: 0x59565955 (YVYU) guid: 55595659-0000-0010-8000-00aa00389b71 bits per pixel: 16 number of planes: 1 type: YUV (packed) id: 0x32315659 (21VY) guid: 59563132-0000-0010-8000-00aa00389b71 bits per pixel: 12 number of planes: 3 type: YUV (planar) id: 0x30323449 (024I) guid: 49343230-0000-0010-8000-00aa00389b71 bits per pixel: 12 number of planes: 3 type: YUV (planar)
signature.asc
Description: Digital signature