环境:
· Ubuntu16.04
· gcc (Ubuntu5.4.0-6ubuntu1~16.04.9) 5.4.0
· ffmpeg version 3.4.2Copyright (c) 2000-2018 the FFmpeg developers
builtwith gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
configuration:--enable-gpl --enable-version3 --enable-nonfree --enable-pic --enable-shared--enable-static --enable-libx264 --enable-libx265
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
· protobuf-2.4.1
· qt-5.7.0(.run 安装方式)
这次编译过程主要是跟着官方教程,但是因为官方教程比较老旧,会遇到很多问题,所以把这次的编译过程记录下来。
1. 准备环境
VLC需要C11编译器,开发头文件和工具链。
建议使用gcc(版本4.9或更高版本),但是也可以使用clang / LLVM。
<
本文详细记录了在Ubuntu16.04上编译VLC的过程,包括环境配置、获取源码、安装依赖、配置、编译等步骤。在编译过程中遇到了如LUA、XCB库、ffmpeg、Qt5.7.0的链接错误等问题,逐一给出了解决方案,如调整Makefile、添加编译选项等。最后成功编译并解决了H264解码不支持的问题。

4011

被折叠的 条评论
为什么被折叠?



