Page 1 of 1

XVideo support?

Posted: 10. Jul 2009, 12:30
by RailWar
Can I switch on xvideo in Ubuntu guest. I tried to write "VideoOverlay" "on", but vboxvideo has no this option. I use VB 2.1.4
And how is in VB3?

Re: XVideo support?

Posted: 10. Jul 2009, 12:32
by Sasquatch
Please give more information. What have you done, what are you trying to do and why?

Re: XVideo support?

Posted: 10. Jul 2009, 13:11
by RailWar
I have VB 2.1.4 on WinXP and guest Ubuntu 8.10. VBox additions included. Ubuntu is in full screen mode.
I need to run gstreamer with xvimagesink (for playing inside my conrol). Gstreamer works perfectly with ximagesink (without the video acceleration).
I run xvinfo and got next
X-Video Extension version 2.2
screen #0
no adaptors present

My xorg.conf

Section "Device"
Identifier "Configured Video Device"
# Option "VideoOverlay" "on"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection

I tried to uncomment the option "VideoOverlay", but I read in Xorg.0.log vboxvideo has no this option

Re: XVideo support?

Posted: 10. Jul 2009, 13:25
by Sasquatch
Did you enable 3D options too? That should give you Xvideo acceleration along with 3D visual effects. You can disable these effects, and it's best to do so before enabling 3D in the VM settings, as it's possible to cause a problem. Even though it should work, some users reported white and black screens after they enabled it.

You don't have to change your Xorg.conf file, at least I didn't need to to get Xvideo.

Re: XVideo support?

Posted: 10. Jul 2009, 13:36
by RailWar
Now I tried reboot Ubuntu with and without 3D, but I have no XVideo.

Re: XVideo support?

Posted: 10. Jul 2009, 14:58
by Sasquatch
Did you check the manual already? It might say something about how to get it. Or your video player somehow doesn't pick it up. When I get home with my Linux systems, I'll check what is needed.

Re: XVideo support?

Posted: 13. Jul 2009, 08:17
by RailWar
Yes, I did. But I didn't find an information about video acceleration.
I try to port my windows multimedia application to linux. However I dont see video in Totem and other players. I think XVideo is reason for this.
Did someone see xvinfo says about founded adaptors (in virtualbox , of course)?

Re: XVideo support?

Posted: 13. Jul 2009, 14:42
by RailWar
I got a video in window without XVideo for avi-file. Now I can't see a video from my webcam, but It works properly in real ubuntu.
For probe I run next
gst-launch v4l2src ! ffmpegcolorspace ! ximagesink
I see how it starts, but a video window doesn't popup.

Everybody, what do you see in vxinfo?

Re: XVideo support?

Posted: 13. Jul 2009, 19:48
by Sasquatch
Hmm, guess I was wrong with the Xvideo output. Here is my output from xvinfo and mplayer:

Code: Select all

sasquatch@Sumomo:/home/sasquatch/shared_folder/Clannad$)?> mplayer -vo xv \[SS-Eclipse\]\ Clannad\ -\ 01.mkv 
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 FX-60 Dual Core Processor (Family: 15, Model: 35, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing [SS-Eclipse] Clannad - 01.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Clannad 01: At the Hill Where Cherry Blossoms Fall", -vid 0
[mkv] Track ID 2: audio (A_AAC) "2.0 AAC", -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_TEXT/ASS) "ASS", -sid 0, -slang eng
[mkv] Track ID 4: subtitles (S_TEXT/UTF8) "SRT", -sid 1, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1024x576  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   2.4 (02.4) of 1450.0 (24:09.9)  2.0% 

Code: Select all

X-Video Extension version 2.2
screen #0
 no adapters present
OpenGL works fine though.