opi-win-a64-firmware icon indicating copy to clipboard operation
opi-win-a64-firmware copied to clipboard

Sound with hdmi

Open blendsoft opened this issue 8 years ago • 1 comments

When I tried use vlc or web browser to play sound, it stops for 1 sec constantly, and again, play some seconds and stops. I tried to use analog output but its not compiled in kernel and no module.

blendsoft avatar Sep 15 '17 09:09 blendsoft

Video decoding was tested with mplayer-hdmi your_file_MP4 (H264).

mplayer-hdmi (output to HDMI) mplayer-jack (output to JACK) mplayer-silent (test video without sound, to make sure libvdpau is OK!)

To play video with VLC and others to JACK output you could try this (or review alsa configuration):

Update with some alsa values

wget https://raw.githubusercontent.com/longsleep/build-pine64-image/master/blobs/asound.state
sudo mkdir -p /var/lib/alsa
sudo mv asound.state /var/lib/alsa/asound.state

With jack you should add the modules in /etc/modules

sunxi_codec
sunxi_i2s
sunxi_sndcodec

or add manually like:

sudo modprobe sunxi_codec
sudo modprobe sunxi_i2s
sudo modprobe sunxi_sndcodec

reboot

sudo apt-get install alsa-base alsa-utils
sudo apt-get install pulseaudio

configure and unmute alsa sudo alsamixer

There is a new kernel with better hw support so there are plans to build a new Image.

avafinger avatar Sep 15 '17 11:09 avafinger