
这里分类和汇总了欣宸的全部原创(含配套源码):https://github.com/zq2599/blog_demos

tree ffmpeg_build
ffmpeg_build
├── build.sh
├── build_ffmpeg.sh
├── build_libfdk_aac.sh
├── build_libmp3lame.sh
├── build_libopus.sh
├── build_libvpx.sh
├── build_libx264.sh
├── build_libx265.sh
├── build_pkg_config.sh
├── build_sdl2.sh
├── build_yasm.sh
├── config.sh
└── tools.shchmod a+x ffmpeg_build/*.shtar -xf ffmpeg-4.4.3.tar.xz tree ffmpeg_build -L 2
ffmpeg_build
├── FFmpeg
│ ├── CONTRIBUTING.md
│ ├── COPYING.GPLv2
│ ├── COPYING.GPLv3
│ ├── COPYING.LGPLv2.1
│ ├── COPYING.LGPLv3
│ ├── CREDITS
│ ├── Changelog
│ ├── INSTALL.md
│ ├── LICENSE.md
│ ├── MAINTAINERS
│ ├── Makefile
│ ├── README.md
│ ├── RELEASE
│ ├── RELEASE_NOTES
│ ├── VERSION
│ ├── compat
│ ├── configure
│ ├── doc
│ ├── ffbuild
│ ├── fftools
│ ├── libavcodec
│ ├── libavdevice
│ ├── libavfilter
│ ├── libavformat
│ ├── libavresample
│ ├── libavutil
│ ├── libpostproc
│ ├── libswresample
│ ├── libswscale
│ ├── presets
│ ├── tests
│ └── tools
├── build.sh
├── build_ffmpeg.sh
├── build_libfdk_aac.sh
├── build_libmp3lame.sh
├── build_libopus.sh
├── build_libvpx.sh
├── build_libx264.sh
├── build_libx265.sh
├── build_pkg_config.sh
├── build_sdl2.sh
├── build_yasm.sh
├── config.sh
└── tools.shsudo apt-get updatesudo apt-get install -y build-essential cmake./build.shINSTALL libavutil/libavutil.pc
==========================ffmpeg build successful!==========================
Total Compilation Time 1486 seconds
==========================test ffmpeg!==========================
ffmpeg version 4.4.3 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
configuration: --prefix=/root/ffmpeg/ffmpeg_build/output --extra-cflags=-I/root/ffmpeg/ffmpeg_build/output/include --extra-ldflags=-L/root/ffmpeg/ffmpeg_build/output/lib --pkg-config-flags=--static --extra-libs=-lpthread --enable-ffplay --enable-gpl --enable-version3 --disable-optimizations --enable-debug --enable-nonfree --enable-filter=delogo --enable-static --disable-shared --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libvpx
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100tree ffmpeg_build/output/bin/
ffmpeg_build/output/bin/
├── ffmpeg
├── ffplay
├── ffprobe
├── lame
├── pkg-config
├── sdl2-config
├── vsyasm
├── x264
├── x265
├── x86_64-unknown-linux-gnu-pkg-config
├── yasm
└── ytasm
0 directories, 12 files./ffprobe http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4~/ffmpeg/ffmpeg_build/output/bin# ./ffprobe http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4
ffprobe version 4.4.3 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
configuration: --prefix=/root/ffmpeg/ffmpeg_build/output --extra-cflags=-I/root/ffmpeg/ffmpeg_build/output/include --extra-ldflags=-L/root/ffmpeg/ffmpeg_build/output/lib --pkg-config-flags=--static --extra-libs=-lpthread --enable-ffplay --enable-gpl --enable-version3 --disable-optimizations --enable-debug --enable-nonfree --enable-filter=delogo --enable-static --disable-shared --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libvpx
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creation_time : 2010-02-09T01:55:39.000000Z
Duration: 00:01:00.10, start: 0.000000, bitrate: 733 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 65 kb/s (default)
Metadata:
creation_time : 2010-02-09T01:55:39.000000Z
handler_name : Apple Sound Media Handler
vendor_id : [0][0][0][0]
Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 640x360, 612 kb/s, 23.96 fps, 24 tbr, 600 tbn, 1200 tbc (default)
Metadata:
creation_time : 2010-02-09T01:55:39.000000Z
handler_name : Apple Video Media Handler
vendor_id : [0][0][0][0]
Stream #0:2(eng): Data: none (rtp / 0x20707472), 45 kb/s
Metadata:
creation_time : 2010-02-09T01:55:39.000000Z
handler_name : hint media handler
Stream #0:3(eng): Data: none (rtp / 0x20707472), 5 kb/s
Metadata:
creation_time : 2010-02-09T01:55:39.000000Z
handler_name : hint media handler
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
全部原创的分类导航与配套源码:github.com/zq2599/blog_demos
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。