RHEL 8 安裝 ffmpeg,使用 you-get 下載 YouTube、bilibili 的影片

 

這篇有殺雞用牛刀的感覺,搞了半天就是想下載影片而已!

ffmepg 是功能非常強大的多媒體相關的指令,可以下載檔案,格式轉換…等一大堆功能。

這裡以 RHEL 8 的環境,安裝 ffmpeg

參考 RHEL 8 使用 RPM Fusion 這篇,先確認 RHEL 8 已經安裝 RPM Fusion

[root@serverb ~]# rpm -qa | grep epel
epel-release-8-7.el8.noarch
[root@serverb ~]# rpm -qa | grep rpmfu
rpmfusion-free-release-8-0.1.noarch
rpmfusion-nonfree-release-8-0.1.noarch

安裝 SDL,這個套件在 RPM Fusion 之中沒有提供,要先手動安裝

[root@serverb ~]# yum install http://rpmfind.net/linux/epel/7/x86_64/Packages/s/SDL2-2.0.10-1.el7.x86_64.rpm -y
Last metadata expiration check: 0:07:33 ago on Sun 12 Apr 2020 11:25:36 AM CST.
SDL2-2.0.10-1.el7.x86_64.rpm                                     212 kB/s | 448 kB     00:02
Dependencies resolved.
=================================================================================================
 Package           Arch                Version                   Repository                 Size
=================================================================================================
Installing:
 SDL2              x86_64              2.0.10-1.el7              @commandline              448 k

Transaction Summary
=================================================================================================
Install  1 Package

Total size: 448 k
Installed size: 1.3 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                         1/1
  Installing       : SDL2-2.0.10-1.el7.x86_64                                                1/1
  Running scriptlet: SDL2-2.0.10-1.el7.x86_64                                                1/1
  Verifying        : SDL2-2.0.10-1.el7.x86_64                                                1/1

Installed:
  SDL2-2.0.10-1.el7.x86_64

Complete!

 

再來就可以直接安裝 ffmpeg

[root@serverb ~]# yum install ffmpeg -y
Last metadata expiration check: 0:09:19 ago on Sun 12 Apr 2020 11:25:36 AM CST.
Dependencies resolved.
=================================================================================================
 Package         Arch   Version                         Repository                          Size
=================================================================================================
Installing:
 ffmpeg          x86_64 4.2.2-1.el8                     rpmfusion-free-updates             1.4 M
Installing dependencies:
 jack-audio-connection-kit
                 x86_64 1.9.12-8.el8                    epel                               519 k
 libaom          x86_64 1.0.0-8.20190810git9666276.el8  epel                               1.6 M
 libass          x86_64 0.14.0-4.el8                    epel                               110 k
 libdav1d        x86_64 0.5.2-1.el8                     epel                               347 k
 libmfx          x86_64 1.25-4.el8                      epel                                36 k
 libvmaf         x86_64 1.3.15-1.el8                    epel                               347 k
 pugixml         x86_64 1.9-1.el8                       epel                                97 k
 soxr            x86_64 0.1.3-4.el8                     epel                                97 k
 vid.stab        x86_64 1.1.0-12.20190213gitaeabc8d.el8 epel                                47 k
 zimg            x86_64 2.9.2-1.el8                     epel                               268 k
 zvbi            x86_64 0.2.35-9.el8                    epel                               424 k
 alsa-lib        x86_64 1.1.6-3.el8                     rhel-8.0-for-x86_64-appstream-rpms 432 k
 flac-libs       x86_64 1.3.2-9.el8                     rhel-8.0-for-x86_64-appstream-rpms 217 k
 fribidi         x86_64 1.0.4-6.el8                     rhel-8.0-for-x86_64-appstream-rpms  89 k
 graphite2       x86_64 1.3.10-10.el8                   rhel-8.0-for-x86_64-appstream-rpms 122 k
 gsm             x86_64 1.0.17-5.el8                    rhel-8.0-for-x86_64-appstream-rpms  37 k
 harfbuzz        x86_64 1.7.5-3.el8                     rhel-8.0-for-x86_64-appstream-rpms 294 k
 lame-libs       x86_64 3.100-6.el8                     rhel-8.0-for-x86_64-appstream-rpms 361 k
 libXft          x86_64 2.3.2-10.el8                    rhel-8.0-for-x86_64-appstream-rpms  66 k
 libXtst         x86_64 1.2.3-7.el8                     rhel-8.0-for-x86_64-appstream-rpms  22 k
 libasyncns      x86_64 0.8-14.el8                      rhel-8.0-for-x86_64-appstream-rpms  32 k
 libbluray       x86_64 1.0.2-3.el8                     rhel-8.0-for-x86_64-appstream-rpms 162 k
 libcdio         x86_64 2.0.0-2.el8                     rhel-8.0-for-x86_64-appstream-rpms 254 k
 libcdio-paranoia
                 x86_64 10.2+0.94+2-3.el8               rhel-8.0-for-x86_64-appstream-rpms  92 k
 libdatrie       x86_64 0.2.9-7.el8                     rhel-8.0-for-x86_64-appstream-rpms  33 k
 libogg          x86_64 2:1.3.2-10.el8                  rhel-8.0-for-x86_64-appstream-rpms  31 k
 librsvg2        x86_64 2.42.7-2.el8                    rhel-8.0-for-x86_64-appstream-rpms 541 k
 libsamplerate   x86_64 0.1.9-1.el8                     rhel-8.0-for-x86_64-appstream-rpms 1.0 M
 libsndfile      x86_64 1.0.28-8.el8                    rhel-8.0-for-x86_64-appstream-rpms 193 k
 libthai         x86_64 0.1.27-2.el8                    rhel-8.0-for-x86_64-appstream-rpms 203 k
 libtheora       x86_64 1:1.1.1-21.el8                  rhel-8.0-for-x86_64-appstream-rpms 184 k
 libv4l          x86_64 1.14.2-3.el8                    rhel-8.0-for-x86_64-appstream-rpms 195 k
 libva           x86_64 2.1.0-1.el8                     rhel-8.0-for-x86_64-appstream-rpms  92 k
 libvdpau        x86_64 1.1.1-7.el8                     rhel-8.0-for-x86_64-appstream-rpms  40 k
 libvorbis       x86_64 1:1.3.6-1.el8                   rhel-8.0-for-x86_64-appstream-rpms 196 k
 libvpx          x86_64 1.7.0-6.el8                     rhel-8.0-for-x86_64-appstream-rpms 852 k
 libwayland-client
                 x86_64 1.15.0-1.el8                    rhel-8.0-for-x86_64-appstream-rpms  39 k
 ocl-icd         x86_64 2.2.12-1.el8                    rhel-8.0-for-x86_64-appstream-rpms  51 k
 openal-soft     x86_64 1.18.2-7.el8                    rhel-8.0-for-x86_64-appstream-rpms 394 k
 openjpeg2       x86_64 2.3.0-8.el8                     rhel-8.0-for-x86_64-appstream-rpms 153 k
 opus            x86_64 1.3-0.4.beta.el8                rhel-8.0-for-x86_64-appstream-rpms 204 k
 pango           x86_64 1.42.4-1.el8                    rhel-8.0-for-x86_64-appstream-rpms 297 k
 pulseaudio-libs x86_64 11.1-22.el8                     rhel-8.0-for-x86_64-appstream-rpms 676 k
 speex           x86_64 1.2.0-1.el8                     rhel-8.0-for-x86_64-appstream-rpms  71 k
 ffmpeg-libs     x86_64 4.2.2-1.el8                     rpmfusion-free-updates             7.2 M
 libavdevice     x86_64 4.2.2-1.el8                     rpmfusion-free-updates              96 k
 opencore-amr    x86_64 0.1.5-7.el8                     rpmfusion-free-updates             180 k
 vo-amrwbenc     x86_64 0.1.3-8.el8                     rpmfusion-free-updates              77 k
 x264-libs       x86_64 0.157-12.20190717git34c06d1.el8 rpmfusion-free-updates             651 k
 x265-libs       x86_64 3.1.2-1.el8                     rpmfusion-free-updates             1.9 M
 xvidcore        x86_64 1.3.7-1.el8                     rpmfusion-free-updates             268 k

Transaction Summary
=================================================================================================
Install  52 Packages

Total download size: 23 M
Installed size: 76 M
Downloading Packages:
(1/52): libass-0.14.0-4.el8.x86_64.rpm                            87 kB/s | 110 kB     00:01
(2/52): jack-audio-connection-kit-1.9.12-8.el8.x86_64.rpm        380 kB/s | 519 kB     00:01
(3/52): libmfx-1.25-4.el8.x86_64.rpm                             535 kB/s |  36 kB     00:00
(4/52): libdav1d-0.5.2-1.el8.x86_64.rpm                          1.0 MB/s | 347 kB     00:00
(5/52): libvmaf-1.3.15-1.el8.x86_64.rpm                          1.8 MB/s | 347 kB     00:00
(6/52): libaom-1.0.0-8.20190810git9666276.el8.x86_64.rpm         992 kB/s | 1.6 MB     00:01
(7/52): pugixml-1.9-1.el8.x86_64.rpm                             1.1 MB/s |  97 kB     00:00
(8/52): soxr-0.1.3-4.el8.x86_64.rpm                              1.1 MB/s |  97 kB     00:00
(9/52): vid.stab-1.1.0-12.20190213gitaeabc8d.el8.x86_64.rpm      578 kB/s |  47 kB     00:00
(10/52): alsa-lib-1.1.6-3.el8.x86_64.rpm                         9.9 MB/s | 432 kB     00:00
(11/52): flac-libs-1.3.2-9.el8.x86_64.rpm                         16 MB/s | 217 kB     00:00
(12/52): fribidi-1.0.4-6.el8.x86_64.rpm                           15 MB/s |  89 kB     00:00
(13/52): graphite2-1.3.10-10.el8.x86_64.rpm                       14 MB/s | 122 kB     00:00
(14/52): gsm-1.0.17-5.el8.x86_64.rpm                             8.2 MB/s |  37 kB     00:00
(15/52): harfbuzz-1.7.5-3.el8.x86_64.rpm                          23 MB/s | 294 kB     00:00
(16/52): lame-libs-3.100-6.el8.x86_64.rpm                         22 MB/s | 361 kB     00:00
(17/52): zimg-2.9.2-1.el8.x86_64.rpm                             1.6 MB/s | 268 kB     00:00
(18/52): libXft-2.3.2-10.el8.x86_64.rpm                           12 MB/s |  66 kB     00:00
(19/52): libXtst-1.2.3-7.el8.x86_64.rpm                          2.8 MB/s |  22 kB     00:00
(20/52): zvbi-0.2.35-9.el8.x86_64.rpm                            2.9 MB/s | 424 kB     00:00
(21/52): libasyncns-0.8-14.el8.x86_64.rpm                        5.3 MB/s |  32 kB     00:00
(22/52): libcdio-2.0.0-2.el8.x86_64.rpm                           15 MB/s | 254 kB     00:00
(23/52): libcdio-paranoia-10.2+0.94+2-3.el8.x86_64.rpm           5.1 MB/s |  92 kB     00:00
(24/52): libbluray-1.0.2-3.el8.x86_64.rpm                        6.7 MB/s | 162 kB     00:00
(25/52): libdatrie-0.2.9-7.el8.x86_64.rpm                        4.8 MB/s |  33 kB     00:00
(26/52): libogg-1.3.2-10.el8.x86_64.rpm                          5.2 MB/s |  31 kB     00:00
(27/52): libsndfile-1.0.28-8.el8.x86_64.rpm                       12 MB/s | 193 kB     00:00
(28/52): libthai-0.1.27-2.el8.x86_64.rpm                         9.2 MB/s | 203 kB     00:00
(29/52): librsvg2-2.42.7-2.el8.x86_64.rpm                         11 MB/s | 541 kB     00:00
(30/52): libsamplerate-0.1.9-1.el8.x86_64.rpm                     14 MB/s | 1.0 MB     00:00
(31/52): libtheora-1.1.1-21.el8.x86_64.rpm                       5.0 MB/s | 184 kB     00:00
(32/52): libva-2.1.0-1.el8.x86_64.rpm                             13 MB/s |  92 kB     00:00
(33/52): libv4l-1.14.2-3.el8.x86_64.rpm                          5.4 MB/s | 195 kB     00:00
(34/52): libvdpau-1.1.1-7.el8.x86_64.rpm                         3.3 MB/s |  40 kB     00:00
(35/52): libvorbis-1.3.6-1.el8.x86_64.rpm                         13 MB/s | 196 kB     00:00
(36/52): libwayland-client-1.15.0-1.el8.x86_64.rpm               6.1 MB/s |  39 kB     00:00
(37/52): ocl-icd-2.2.12-1.el8.x86_64.rpm                         6.8 MB/s |  51 kB     00:00
(38/52): openjpeg2-2.3.0-8.el8.x86_64.rpm                        7.6 MB/s | 153 kB     00:00
(39/52): openal-soft-1.18.2-7.el8.x86_64.rpm                      12 MB/s | 394 kB     00:00
(40/52): opus-1.3-0.4.beta.el8.x86_64.rpm                         17 MB/s | 204 kB     00:00
(41/52): libvpx-1.7.0-6.el8.x86_64.rpm                            13 MB/s | 852 kB     00:00
(42/52): pango-1.42.4-1.el8.x86_64.rpm                            11 MB/s | 297 kB     00:00
(43/52): speex-1.2.0-1.el8.x86_64.rpm                            4.2 MB/s |  71 kB     00:00
(44/52): pulseaudio-libs-11.1-22.el8.x86_64.rpm                  9.4 MB/s | 676 kB     00:00
(45/52): libavdevice-4.2.2-1.el8.x86_64.rpm                      517 kB/s |  96 kB     00:00
(46/52): opencore-amr-0.1.5-7.el8.x86_64.rpm                     627 kB/s | 180 kB     00:00
(47/52): ffmpeg-4.2.2-1.el8.x86_64.rpm                           2.5 MB/s | 1.4 MB     00:00
(48/52): vo-amrwbenc-0.1.3-8.el8.x86_64.rpm                      1.0 MB/s |  77 kB     00:00
(49/52): x264-libs-0.157-12.20190717git34c06d1.el8.x86_64.rpm    2.7 MB/s | 651 kB     00:00
(50/52): xvidcore-1.3.7-1.el8.x86_64.rpm                         1.8 MB/s | 268 kB     00:00
(51/52): x265-libs-3.1.2-1.el8.x86_64.rpm                        2.1 MB/s | 1.9 MB     00:00
(52/52): ffmpeg-libs-4.2.2-1.el8.x86_64.rpm                      3.9 MB/s | 7.2 MB     00:01
-------------------------------------------------------------------------------------------------
Total                                                            3.3 MB/s |  23 MB     00:07
warning: /var/cache/dnf/rpmfusion-free-updates-4f04908c20c55925/packages/ffmpeg-4.2.2-1.el8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 158b3811: NOKEY
RPM Fusion for EL 8 - Free - Updates                             1.6 MB/s | 1.7 kB     00:00
Importing GPG key 0x158B3811:
 Userid     : "RPM Fusion free repository for EL (8) "
 Fingerprint: 8379 35CD 19E1 23AA 7F8A 8E69 979F 0C69 158B 3811
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-8
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                         1/1
  Installing       : libogg-2:1.3.2-10.el8.x86_64                                           1/52
  Installing       : fribidi-1.0.4-6.el8.x86_64                                             2/52
  Installing       : alsa-lib-1.1.6-3.el8.x86_64                                            3/52
  Running scriptlet: alsa-lib-1.1.6-3.el8.x86_64                                            3/52
  Installing       : libvorbis-1:1.3.6-1.el8.x86_64                                         4/52
  Installing       : opus-1.3-0.4.beta.el8.x86_64                                           5/52
  Installing       : ocl-icd-2.2.12-1.el8.x86_64                                            6/52
  Running scriptlet: ocl-icd-2.2.12-1.el8.x86_64                                            6/52
  Installing       : gsm-1.0.17-5.el8.x86_64                                                7/52
  Installing       : x264-libs-0.157-12.20190717git34c06d1.el8.x86_64                       8/52
  Running scriptlet: x264-libs-0.157-12.20190717git34c06d1.el8.x86_64                       8/52
  Installing       : flac-libs-1.3.2-9.el8.x86_64                                           9/52
  Installing       : libsndfile-1.0.28-8.el8.x86_64                                        10/52
  Running scriptlet: libsndfile-1.0.28-8.el8.x86_64                                        10/52
  Installing       : libsamplerate-0.1.9-1.el8.x86_64                                      11/52
  Running scriptlet: libsamplerate-0.1.9-1.el8.x86_64                                      11/52
  Running scriptlet: jack-audio-connection-kit-1.9.12-8.el8.x86_64                         12/52
  Installing       : jack-audio-connection-kit-1.9.12-8.el8.x86_64                         12/52
  Installing       : libtheora-1:1.1.1-21.el8.x86_64                                       13/52
  Installing       : xvidcore-1.3.7-1.el8.x86_64                                           14/52
  Installing       : x265-libs-3.1.2-1.el8.x86_64                                          15/52
  Installing       : vo-amrwbenc-0.1.3-8.el8.x86_64                                        16/52
  Installing       : opencore-amr-0.1.5-7.el8.x86_64                                       17/52
  Installing       : speex-1.2.0-1.el8.x86_64                                              18/52
  Installing       : openjpeg2-2.3.0-8.el8.x86_64                                          19/52
  Installing       : openal-soft-1.18.2-7.el8.x86_64                                       20/52
  Installing       : libwayland-client-1.15.0-1.el8.x86_64                                 21/52
  Installing       : libva-2.1.0-1.el8.x86_64                                              22/52
  Installing       : libmfx-1.25-4.el8.x86_64                                              23/52
  Installing       : libvpx-1.7.0-6.el8.x86_64                                             24/52
  Installing       : libvdpau-1.1.1-7.el8.x86_64                                           25/52
  Running scriptlet: libvdpau-1.1.1-7.el8.x86_64                                           25/52
  Installing       : libv4l-1.14.2-3.el8.x86_64                                            26/52
  Running scriptlet: libv4l-1.14.2-3.el8.x86_64                                            26/52
  Installing       : libdatrie-0.2.9-7.el8.x86_64                                          27/52
  Running scriptlet: libdatrie-0.2.9-7.el8.x86_64                                          27/52
  Installing       : libthai-0.1.27-2.el8.x86_64                                           28/52
  Running scriptlet: libthai-0.1.27-2.el8.x86_64                                           28/52
  Installing       : libcdio-2.0.0-2.el8.x86_64                                            29/52
  Running scriptlet: libcdio-2.0.0-2.el8.x86_64                                            29/52
  Installing       : libcdio-paranoia-10.2+0.94+2-3.el8.x86_64                             30/52
  Running scriptlet: libcdio-paranoia-10.2+0.94+2-3.el8.x86_64                             30/52
  Installing       : libbluray-1.0.2-3.el8.x86_64                                          31/52
  Running scriptlet: libbluray-1.0.2-3.el8.x86_64                                          31/52
  Installing       : libasyncns-0.8-14.el8.x86_64                                          32/52
  Running scriptlet: libasyncns-0.8-14.el8.x86_64                                          32/52
  Installing       : libXtst-1.2.3-7.el8.x86_64                                            33/52
  Installing       : pulseaudio-libs-11.1-22.el8.x86_64                                    34/52
  Running scriptlet: pulseaudio-libs-11.1-22.el8.x86_64                                    34/52
  Installing       : libXft-2.3.2-10.el8.x86_64                                            35/52
  Installing       : lame-libs-3.100-6.el8.x86_64                                          36/52
  Installing       : graphite2-1.3.10-10.el8.x86_64                                        37/52
  Installing       : harfbuzz-1.7.5-3.el8.x86_64                                           38/52
  Running scriptlet: harfbuzz-1.7.5-3.el8.x86_64                                           38/52
  Installing       : libass-0.14.0-4.el8.x86_64                                            39/52
  Installing       : pango-1.42.4-1.el8.x86_64                                             40/52
  Running scriptlet: pango-1.42.4-1.el8.x86_64                                             40/52
  Installing       : librsvg2-2.42.7-2.el8.x86_64                                          41/52
  Installing       : zvbi-0.2.35-9.el8.x86_64                                              42/52
  Running scriptlet: zvbi-0.2.35-9.el8.x86_64                                              42/52
  Installing       : zimg-2.9.2-1.el8.x86_64                                               43/52
  Installing       : vid.stab-1.1.0-12.20190213gitaeabc8d.el8.x86_64                       44/52
  Installing       : soxr-0.1.3-4.el8.x86_64                                               45/52
  Installing       : pugixml-1.9-1.el8.x86_64                                              46/52
  Running scriptlet: pugixml-1.9-1.el8.x86_64                                              46/52
  Installing       : libvmaf-1.3.15-1.el8.x86_64                                           47/52
  Installing       : libdav1d-0.5.2-1.el8.x86_64                                           48/52
  Installing       : libaom-1.0.0-8.20190810git9666276.el8.x86_64                          49/52
  Installing       : ffmpeg-libs-4.2.2-1.el8.x86_64                                        50/52
  Installing       : libavdevice-4.2.2-1.el8.x86_64                                        51/52
  Installing       : ffmpeg-4.2.2-1.el8.x86_64                                             52/52
  Running scriptlet: ffmpeg-4.2.2-1.el8.x86_64                                             52/52
  Verifying        : jack-audio-connection-kit-1.9.12-8.el8.x86_64                          1/52
  Verifying        : libaom-1.0.0-8.20190810git9666276.el8.x86_64                           2/52
  Verifying        : libass-0.14.0-4.el8.x86_64                                             3/52
  Verifying        : libdav1d-0.5.2-1.el8.x86_64                                            4/52
  Verifying        : libmfx-1.25-4.el8.x86_64                                               5/52
  Verifying        : libvmaf-1.3.15-1.el8.x86_64                                            6/52
  Verifying        : pugixml-1.9-1.el8.x86_64                                               7/52
  Verifying        : soxr-0.1.3-4.el8.x86_64                                                8/52
  Verifying        : vid.stab-1.1.0-12.20190213gitaeabc8d.el8.x86_64                        9/52
  Verifying        : zimg-2.9.2-1.el8.x86_64                                               10/52
  Verifying        : zvbi-0.2.35-9.el8.x86_64                                              11/52
  Verifying        : alsa-lib-1.1.6-3.el8.x86_64                                           12/52
  Verifying        : flac-libs-1.3.2-9.el8.x86_64                                          13/52
  Verifying        : fribidi-1.0.4-6.el8.x86_64                                            14/52
  Verifying        : graphite2-1.3.10-10.el8.x86_64                                        15/52
  Verifying        : gsm-1.0.17-5.el8.x86_64                                               16/52
  Verifying        : harfbuzz-1.7.5-3.el8.x86_64                                           17/52
  Verifying        : lame-libs-3.100-6.el8.x86_64                                          18/52
  Verifying        : libXft-2.3.2-10.el8.x86_64                                            19/52
  Verifying        : libXtst-1.2.3-7.el8.x86_64                                            20/52
  Verifying        : libasyncns-0.8-14.el8.x86_64                                          21/52
  Verifying        : libbluray-1.0.2-3.el8.x86_64                                          22/52
  Verifying        : libcdio-2.0.0-2.el8.x86_64                                            23/52
  Verifying        : libcdio-paranoia-10.2+0.94+2-3.el8.x86_64                             24/52
  Verifying        : libdatrie-0.2.9-7.el8.x86_64                                          25/52
  Verifying        : libogg-2:1.3.2-10.el8.x86_64                                          26/52
  Verifying        : librsvg2-2.42.7-2.el8.x86_64                                          27/52
  Verifying        : libsamplerate-0.1.9-1.el8.x86_64                                      28/52
  Verifying        : libsndfile-1.0.28-8.el8.x86_64                                        29/52
  Verifying        : libthai-0.1.27-2.el8.x86_64                                           30/52
  Verifying        : libtheora-1:1.1.1-21.el8.x86_64                                       31/52
  Verifying        : libv4l-1.14.2-3.el8.x86_64                                            32/52
  Verifying        : libva-2.1.0-1.el8.x86_64                                              33/52
  Verifying        : libvdpau-1.1.1-7.el8.x86_64                                           34/52
  Verifying        : libvorbis-1:1.3.6-1.el8.x86_64                                        35/52
  Verifying        : libvpx-1.7.0-6.el8.x86_64                                             36/52
  Verifying        : libwayland-client-1.15.0-1.el8.x86_64                                 37/52
  Verifying        : ocl-icd-2.2.12-1.el8.x86_64                                           38/52
  Verifying        : openal-soft-1.18.2-7.el8.x86_64                                       39/52
  Verifying        : openjpeg2-2.3.0-8.el8.x86_64                                          40/52
  Verifying        : opus-1.3-0.4.beta.el8.x86_64                                          41/52
  Verifying        : pango-1.42.4-1.el8.x86_64                                             42/52
  Verifying        : pulseaudio-libs-11.1-22.el8.x86_64                                    43/52
  Verifying        : speex-1.2.0-1.el8.x86_64                                              44/52
  Verifying        : ffmpeg-4.2.2-1.el8.x86_64                                             45/52
  Verifying        : ffmpeg-libs-4.2.2-1.el8.x86_64                                        46/52
  Verifying        : libavdevice-4.2.2-1.el8.x86_64                                        47/52
  Verifying        : opencore-amr-0.1.5-7.el8.x86_64                                       48/52
  Verifying        : vo-amrwbenc-0.1.3-8.el8.x86_64                                        49/52
  Verifying        : x264-libs-0.157-12.20190717git34c06d1.el8.x86_64                      50/52
  Verifying        : x265-libs-3.1.2-1.el8.x86_64                                          51/52
  Verifying        : xvidcore-1.3.7-1.el8.x86_64                                           52/52

Installed:
  ffmpeg-4.2.2-1.el8.x86_64                     jack-audio-connection-kit-1.9.12-8.el8.x86_64
  libaom-1.0.0-8.20190810git9666276.el8.x86_64  libass-0.14.0-4.el8.x86_64
  libdav1d-0.5.2-1.el8.x86_64                   libmfx-1.25-4.el8.x86_64
  libvmaf-1.3.15-1.el8.x86_64                   pugixml-1.9-1.el8.x86_64
  soxr-0.1.3-4.el8.x86_64                       vid.stab-1.1.0-12.20190213gitaeabc8d.el8.x86_64
  zimg-2.9.2-1.el8.x86_64                       zvbi-0.2.35-9.el8.x86_64
  alsa-lib-1.1.6-3.el8.x86_64                   flac-libs-1.3.2-9.el8.x86_64
  fribidi-1.0.4-6.el8.x86_64                    graphite2-1.3.10-10.el8.x86_64
  gsm-1.0.17-5.el8.x86_64                       harfbuzz-1.7.5-3.el8.x86_64
  lame-libs-3.100-6.el8.x86_64                  libXft-2.3.2-10.el8.x86_64
  libXtst-1.2.3-7.el8.x86_64                    libasyncns-0.8-14.el8.x86_64
  libbluray-1.0.2-3.el8.x86_64                  libcdio-2.0.0-2.el8.x86_64
  libcdio-paranoia-10.2+0.94+2-3.el8.x86_64     libdatrie-0.2.9-7.el8.x86_64
  libogg-2:1.3.2-10.el8.x86_64                  librsvg2-2.42.7-2.el8.x86_64
  libsamplerate-0.1.9-1.el8.x86_64              libsndfile-1.0.28-8.el8.x86_64
  libthai-0.1.27-2.el8.x86_64                   libtheora-1:1.1.1-21.el8.x86_64
  libv4l-1.14.2-3.el8.x86_64                    libva-2.1.0-1.el8.x86_64
  libvdpau-1.1.1-7.el8.x86_64                   libvorbis-1:1.3.6-1.el8.x86_64
  libvpx-1.7.0-6.el8.x86_64                     libwayland-client-1.15.0-1.el8.x86_64
  ocl-icd-2.2.12-1.el8.x86_64                   openal-soft-1.18.2-7.el8.x86_64
  openjpeg2-2.3.0-8.el8.x86_64                  opus-1.3-0.4.beta.el8.x86_64
  pango-1.42.4-1.el8.x86_64                     pulseaudio-libs-11.1-22.el8.x86_64
  speex-1.2.0-1.el8.x86_64                      ffmpeg-libs-4.2.2-1.el8.x86_64
  libavdevice-4.2.2-1.el8.x86_64                opencore-amr-0.1.5-7.el8.x86_64
  vo-amrwbenc-0.1.3-8.el8.x86_64                x264-libs-0.157-12.20190717git34c06d1.el8.x86_64
  x265-libs-3.1.2-1.el8.x86_64                  xvidcore-1.3.7-1.el8.x86_64

Complete!


 

相關的函式庫也要安裝

[root@serverb ~]# yum install ffmpeg-devel -y
Last metadata expiration check: 0:11:23 ago on Sun 12 Apr 2020 11:25:36 AM CST.
Dependencies resolved.
=================================================================================================
 Package              Arch           Version                Repository                      Size
=================================================================================================
Installing:
 ffmpeg-devel         x86_64         4.2.2-1.el8            rpmfusion-free-updates         908 k

Transaction Summary
=================================================================================================
Install  1 Package

Total download size: 908 k
Installed size: 8.1 M
Downloading Packages:
ffmpeg-devel-4.2.2-1.el8.x86_64.rpm                              4.4 MB/s | 908 kB     00:00
-------------------------------------------------------------------------------------------------
Total                                                            557 kB/s | 908 kB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                         1/1
  Installing       : ffmpeg-devel-4.2.2-1.el8.x86_64                                         1/1
  Running scriptlet: ffmpeg-devel-4.2.2-1.el8.x86_64                                         1/1
  Verifying        : ffmpeg-devel-4.2.2-1.el8.x86_64                                         1/1

Installed:
  ffmpeg-devel-4.2.2-1.el8.x86_64

Complete!

 

確認一下 ffmpeg 的版本

[root@serverb ~]# rpm -q ffmpeg
ffmpeg-4.2.2-1.el8.x86_64
[root@serverb ~]# ffmpeg -version
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8 (GCC)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
libavutil      56. 31.100 / 56. 31.100
libavcodec     58. 54.100 / 58. 54.100
libavformat    58. 29.100 / 58. 29.100
libavdevice    58.  8.100 / 58.  8.100
libavfilter     7. 57.100 /  7. 57.100
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  5.100 /  5.  5.100
libswresample   3.  5.100 /  3.  5.100
libpostproc    55.  5.100 / 55.  5.100

 

參考網址:

在CentOS 8/RHEL 8發行版上安裝FFmpeg的方法

 

ffmpeg 的功能相當強大,可以參考這些網站

初学者学习FFmpeg命令的教程

The Complete Guide for Using ffmpeg in Linux

Linux上的ffmpeg完全使用指南

 

ffmpeg 相關應用就先擱著,接著來安裝 you-get

[root@serverb ~]# pip3 install you-get
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install
Collecting you-get
  Downloading https://files.pythonhosted.org/packages/24/bf/22a3c582dfd4969bace5eb287acfb9264e499-0.4.1432-py3-none-any.whl (215kB)
    100% |████████████████████████████████| 225kB 2.1MB/s
Installing collected packages: you-get
Successfully installed you-get-0.4.1432

 

嗯,大費周章,終於要到重點了,下載影片,哈哈哈~~~

先找個 bilibili 的影片試試

https://www.bilibili.com/video/BV1mK4y1r7jp?p=2

image

 

確定使用 Browser 可以正常播放,再來就是用 you-get 下載影片

[root@serverb ~]# you-get https://www.bilibili.com/video/BV1mK4y1r7jp?p=2
you-get: This is a multipart video. (use --playlist to download all parts.)
site:                Bilibili
title:               【收藏向】周杰伦MV《十二新作》全集 (P2. 119.十二新作 - 手语)
stream:
    - format:        dash-flv480
      container:     mp4
      quality:       清晰 480P
      size:          33.3 MiB (34921884 bytes)
    # download-with: you-get --format=dash-flv480 [URL]

Downloading 【收藏向】周杰伦MV《十二新作》全集 (P2. 119.十二新作 - 手语).mp4 ...
 100% ( 33.3/ 33.3MB) ├██████████████████████████████████████████████████████████████████████████
Merging video parts... Merged into 【收藏向】周杰伦MV《十二新作》全集 (P2. 119.十二新作 - 手语).m

Downloading 【收藏向】周杰伦MV《十二新作》全集 (P2. 119.十二新作 - 手语).cmt.xml ...

[root@serverb ~]#
[root@serverb ~]# ls -l
total 34192
-rw-------. 1 root root     6947 Apr  4  2019  anaconda-ks.cfg
-rw-------. 1 root root     6750 Apr  4  2019  original-ks.cfg
-rw-r--r--. 1 root root      218 Apr 12 11:49 '【收藏向】周杰伦MV《十二新作》全集 (P2. 119.十二新作 - 手语).cmt.xml'
-rw-r--r--. 1 root root 34988245 Apr 12 11:49 '【收藏向】周杰伦MV《十二新作》全集 (P2. 119.十二新作 - 手语).mp4'

下載到 Windows 10 上試看看

image

的確是可以正常撥放的 mp4 檔案。

順便也試試看 YouTube 的影片,看看能不能下載?

https://www.youtube.com/watch?v=7wvNwOPprBE&list=RD7wvNwOPprBE&start_radio=1

image

 

使用 you-get 下載 YouTobu 影片

[root@serverb ~]# you-get https://www.youtube.com/watch?v=7wvNwOPprBE&list=RD7wvNwOPprBE&start_radio=1
[1] 25395
[2] 25396
[root@serverb ~]#
[2]+  Done                    list=RD7wvNwOPprBE
[root@serverb ~]# site:                YouTube
title:               Della丁噹【手掌心】MV官方版-中視古裝大戲[蘭陵王]片尾曲
stream:
    - itag:          137
      container:     mp4
      quality:       1920x1080 (1080p)
      size:          48.2 MiB (50518229 bytes)
    # download-with: you-get --itag=137 [URL]

Downloading Della丁噹【手掌心】MV官方版-中視古裝大戲[蘭陵王]片尾曲.mp4 ...
 100% ( 48.2/ 48.2MB) ├█████████████████████████████████████████████████████████┤[2/2]    8 MB/s
Merging video parts... Merged into Della丁噹【手掌心】MV官方版-中視古裝大戲[蘭陵王]片尾曲.mp4


[1]+  Done                    you-get https://www.youtube.com/watch?v=7wvNwOPprBE
[root@serverb ~]# ls -l
total 83584
-rw-------. 1 root root     6947 Apr  4  2019  anaconda-ks.cfg
-rw-r--r--. 1 root root 50577017 Apr 12 12:11 'Della丁噹【手掌心】MV官方版-中視古裝大戲[蘭陵王]片尾曲.mp4'
-rw-------. 1 root root     6750 Apr  4  2019  original-ks.cfg
-rw-r--r--. 1 root root      218 Apr 12 11:49 '【收藏向】周杰伦MV《十二新作》全集 (P2. 119.十二新作 - 手语).cmt.xml'
-rw-r--r--. 1 root root 34988245 Apr 12 11:49 '【收藏向】周杰伦MV《十二新作》全集 (P2. 119.十二新作 - 手语).mp4'

 

這樣應該就差不多了吧!

最後,再來個 shellscript,將乾淨的 RHEL 8,改造成可以下載影片的環境吧!

[root@serverc ~]# vi you-get.sh
[root@serverc ~]# cat you-get.sh
#!/bin/bash
# 2020.4.12 Sun Version 0.0.1
#           將乾淨的 RHEL 8,改造成可以下載 YouTube, bilibili 影片的環境
yum install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y
yum install --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm -y
yum install http://rpmfind.net/linux/epel/7/x86_64/Packages/s/SDL2-2.0.10-1.el7.x86_64.rpm -y
yum install ffmpeg -y
yum install ffmpeg-devel -y
pip3 install you-get
echo
echo Usage : you-get URL
echo
echo For exxample : you-get https://www.bilibili.com/video/BV1mK4y1r7jp?p=2
echo                you-get https://www.youtube.com/watch?v=38Jt0leXvtc
echo


 

一鍵初始化

[root@serverc ~]# chmod 755 you-get.sh
[root@serverc ~]# ./you-get.sh
Last metadata expiration check: 1:57:44 ago on Sun 12 Apr 2020 10:22:54 AM CST.
epel-release-latest-8.noarch.rpm                                                                    11 kB/s |  21 kB     00:01
Dependencies resolved.
===================================================================================================================================
 Package                          Arch                       Version                        Repository                        Size
===================================================================================================================================
Installing:
 epel-release                     noarch                     8-7.el8                        @commandline                      21 k

Transaction Summary
===================================================================================================================================
Install  1 Package

Total size: 21 k
Installed size: 30 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                           1/1
  Installing       : epel-release-8-7.el8.noarch                                                                               1/1
  Running scriptlet: epel-release-8-7.el8.noarch                                                                               1/1
  Verifying        : epel-release-8-7.el8.noarch                                                                               1/1

Installed:
  epel-release-8-7.el8.noarch

Complete!
Extra Packages for Enterprise Linux 8 - x86_64                                                     1.5 MB/s | 6.3 MB     00:04
Last metadata expiration check: 0:00:03 ago on Sun 12 Apr 2020 12:20:45 PM CST.
rpmfusion-free-release-8.noarch.rpm                                                                5.1 kB/s |  11 kB     00:02
rpmfusion-nonfree-release-8.noarch.rpm                                                             9.8 kB/s |  11 kB     00:01
Dependencies resolved.
===================================================================================================================================
 Package                                     Arch                     Version                 Repository                      Size
===================================================================================================================================
Installing:
 rpmfusion-free-release                      noarch                   8-0.1                   @commandline                    11 k
 rpmfusion-nonfree-release                   noarch                   8-0.1                   @commandline                    11 k

Transaction Summary
===================================================================================================================================
Install  2 Packages

Total size: 22 k
Installed size: 7.6 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                           1/1
  Installing       : rpmfusion-free-release-8-0.1.noarch                                                                       1/2
  Installing       : rpmfusion-nonfree-release-8-0.1.noarch                                                                    2/2
  Verifying        : rpmfusion-free-release-8-0.1.noarch                                                                       1/2
  Verifying        : rpmfusion-nonfree-release-8-0.1.noarch                                                                    2/2

Installed:
  rpmfusion-free-release-8-0.1.noarch                            rpmfusion-nonfree-release-8-0.1.noarch

Complete!
RPM Fusion for EL 8 - Free - Updates                                                                94 kB/s | 248 kB     00:02
RPM Fusion for EL 8 - Nonfree - Updates                                                             39 kB/s |  61 kB     00:01
SDL2-2.0.10-1.el7.x86_64.rpm                                                                                      144 kB/s | 448 kB     00:03
Dependencies resolved.
==================================================================================================================================================
 Package                       Arch                            Version                                Repository                             Size
==================================================================================================================================================
Installing:
 SDL2                          x86_64                          2.0.10-1.el7                           @commandline                          448 k

Transaction Summary
==================================================================================================================================================
Install  1 Package

Total size: 448 k
Installed size: 1.3 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                          1/1
  Installing       : SDL2-2.0.10-1.el7.x86_64                                                                                                 1/1
  Running scriptlet: SDL2-2.0.10-1.el7.x86_64                                                                                                 1/1
  Verifying        : SDL2-2.0.10-1.el7.x86_64                                                                                                 1/1

Installed:
  SDL2-2.0.10-1.el7.x86_64

Complete!
Last metadata expiration check: 0:00:05 ago on Sun 12 Apr 2020 12:20:58 PM CST.
Dependencies resolved.
==================================================================================================================================================
 Package                            Arch            Version                                     Repository                                   Size
==================================================================================================================================================
Installing:
 ffmpeg                             x86_64          4.2.2-1.el8                                 rpmfusion-free-updates                      1.4 M
Installing dependencies:
 jack-audio-connection-kit          x86_64          1.9.12-8.el8                                epel                                        519 k
 libaom                             x86_64          1.0.0-8.20190810git9666276.el8              epel                                        1.6 M
 libass                             x86_64          0.14.0-4.el8                                epel                                        110 k
 libdav1d                           x86_64          0.5.2-1.el8                                 epel                                        347 k
 libmfx                             x86_64          1.25-4.el8                                  epel                                         36 k
 libvmaf                            x86_64          1.3.15-1.el8                                epel                                        347 k
 pugixml                            x86_64          1.9-1.el8                                   epel                                         97 k
 soxr                               x86_64          0.1.3-4.el8                                 epel                                         97 k
 vid.stab                           x86_64          1.1.0-12.20190213gitaeabc8d.el8             epel                                         47 k
 zimg                               x86_64          2.9.2-1.el8                                 epel                                        268 k
 zvbi                               x86_64          0.2.35-9.el8                                epel                                        424 k
 alsa-lib                           x86_64          1.1.6-3.el8                                 rhel-8.0-for-x86_64-appstream-rpms          432 k
 flac-libs                          x86_64          1.3.2-9.el8                                 rhel-8.0-for-x86_64-appstream-rpms          217 k
 fribidi                            x86_64          1.0.4-6.el8                                 rhel-8.0-for-x86_64-appstream-rpms           89 k
 graphite2                          x86_64          1.3.10-10.el8                               rhel-8.0-for-x86_64-appstream-rpms          122 k
 gsm                                x86_64          1.0.17-5.el8                                rhel-8.0-for-x86_64-appstream-rpms           37 k
 harfbuzz                           x86_64          1.7.5-3.el8                                 rhel-8.0-for-x86_64-appstream-rpms          294 k
 lame-libs                          x86_64          3.100-6.el8                                 rhel-8.0-for-x86_64-appstream-rpms          361 k
 libICE                             x86_64          1.0.9-13.el8                                rhel-8.0-for-x86_64-appstream-rpms           73 k
 libSM                              x86_64          1.2.3-1.el8                                 rhel-8.0-for-x86_64-appstream-rpms           48 k
 libX11-xcb                         x86_64          1.6.7-1.el8                                 rhel-8.0-for-x86_64-appstream-rpms           14 k
 libXdamage                         x86_64          1.1.4-14.el8                                rhel-8.0-for-x86_64-appstream-rpms           27 k
 libXfixes                          x86_64          5.0.3-7.el8                                 rhel-8.0-for-x86_64-appstream-rpms           25 k
 libXft                             x86_64          2.3.2-10.el8                                rhel-8.0-for-x86_64-appstream-rpms           66 k
 libXi                              x86_64          1.7.9-7.el8                                 rhel-8.0-for-x86_64-appstream-rpms           49 k
 libXtst                            x86_64          1.2.3-7.el8                                 rhel-8.0-for-x86_64-appstream-rpms           22 k
 libXxf86vm                         x86_64          1.1.4-9.el8                                 rhel-8.0-for-x86_64-appstream-rpms           19 k
 libasyncns                         x86_64          0.8-14.el8                                  rhel-8.0-for-x86_64-appstream-rpms           32 k
 libbluray                          x86_64          1.0.2-3.el8                                 rhel-8.0-for-x86_64-appstream-rpms          162 k
 libcdio                            x86_64          2.0.0-2.el8                                 rhel-8.0-for-x86_64-appstream-rpms          254 k
 libcdio-paranoia                   x86_64          10.2+0.94+2-3.el8                           rhel-8.0-for-x86_64-appstream-rpms           92 k
 libdatrie                          x86_64          0.2.9-7.el8                                 rhel-8.0-for-x86_64-appstream-rpms           33 k
 libdrm                             x86_64          2.4.96-2.el8                                rhel-8.0-for-x86_64-appstream-rpms          164 k
 libglvnd                           x86_64          1:1.0.1-0.9.git5baa1e5.el8                  rhel-8.0-for-x86_64-appstream-rpms           96 k
 libglvnd-glx                       x86_64          1:1.0.1-0.9.git5baa1e5.el8                  rhel-8.0-for-x86_64-appstream-rpms          131 k
 libjpeg-turbo                      x86_64          1.5.3-7.el8                                 rhel-8.0-for-x86_64-appstream-rpms          155 k
 libogg                             x86_64          2:1.3.2-10.el8                              rhel-8.0-for-x86_64-appstream-rpms           31 k
 librsvg2                           x86_64          2.42.7-2.el8                                rhel-8.0-for-x86_64-appstream-rpms          541 k
 libsamplerate                      x86_64          0.1.9-1.el8                                 rhel-8.0-for-x86_64-appstream-rpms          1.0 M
 libsndfile                         x86_64          1.0.28-8.el8                                rhel-8.0-for-x86_64-appstream-rpms          193 k
 libthai                            x86_64          0.1.27-2.el8                                rhel-8.0-for-x86_64-appstream-rpms          203 k
 libtheora                          x86_64          1:1.1.1-21.el8                              rhel-8.0-for-x86_64-appstream-rpms          184 k
 libv4l                             x86_64          1.14.2-3.el8                                rhel-8.0-for-x86_64-appstream-rpms          195 k
 libva                              x86_64          2.1.0-1.el8                                 rhel-8.0-for-x86_64-appstream-rpms           92 k
 libvdpau                           x86_64          1.1.1-7.el8                                 rhel-8.0-for-x86_64-appstream-rpms           40 k
 libvorbis                          x86_64          1:1.3.6-1.el8                               rhel-8.0-for-x86_64-appstream-rpms          196 k
 libvpx                             x86_64          1.7.0-6.el8                                 rhel-8.0-for-x86_64-appstream-rpms          852 k
 libwayland-client                  x86_64          1.15.0-1.el8                                rhel-8.0-for-x86_64-appstream-rpms           39 k
 libxshmfence                       x86_64          1.3-2.el8                                   rhel-8.0-for-x86_64-appstream-rpms           13 k
 mesa-filesystem                    x86_64          18.3.1-2.el8                                rhel-8.0-for-x86_64-appstream-rpms           31 k
 mesa-libGL                         x86_64          18.3.1-2.el8                                rhel-8.0-for-x86_64-appstream-rpms          215 k
 mesa-libglapi                      x86_64          18.3.1-2.el8                                rhel-8.0-for-x86_64-appstream-rpms           60 k
 ocl-icd                            x86_64          2.2.12-1.el8                                rhel-8.0-for-x86_64-appstream-rpms           51 k
 openal-soft                        x86_64          1.18.2-7.el8                                rhel-8.0-for-x86_64-appstream-rpms          394 k
 openjpeg2                          x86_64          2.3.0-8.el8                                 rhel-8.0-for-x86_64-appstream-rpms          153 k
 opus                               x86_64          1.3-0.4.beta.el8                            rhel-8.0-for-x86_64-appstream-rpms          204 k
 pango                              x86_64          1.42.4-1.el8                                rhel-8.0-for-x86_64-appstream-rpms          297 k
 pulseaudio-libs                    x86_64          11.1-22.el8                                 rhel-8.0-for-x86_64-appstream-rpms          676 k
 speex                              x86_64          1.2.0-1.el8                                 rhel-8.0-for-x86_64-appstream-rpms           71 k
 libpciaccess                       x86_64          0.14-1.el8                                  rhel-8.0-for-x86_64-baseos-rpms              32 k
 ffmpeg-libs                        x86_64          4.2.2-1.el8                                 rpmfusion-free-updates                      7.2 M
 libavdevice                        x86_64          4.2.2-1.el8                                 rpmfusion-free-updates                       96 k
 opencore-amr                       x86_64          0.1.5-7.el8                                 rpmfusion-free-updates                      180 k
 vo-amrwbenc                        x86_64          0.1.3-8.el8                                 rpmfusion-free-updates                       77 k
 x264-libs                          x86_64          0.157-12.20190717git34c06d1.el8             rpmfusion-free-updates                      651 k
 x265-libs                          x86_64          3.1.2-1.el8                                 rpmfusion-free-updates                      1.9 M
 xvidcore                           x86_64          1.3.7-1.el8                                 rpmfusion-free-updates                      268 k

Transaction Summary
==================================================================================================================================================
Install  68 Packages

Total download size: 24 M
Installed size: 79 M
Downloading Packages:
(1/68): libass-0.14.0-4.el8.x86_64.rpm                                                                             87 kB/s | 110 kB     00:01
(2/68): jack-audio-connection-kit-1.9.12-8.el8.x86_64.rpm                                                         348 kB/s | 519 kB     00:01
(3/68): libmfx-1.25-4.el8.x86_64.rpm                                                                              638 kB/s |  36 kB     00:00
(4/68): libaom-1.0.0-8.20190810git9666276.el8.x86_64.rpm                                                          886 kB/s | 1.6 MB     00:01
(5/68): libdav1d-0.5.2-1.el8.x86_64.rpm                                                                           503 kB/s | 347 kB     00:00
(6/68): soxr-0.1.3-4.el8.x86_64.rpm                                                                               470 kB/s |  97 kB     00:00
(7/68): libvmaf-1.3.15-1.el8.x86_64.rpm                                                                           558 kB/s | 347 kB     00:00
(8/68): pugixml-1.9-1.el8.x86_64.rpm                                                                              267 kB/s |  97 kB     00:00
(9/68): vid.stab-1.1.0-12.20190213gitaeabc8d.el8.x86_64.rpm                                                       420 kB/s |  47 kB     00:00
(10/68): alsa-lib-1.1.6-3.el8.x86_64.rpm                                                                          8.1 MB/s | 432 kB     00:00
(11/68): zimg-2.9.2-1.el8.x86_64.rpm                                                                              1.5 MB/s | 268 kB     00:00
(12/68): flac-libs-1.3.2-9.el8.x86_64.rpm                                                                          10 MB/s | 217 kB     00:00
(13/68): fribidi-1.0.4-6.el8.x86_64.rpm                                                                            15 MB/s |  89 kB     00:00
(14/68): gsm-1.0.17-5.el8.x86_64.rpm                                                                              8.2 MB/s |  37 kB     00:00
(15/68): graphite2-1.3.10-10.el8.x86_64.rpm                                                                       9.2 MB/s | 122 kB     00:00
(16/68): harfbuzz-1.7.5-3.el8.x86_64.rpm                                                                           20 MB/s | 294 kB     00:00
(17/68): libICE-1.0.9-13.el8.x86_64.rpm                                                                            19 MB/s |  73 kB     00:00
(18/68): libSM-1.2.3-1.el8.x86_64.rpm                                                                              12 MB/s |  48 kB     00:00
(19/68): lame-libs-3.100-6.el8.x86_64.rpm                                                                         9.0 MB/s | 361 kB     00:00
(20/68): libX11-xcb-1.6.7-1.el8.x86_64.rpm                                                                        709 kB/s |  14 kB     00:00
(21/68): libXfixes-5.0.3-7.el8.x86_64.rpm                                                                         7.1 MB/s |  25 kB     00:00
(22/68): libXdamage-1.1.4-14.el8.x86_64.rpm                                                                       6.4 MB/s |  27 kB     00:00
(23/68): libXi-1.7.9-7.el8.x86_64.rpm                                                                              10 MB/s |  49 kB     00:00
(24/68): libXft-2.3.2-10.el8.x86_64.rpm                                                                            12 MB/s |  66 kB     00:00
(25/68): libXxf86vm-1.1.4-9.el8.x86_64.rpm                                                                        7.3 MB/s |  19 kB     00:00
(26/68): libXtst-1.2.3-7.el8.x86_64.rpm                                                                           6.0 MB/s |  22 kB     00:00
(27/68): libasyncns-0.8-14.el8.x86_64.rpm                                                                         3.5 MB/s |  32 kB     00:00
(28/68): libbluray-1.0.2-3.el8.x86_64.rpm                                                                          10 MB/s | 162 kB     00:00
(29/68): libcdio-2.0.0-2.el8.x86_64.rpm                                                                            19 MB/s | 254 kB     00:00
(30/68): libcdio-paranoia-10.2+0.94+2-3.el8.x86_64.rpm                                                            9.9 MB/s |  92 kB     00:00
(31/68): libdatrie-0.2.9-7.el8.x86_64.rpm                                                                         5.5 MB/s |  33 kB     00:00
(32/68): libdrm-2.4.96-2.el8.x86_64.rpm                                                                            18 MB/s | 164 kB     00:00
(33/68): libglvnd-1.0.1-0.9.git5baa1e5.el8.x86_64.rpm                                                              14 MB/s |  96 kB     00:00
(34/68): libglvnd-glx-1.0.1-0.9.git5baa1e5.el8.x86_64.rpm                                                          14 MB/s | 131 kB     00:00
(35/68): libjpeg-turbo-1.5.3-7.el8.x86_64.rpm                                                                      12 MB/s | 155 kB     00:00
(36/68): libogg-1.3.2-10.el8.x86_64.rpm                                                                           5.4 MB/s |  31 kB     00:00
(37/68): librsvg2-2.42.7-2.el8.x86_64.rpm                                                                          22 MB/s | 541 kB     00:00
(38/68): libsndfile-1.0.28-8.el8.x86_64.rpm                                                                        22 MB/s | 193 kB     00:00
(39/68): libsamplerate-0.1.9-1.el8.x86_64.rpm                                                                      26 MB/s | 1.0 MB     00:00
(40/68): libthai-0.1.27-2.el8.x86_64.rpm                                                                           15 MB/s | 203 kB     00:00
(41/68): zvbi-0.2.35-9.el8.x86_64.rpm                                                                             1.4 MB/s | 424 kB     00:00
(42/68): libtheora-1.1.1-21.el8.x86_64.rpm                                                                         15 MB/s | 184 kB     00:00
(43/68): libv4l-1.14.2-3.el8.x86_64.rpm                                                                            16 MB/s | 195 kB     00:00
(44/68): libvdpau-1.1.1-7.el8.x86_64.rpm                                                                          5.0 MB/s |  40 kB     00:00
(45/68): libva-2.1.0-1.el8.x86_64.rpm                                                                             6.3 MB/s |  92 kB     00:00
(46/68): libwayland-client-1.15.0-1.el8.x86_64.rpm                                                                 10 MB/s |  39 kB     00:00
(47/68): libvorbis-1.3.6-1.el8.x86_64.rpm                                                                          18 MB/s | 196 kB     00:00
(48/68): libxshmfence-1.3-2.el8.x86_64.rpm                                                                        1.9 MB/s |  13 kB     00:00
(49/68): mesa-filesystem-18.3.1-2.el8.x86_64.rpm                                                                  5.5 MB/s |  31 kB     00:00
(50/68): mesa-libglapi-18.3.1-2.el8.x86_64.rpm                                                                    6.7 MB/s |  60 kB     00:00
(51/68): libvpx-1.7.0-6.el8.x86_64.rpm                                                                             26 MB/s | 852 kB     00:00
(52/68): mesa-libGL-18.3.1-2.el8.x86_64.rpm                                                                       9.7 MB/s | 215 kB     00:00
(53/68): ocl-icd-2.2.12-1.el8.x86_64.rpm                                                                          3.4 MB/s |  51 kB     00:00
(54/68): openjpeg2-2.3.0-8.el8.x86_64.rpm                                                                          23 MB/s | 153 kB     00:00
(55/68): openal-soft-1.18.2-7.el8.x86_64.rpm                                                                       24 MB/s | 394 kB     00:00
(56/68): opus-1.3-0.4.beta.el8.x86_64.rpm                                                                          12 MB/s | 204 kB     00:00
(57/68): pango-1.42.4-1.el8.x86_64.rpm                                                                             19 MB/s | 297 kB     00:00
(58/68): libpciaccess-0.14-1.el8.x86_64.rpm                                                                       5.4 MB/s |  32 kB     00:00
(59/68): speex-1.2.0-1.el8.x86_64.rpm                                                                             6.3 MB/s |  71 kB     00:00
(60/68): pulseaudio-libs-11.1-22.el8.x86_64.rpm                                                                    26 MB/s | 676 kB     00:00
(61/68): libavdevice-4.2.2-1.el8.x86_64.rpm                                                                       959 kB/s |  96 kB     00:00
(62/68): opencore-amr-0.1.5-7.el8.x86_64.rpm                                                                      2.1 MB/s | 180 kB     00:00
(63/68): vo-amrwbenc-0.1.3-8.el8.x86_64.rpm                                                                       1.7 MB/s |  77 kB     00:00
(64/68): x264-libs-0.157-12.20190717git34c06d1.el8.x86_64.rpm                                                     2.1 MB/s | 651 kB     00:00
(65/68): ffmpeg-4.2.2-1.el8.x86_64.rpm                                                                            2.3 MB/s | 1.4 MB     00:00
(66/68): xvidcore-1.3.7-1.el8.x86_64.rpm                                                                          2.2 MB/s | 268 kB     00:00
(67/68): x265-libs-3.1.2-1.el8.x86_64.rpm                                                                         2.9 MB/s | 1.9 MB     00:00
(68/68): ffmpeg-libs-4.2.2-1.el8.x86_64.rpm                                                                       4.0 MB/s | 7.2 MB     00:01
--------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                             4.7 MB/s |  24 MB     00:05
warning: /var/cache/dnf/epel-fafd94c310c51e1e/packages/jack-audio-connection-kit-1.9.12-8.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
Extra Packages for Enterprise Linux 8 - x86_64                                                                    1.6 MB/s | 1.6 kB     00:00
Importing GPG key 0x2F86D6A1:
 Userid     : "Fedora EPEL (8) "
 Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Key imported successfully
warning: /var/cache/dnf/rpmfusion-free-updates-4f04908c20c55925/packages/ffmpeg-4.2.2-1.el8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 158b3811: NOKEY
RPM Fusion for EL 8 - Free - Updates                                                                              1.6 MB/s | 1.7 kB     00:00
Importing GPG key 0x158B3811:
 Userid     : "RPM Fusion free repository for EL (8) "
 Fingerprint: 8379 35CD 19E1 23AA 7F8A 8E69 979F 0C69 158B 3811
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-8
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                          1/1
  Installing       : libogg-2:1.3.2-10.el8.x86_64                                                                                            1/68
  Installing       : libXfixes-5.0.3-7.el8.x86_64                                                                                            2/68
  Installing       : fribidi-1.0.4-6.el8.x86_64                                                                                              3/68
  Installing       : alsa-lib-1.1.6-3.el8.x86_64                                                                                             4/68
  Running scriptlet: alsa-lib-1.1.6-3.el8.x86_64                                                                                             4/68
  Installing       : libvorbis-1:1.3.6-1.el8.x86_64                                                                                          5/68
  Installing       : opus-1.3-0.4.beta.el8.x86_64                                                                                            6/68
  Installing       : ocl-icd-2.2.12-1.el8.x86_64                                                                                             7/68
  Running scriptlet: ocl-icd-2.2.12-1.el8.x86_64                                                                                             7/68
  Installing       : libX11-xcb-1.6.7-1.el8.x86_64                                                                                           8/68
  Installing       : libICE-1.0.9-13.el8.x86_64                                                                                              9/68
  Installing       : gsm-1.0.17-5.el8.x86_64                                                                                                10/68
  Installing       : libSM-1.2.3-1.el8.x86_64                                                                                               11/68
  Installing       : x264-libs-0.157-12.20190717git34c06d1.el8.x86_64                                                                       12/68
  Running scriptlet: x264-libs-0.157-12.20190717git34c06d1.el8.x86_64                                                                       12/68
  Installing       : libXdamage-1.1.4-14.el8.x86_64                                                                                         13/68
  Installing       : flac-libs-1.3.2-9.el8.x86_64                                                                                           14/68
  Installing       : libsndfile-1.0.28-8.el8.x86_64                                                                                         15/68
  Running scriptlet: libsndfile-1.0.28-8.el8.x86_64                                                                                         15/68
  Installing       : libsamplerate-0.1.9-1.el8.x86_64                                                                                       16/68
  Running scriptlet: libsamplerate-0.1.9-1.el8.x86_64                                                                                       16/68
  Running scriptlet: jack-audio-connection-kit-1.9.12-8.el8.x86_64                                                                          17/68
  Installing       : jack-audio-connection-kit-1.9.12-8.el8.x86_64                                                                          17/68
  Installing       : libtheora-1:1.1.1-21.el8.x86_64                                                                                        18/68
  Installing       : xvidcore-1.3.7-1.el8.x86_64                                                                                            19/68
  Installing       : x265-libs-3.1.2-1.el8.x86_64                                                                                           20/68
  Installing       : vo-amrwbenc-0.1.3-8.el8.x86_64                                                                                         21/68
  Installing       : opencore-amr-0.1.5-7.el8.x86_64                                                                                        22/68
  Installing       : libpciaccess-0.14-1.el8.x86_64                                                                                         23/68
  Installing       : libdrm-2.4.96-2.el8.x86_64                                                                                             24/68
  Installing       : speex-1.2.0-1.el8.x86_64                                                                                               25/68
  Installing       : openjpeg2-2.3.0-8.el8.x86_64                                                                                           26/68
  Installing       : openal-soft-1.18.2-7.el8.x86_64                                                                                        27/68
  Installing       : mesa-libglapi-18.3.1-2.el8.x86_64                                                                                      28/68
  Running scriptlet: mesa-libglapi-18.3.1-2.el8.x86_64                                                                                      28/68
  Installing       : mesa-filesystem-18.3.1-2.el8.x86_64                                                                                    29/68
  Installing       : libxshmfence-1.3-2.el8.x86_64                                                                                          30/68
  Installing       : libwayland-client-1.15.0-1.el8.x86_64                                                                                  31/68
  Installing       : libvpx-1.7.0-6.el8.x86_64                                                                                              32/68
  Installing       : libvdpau-1.1.1-7.el8.x86_64                                                                                            33/68
  Running scriptlet: libvdpau-1.1.1-7.el8.x86_64                                                                                            33/68
  Installing       : libjpeg-turbo-1.5.3-7.el8.x86_64                                                                                       34/68
  Installing       : libv4l-1.14.2-3.el8.x86_64                                                                                             35/68
  Running scriptlet: libv4l-1.14.2-3.el8.x86_64                                                                                             35/68
  Installing       : libglvnd-1:1.0.1-0.9.git5baa1e5.el8.x86_64                                                                             36/68
  Installing       : libdatrie-0.2.9-7.el8.x86_64                                                                                           37/68
  Running scriptlet: libdatrie-0.2.9-7.el8.x86_64                                                                                           37/68
  Installing       : libthai-0.1.27-2.el8.x86_64                                                                                            38/68
  Running scriptlet: libthai-0.1.27-2.el8.x86_64                                                                                            38/68
  Installing       : libcdio-2.0.0-2.el8.x86_64                                                                                             39/68
  Running scriptlet: libcdio-2.0.0-2.el8.x86_64                                                                                             39/68
  Installing       : libcdio-paranoia-10.2+0.94+2-3.el8.x86_64                                                                              40/68
  Running scriptlet: libcdio-paranoia-10.2+0.94+2-3.el8.x86_64                                                                              40/68
  Installing       : libbluray-1.0.2-3.el8.x86_64                                                                                           41/68
  Running scriptlet: libbluray-1.0.2-3.el8.x86_64                                                                                           41/68
  Installing       : libasyncns-0.8-14.el8.x86_64                                                                                           42/68
  Running scriptlet: libasyncns-0.8-14.el8.x86_64                                                                                           42/68
  Installing       : libXxf86vm-1.1.4-9.el8.x86_64                                                                                          43/68
  Installing       : libglvnd-glx-1:1.0.1-0.9.git5baa1e5.el8.x86_64                                                                         44/68
  Installing       : mesa-libGL-18.3.1-2.el8.x86_64                                                                                         45/68
  Installing       : libva-2.1.0-1.el8.x86_64                                                                                               46/68
  Installing       : libmfx-1.25-4.el8.x86_64                                                                                               47/68
  Installing       : libXi-1.7.9-7.el8.x86_64                                                                                               48/68
  Installing       : libXtst-1.2.3-7.el8.x86_64                                                                                             49/68
  Installing       : pulseaudio-libs-11.1-22.el8.x86_64                                                                                     50/68
  Running scriptlet: pulseaudio-libs-11.1-22.el8.x86_64                                                                                     50/68
  Installing       : libXft-2.3.2-10.el8.x86_64                                                                                             51/68
  Installing       : lame-libs-3.100-6.el8.x86_64                                                                                           52/68
  Installing       : graphite2-1.3.10-10.el8.x86_64                                                                                         53/68
  Installing       : harfbuzz-1.7.5-3.el8.x86_64                                                                                            54/68
  Running scriptlet: harfbuzz-1.7.5-3.el8.x86_64                                                                                            54/68
  Installing       : libass-0.14.0-4.el8.x86_64                                                                                             55/68
  Installing       : pango-1.42.4-1.el8.x86_64                                                                                              56/68
  Running scriptlet: pango-1.42.4-1.el8.x86_64                                                                                              56/68
  Installing       : librsvg2-2.42.7-2.el8.x86_64                                                                                           57/68
  Installing       : zvbi-0.2.35-9.el8.x86_64                                                                                               58/68
  Running scriptlet: zvbi-0.2.35-9.el8.x86_64                                                                                               58/68
  Installing       : zimg-2.9.2-1.el8.x86_64                                                                                                59/68
  Installing       : vid.stab-1.1.0-12.20190213gitaeabc8d.el8.x86_64                                                                        60/68
  Installing       : soxr-0.1.3-4.el8.x86_64                                                                                                61/68
  Installing       : pugixml-1.9-1.el8.x86_64                                                                                               62/68
  Running scriptlet: pugixml-1.9-1.el8.x86_64                                                                                               62/68
  Installing       : libvmaf-1.3.15-1.el8.x86_64                                                                                            63/68
  Installing       : libdav1d-0.5.2-1.el8.x86_64                                                                                            64/68
  Installing       : libaom-1.0.0-8.20190810git9666276.el8.x86_64                                                                           65/68
  Installing       : ffmpeg-libs-4.2.2-1.el8.x86_64                                                                                         66/68
  Installing       : libavdevice-4.2.2-1.el8.x86_64                                                                                         67/68
  Installing       : ffmpeg-4.2.2-1.el8.x86_64                                                                                              68/68
  Running scriptlet: ffmpeg-4.2.2-1.el8.x86_64                                                                                              68/68
  Verifying        : jack-audio-connection-kit-1.9.12-8.el8.x86_64                                                                           1/68
  Verifying        : libaom-1.0.0-8.20190810git9666276.el8.x86_64                                                                            2/68
  Verifying        : libass-0.14.0-4.el8.x86_64                                                                                              3/68
  Verifying        : libdav1d-0.5.2-1.el8.x86_64                                                                                             4/68
  Verifying        : libmfx-1.25-4.el8.x86_64                                                                                                5/68
  Verifying        : libvmaf-1.3.15-1.el8.x86_64                                                                                             6/68
  Verifying        : pugixml-1.9-1.el8.x86_64                                                                                                7/68
  Verifying        : soxr-0.1.3-4.el8.x86_64                                                                                                 8/68
  Verifying        : vid.stab-1.1.0-12.20190213gitaeabc8d.el8.x86_64                                                                         9/68
  Verifying        : zimg-2.9.2-1.el8.x86_64                                                                                                10/68
  Verifying        : zvbi-0.2.35-9.el8.x86_64                                                                                               11/68
  Verifying        : alsa-lib-1.1.6-3.el8.x86_64                                                                                            12/68
  Verifying        : flac-libs-1.3.2-9.el8.x86_64                                                                                           13/68
  Verifying        : fribidi-1.0.4-6.el8.x86_64                                                                                             14/68
  Verifying        : graphite2-1.3.10-10.el8.x86_64                                                                                         15/68
  Verifying        : gsm-1.0.17-5.el8.x86_64                                                                                                16/68
  Verifying        : harfbuzz-1.7.5-3.el8.x86_64                                                                                            17/68
  Verifying        : lame-libs-3.100-6.el8.x86_64                                                                                           18/68
  Verifying        : libICE-1.0.9-13.el8.x86_64                                                                                             19/68
  Verifying        : libSM-1.2.3-1.el8.x86_64                                                                                               20/68
  Verifying        : libX11-xcb-1.6.7-1.el8.x86_64                                                                                          21/68
  Verifying        : libXdamage-1.1.4-14.el8.x86_64                                                                                         22/68
  Verifying        : libXfixes-5.0.3-7.el8.x86_64                                                                                           23/68
  Verifying        : libXft-2.3.2-10.el8.x86_64                                                                                             24/68
  Verifying        : libXi-1.7.9-7.el8.x86_64                                                                                               25/68
  Verifying        : libXtst-1.2.3-7.el8.x86_64                                                                                             26/68
  Verifying        : libXxf86vm-1.1.4-9.el8.x86_64                                                                                          27/68
  Verifying        : libasyncns-0.8-14.el8.x86_64                                                                                           28/68
  Verifying        : libbluray-1.0.2-3.el8.x86_64                                                                                           29/68
  Verifying        : libcdio-2.0.0-2.el8.x86_64                                                                                             30/68
  Verifying        : libcdio-paranoia-10.2+0.94+2-3.el8.x86_64                                                                              31/68
  Verifying        : libdatrie-0.2.9-7.el8.x86_64                                                                                           32/68
  Verifying        : libdrm-2.4.96-2.el8.x86_64                                                                                             33/68
  Verifying        : libglvnd-1:1.0.1-0.9.git5baa1e5.el8.x86_64                                                                             34/68
  Verifying        : libglvnd-glx-1:1.0.1-0.9.git5baa1e5.el8.x86_64                                                                         35/68
  Verifying        : libjpeg-turbo-1.5.3-7.el8.x86_64                                                                                       36/68
  Verifying        : libogg-2:1.3.2-10.el8.x86_64                                                                                           37/68
  Verifying        : librsvg2-2.42.7-2.el8.x86_64                                                                                           38/68
  Verifying        : libsamplerate-0.1.9-1.el8.x86_64                                                                                       39/68
  Verifying        : libsndfile-1.0.28-8.el8.x86_64                                                                                         40/68
  Verifying        : libthai-0.1.27-2.el8.x86_64                                                                                            41/68
  Verifying        : libtheora-1:1.1.1-21.el8.x86_64                                                                                        42/68
  Verifying        : libv4l-1.14.2-3.el8.x86_64                                                                                             43/68
  Verifying        : libva-2.1.0-1.el8.x86_64                                                                                               44/68
  Verifying        : libvdpau-1.1.1-7.el8.x86_64                                                                                            45/68
  Verifying        : libvorbis-1:1.3.6-1.el8.x86_64                                                                                         46/68
  Verifying        : libvpx-1.7.0-6.el8.x86_64                                                                                              47/68
  Verifying        : libwayland-client-1.15.0-1.el8.x86_64                                                                                  48/68
  Verifying        : libxshmfence-1.3-2.el8.x86_64                                                                                          49/68
  Verifying        : mesa-filesystem-18.3.1-2.el8.x86_64                                                                                    50/68
  Verifying        : mesa-libGL-18.3.1-2.el8.x86_64                                                                                         51/68
  Verifying        : mesa-libglapi-18.3.1-2.el8.x86_64                                                                                      52/68
  Verifying        : ocl-icd-2.2.12-1.el8.x86_64                                                                                            53/68
  Verifying        : openal-soft-1.18.2-7.el8.x86_64                                                                                        54/68
  Verifying        : openjpeg2-2.3.0-8.el8.x86_64                                                                                           55/68
  Verifying        : opus-1.3-0.4.beta.el8.x86_64                                                                                           56/68
  Verifying        : pango-1.42.4-1.el8.x86_64                                                                                              57/68
  Verifying        : pulseaudio-libs-11.1-22.el8.x86_64                                                                                     58/68
  Verifying        : speex-1.2.0-1.el8.x86_64                                                                                               59/68
  Verifying        : libpciaccess-0.14-1.el8.x86_64                                                                                         60/68
  Verifying        : ffmpeg-4.2.2-1.el8.x86_64                                                                                              61/68
  Verifying        : ffmpeg-libs-4.2.2-1.el8.x86_64                                                                                         62/68
  Verifying        : libavdevice-4.2.2-1.el8.x86_64                                                                                         63/68
  Verifying        : opencore-amr-0.1.5-7.el8.x86_64                                                                                        64/68
  Verifying        : vo-amrwbenc-0.1.3-8.el8.x86_64                                                                                         65/68
  Verifying        : x264-libs-0.157-12.20190717git34c06d1.el8.x86_64                                                                       66/68
  Verifying        : x265-libs-3.1.2-1.el8.x86_64                                                                                           67/68
  Verifying        : xvidcore-1.3.7-1.el8.x86_64                                                                                            68/68

Installed:
  ffmpeg-4.2.2-1.el8.x86_64                       jack-audio-connection-kit-1.9.12-8.el8.x86_64 libaom-1.0.0-8.20190810git9666276.el8.x86_64
  libass-0.14.0-4.el8.x86_64                      libdav1d-0.5.2-1.el8.x86_64                   libmfx-1.25-4.el8.x86_64
  libvmaf-1.3.15-1.el8.x86_64                     pugixml-1.9-1.el8.x86_64                      soxr-0.1.3-4.el8.x86_64
  vid.stab-1.1.0-12.20190213gitaeabc8d.el8.x86_64 zimg-2.9.2-1.el8.x86_64                       zvbi-0.2.35-9.el8.x86_64
  alsa-lib-1.1.6-3.el8.x86_64                     flac-libs-1.3.2-9.el8.x86_64                  fribidi-1.0.4-6.el8.x86_64
  graphite2-1.3.10-10.el8.x86_64                  gsm-1.0.17-5.el8.x86_64                       harfbuzz-1.7.5-3.el8.x86_64
  lame-libs-3.100-6.el8.x86_64                    libICE-1.0.9-13.el8.x86_64                    libSM-1.2.3-1.el8.x86_64
  libX11-xcb-1.6.7-1.el8.x86_64                   libXdamage-1.1.4-14.el8.x86_64                libXfixes-5.0.3-7.el8.x86_64
  libXft-2.3.2-10.el8.x86_64                      libXi-1.7.9-7.el8.x86_64                      libXtst-1.2.3-7.el8.x86_64
  libXxf86vm-1.1.4-9.el8.x86_64                   libasyncns-0.8-14.el8.x86_64                  libbluray-1.0.2-3.el8.x86_64
  libcdio-2.0.0-2.el8.x86_64                      libcdio-paranoia-10.2+0.94+2-3.el8.x86_64     libdatrie-0.2.9-7.el8.x86_64
  libdrm-2.4.96-2.el8.x86_64                      libglvnd-1:1.0.1-0.9.git5baa1e5.el8.x86_64    libglvnd-glx-1:1.0.1-0.9.git5baa1e5.el8.x86_64
  libjpeg-turbo-1.5.3-7.el8.x86_64                libogg-2:1.3.2-10.el8.x86_64                  librsvg2-2.42.7-2.el8.x86_64
  libsamplerate-0.1.9-1.el8.x86_64                libsndfile-1.0.28-8.el8.x86_64                libthai-0.1.27-2.el8.x86_64
  libtheora-1:1.1.1-21.el8.x86_64                 libv4l-1.14.2-3.el8.x86_64                    libva-2.1.0-1.el8.x86_64
  libvdpau-1.1.1-7.el8.x86_64                     libvorbis-1:1.3.6-1.el8.x86_64                libvpx-1.7.0-6.el8.x86_64
  libwayland-client-1.15.0-1.el8.x86_64           libxshmfence-1.3-2.el8.x86_64                 mesa-filesystem-18.3.1-2.el8.x86_64
  mesa-libGL-18.3.1-2.el8.x86_64                  mesa-libglapi-18.3.1-2.el8.x86_64             ocl-icd-2.2.12-1.el8.x86_64
  openal-soft-1.18.2-7.el8.x86_64                 openjpeg2-2.3.0-8.el8.x86_64                  opus-1.3-0.4.beta.el8.x86_64
  pango-1.42.4-1.el8.x86_64                       pulseaudio-libs-11.1-22.el8.x86_64            speex-1.2.0-1.el8.x86_64
  libpciaccess-0.14-1.el8.x86_64                  ffmpeg-libs-4.2.2-1.el8.x86_64                libavdevice-4.2.2-1.el8.x86_64
  opencore-amr-0.1.5-7.el8.x86_64                 vo-amrwbenc-0.1.3-8.el8.x86_64                x264-libs-0.157-12.20190717git34c06d1.el8.x86_64
  x265-libs-3.1.2-1.el8.x86_64                    xvidcore-1.3.7-1.el8.x86_64

Complete!
Last metadata expiration check: 0:00:20 ago on Sun 12 Apr 2020 12:20:58 PM CST.
Dependencies resolved.
==================================================================================================================================================
 Package                           Arch                        Version                          Repository                                   Size
==================================================================================================================================================
Installing:
 ffmpeg-devel                      x86_64                      4.2.2-1.el8                      rpmfusion-free-updates                      908 k

Transaction Summary
==================================================================================================================================================
Install  1 Package

Total download size: 908 k
Installed size: 8.1 M
Downloading Packages:
ffmpeg-devel-4.2.2-1.el8.x86_64.rpm                                                                               607 kB/s | 908 kB     00:01
--------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                             296 kB/s | 908 kB     00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                          1/1
  Installing       : ffmpeg-devel-4.2.2-1.el8.x86_64                                                                                          1/1
  Running scriptlet: ffmpeg-devel-4.2.2-1.el8.x86_64                                                                                          1/1
  Verifying        : ffmpeg-devel-4.2.2-1.el8.x86_64                                                                                          1/1

Installed:
  ffmpeg-devel-4.2.2-1.el8.x86_64

Complete!
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting you-get
  Downloading https://files.pythonhosted.org/packages/24/bf/22a3c582dfd4969bace5eb287acfb9264e4999602312b3cf879ea0beff48/you_get-0.4.1432-py3-none-any.whl (215kB)
    100% |████████████████████████████████| 225kB 1.5MB/s
Installing collected packages: you-get
Successfully installed you-get-0.4.1432

Usage : you-get URL

For exxample : you-get https://www.bilibili.com/video/BV1mK4y1r7jp?p=2
you-get https://www.youtube.com/watch?v=38Jt0leXvtc


下載影片測試看看:


[root@serverc ~]# you-get https://www.youtube.com/watch?v=38lcQsEMGrk
site:                YouTube
title:               Mayday五月天 [ 我不願讓你一個人I Won't Let You Be Lonely ] Official Music Video - 末日版
stream:
    - itag:          137
      container:     mp4
      quality:       1920x1080 (1080p)
      size:          71.6 MiB (75043355 bytes)
    # download-with: you-get --itag=137 [URL]

Downloading Mayday五月天 [ 我不願讓你一個人I Won_t Let You Be Lonely ] Official Music Video - 末日版.mp4 ...
 100% ( 71.6/ 71.6MB) ├██████████████████████████████████████████████████████████████████████████████████████████████████████████┤[2/2]    6 MB/s
Merging video parts... Merged into Mayday五月天 [ 我不願讓你一個人I Won_t Let You Be Lonely ] Official Music Video - 末日版.mp4

Saving Mayday五月天 [ 我不願讓你一個人I Won't Let You Be Lonely ] Official Music Video - 末日版.ja.srt ... Done.
Saving Mayday五月天 [ 我不願讓你一個人I Won't Let You Be Lonely ] Official Music Video - 末日版.en.srt ... Done.
Saving Mayday五月天 [ 我不願讓你一個人I Won't Let You Be Lonely ] Official Music Video - 末日版.th.srt ... Done.
Saving Mayday五月天 [ 我不願讓你一個人I Won't Let You Be Lonely ] Official Music Video - 末日版.ko.srt ... Done.
[root@serverc ~]# ls -l
total 73392
-rw-------. 1 root root     6947 Apr  4  2019  anaconda-ks.cfg
-rw-r--r--. 1 root root     3195 Apr 12 12:24 'Mayday五月天 [ 我不願讓你一個人I Won'\''t Let You Be Lonely ] Official Music Video - 末日版.en.srt'
-rw-r--r--. 1 root root     3152 Apr 12 12:24 'Mayday五月天 [ 我不願讓你一個人I Won'\''t Let You Be Lonely ] Official Music Video - 末日版.ja.srt'
-rw-r--r--. 1 root root     2883 Apr 12 12:24 'Mayday五月天 [ 我不願讓你一個人I Won'\''t Let You Be Lonely ] Official Music Video - 末日版.ko.srt'
-rw-r--r--. 1 root root 75108807 Apr 12 12:24 'Mayday五月天 [ 我不願讓你一個人I Won_t Let You Be Lonely ] Official Music Video - 末日版.mp4'
-rw-r--r--. 1 root root     5178 Apr 12 12:24 'Mayday五月天 [ 我不願讓你一個人I Won'\''t Let You Be Lonely ] Official Music Video - 末日版.th.srt'
-rw-------. 1 root root     6750 Apr  4  2019  original-ks.cfg
-rwxr-xr-x. 1 root root      780 Apr 12 12:19  you-get.sh

 

在 Windows 10 測試

image

 

嗯,應該真的是大功告成了吧!

本篇發表於 Bookmark, CentOS 8, 生活, 電影, RHEL 8。將永久鏈結加入書籤。

發表留言