直接打开ubuntu自带的video播放.mp4文件,弹窗报错如下:
sh
播放此影片需要插件 MPEG-4 AAC 编码器
安装方式:
sh
sudo apt install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
sudo apt install ffmpeg
验证AAC编码器已安装
sh
ffmpeg -codecs | grep aac

可以正常播放!