You are not logged in.

#1 2015-08-01 13:35:50

JaQoB
Member
Registered: 2007-04-04
Posts: 60

Can't get sound working in Virtualbox

Edit: I can't get it to work in Ubuntu either. It could be related to the new Virtualbox.
Edit2: More probably to the new Windows... https://www.virtualbox.org/ticket/14361

Hi,

My first post in five years or something like that, after a "short" detour to the ubuntuland.
I have just installed arch in a virtual machine in Virtualbox 5.0.0, but I can't get the sound to work, and I have to admit that I'm a bit confused about Pulseaudio vs Alsa.

I have installed pulseaudio, pulseaudio-alsa and surley a few other things...

[jaqob@arch-vbox Downloads]$ pulseaudio --start
[jaqob@arch-vbox Downloads]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[jaqob@arch-vbox Downloads]$ cat /proc/asound/cards
 0 [I82801AAICH    ]: ICH - Intel 82801AA-ICH
                      Intel 82801AA-ICH with STAC9700,83,84 at irq 21

I can unmute

[jaqob@arch-vbox Downloads]$ amixer sset Master unmute
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 34881 [53%] [on]
  Front Right: Playback 34881 [53%] [on]

But when I try to play an video, for example, it just shows the first frame, complaining about the audio

[jaqob@arch-vbox Downloads]$ mplayer small.mp4 
MPlayer SVN-r37379 (C) 2000-2015 MPlayer Team
210 audio & 441 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing small.mp4.
libavformat version 56.25.101 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5638fa1204a0]overread end of atom 'colr' by 1 bytes
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  560x320  24bpp  30.000 fps  465.6 kbps (56.8 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: mp42isomavc1
 creation_time: 2010-03-20 21:29:11
 encoder: HandBrake 0.9.4 2009112300
Load subtitles in ./
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[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.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.26.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 1 ch, floatle, 83.0 kbit/5.41% (ratio: 10381->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[b][AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory[/b]
AO: [alsa] 48000Hz 1ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 560x320 => 560x320 Planar YV12 
[swscaler @ 0x5638fa1468a0]bicubic scaler, from yuv420p to bgra using MMXEXT
[swscaler @ 0x5638fa1468a0]using unscaled yuv420p -> bgra special converter
A:   0.4 V:   0.5 A-V: -0.070 ct:  0.024   0/  0  4%  2%  0.1% 0 0 

Exiting... (Quit)

I don't really know how to proceed. Any ideas? Or any hints about what additional information I should provide?

Last edited by JaQoB (2015-08-01 17:43:37)

Offline

Board footer

Powered by FluxBB