Ubuntu安装VLC播放器
Ubuntu安裝VLC官方介紹:http://www.videolan.org/vlc/download-ubuntu.html
sudo apt-get update sudo apt-get install vlc browser-plugin-vlc其他問(wèn)題請(qǐng)查看官方wiki:https://wiki.videolan.org/Ubuntu/
?Many vlc plugins can be installed afterwards (some of these may no longer be needed)
vlc-plugin-alsa - ALSA audio output plugin for VLC (install it if sound doesn't work)vlc-plugin-arts - aRts audio output plugin for VLC (install it if sound still doesn't work and you're using KDE)vlc-plugin-esd - Esound audio output plugin for VLC (install it if sound still doesn't work and you're using Gnome)vlc-plugin-ggi - GGI video output plugin for VLCvlc-plugin-glide - Glide video output plugin for VLCvlc-plugin-pulse - PulseAudio audio output plugin for VLCvlc-plugin-sdl - SDL video and audio output plugin for VLCvlc-plugin-svgalib - SVGAlib video output plugin for VLCmozilla-plugin-vlc - the VLC plugin for Mozilla based browsersvlc-plugin-jack - the VLC plugin for Jack Audio Connection Kit?
為homeassistant添加配置文件:
https://www.home-assistant.io/components/media_player.vlc/
# Example configuration.yaml entry media_player:- platform: vlcname: speaker_1arguments: '--alsa-audio-device=hw:1,0'?主要用于homeassistant中的TTS語(yǔ)音播報(bào)
VLC配置完成后,不能從藍(lán)牙耳機(jī)發(fā)出聲音,但是使用VLC音樂(lè)播放器播放本地mp3文件的時(shí)候是可以從藍(lán)牙耳機(jī)發(fā)生的,VLC播放器有切換輸出方式的選項(xiàng);
arguments: '--alsa-audio-device=hw:1,0'上面這個(gè)yaml的配置參數(shù)貌似沒(méi)有什么作用,改成其他的也不會(huì)影響聲音播放。
有個(gè)很好的情況,就是連接藍(lán)牙后播放器自動(dòng)從藍(lán)牙耳機(jī)發(fā)出聲音,但是tts的語(yǔ)音依然從有線HDMI(轉(zhuǎn)VGA和音頻)耳機(jī)發(fā)出聲音。
?
轉(zhuǎn)載于:https://www.cnblogs.com/arrive/p/9645931.html
總結(jié)
以上是生活随笔為你收集整理的Ubuntu安装VLC播放器的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: php trait
- 下一篇: ubuntu 更新软件