Download from c-span.org

Started by rmstock, August 08, 2022, 07:06:06 AM

Previous topic - Next topic

rmstock

Download from c-span.org



1. Download

$ mkdir  03-AUG-2022/
$ cd 03-AUG-2022/
ubuntu@ubuntu:~/03-AUG-2022$
ubuntu@ubuntu:~/03-AUG-2022$  youtube-dl -F https://www.c-span.org/video/?522133-1/hearing-virus-research-funding
[CSpan] 522133: Downloading webpage
[CSpan] 522133: Downloading m3u8 information
WARNING: unable to extract duration; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[info] Available formats for 522133:
format code  extension  resolution note
hls-125      mp4        416x234     125k , avc1.42001e, 24.0fps, mp4a.40.2
hls-240      mp4        640x360     240k , avc1.42001f, 24.0fps, mp4a.40.5
hls-509      mp4        832x468     509k , avc1.4d401f, 29.97fps, mp4a.40.2
hls-679      mp4        1024x576    679k , avc1.4d401f, 29.97fps, mp4a.40.2 (best)
ubuntu@ubuntu:~/03-AUG-2022$ 

When this happens do a raw download using --fixup never :

ubuntu@ubuntu:~/03-AUG-2022$ youtube-dl --fixup never -f hls-679 https://www.c-span.org/video/?522133-1/hearing-virus-research-funding
[CSpan] 522133: Downloading webpage
[CSpan] 522133: Downloading m3u8 information
WARNING: unable to extract duration; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 694
[download] Destination: Hearing on Virus Research Funding-522133.mp4
[download] 100% of 506.79MiB in 01:22
ubuntu@ubuntu:~/03-AUG-2022$ ll
total 518960
drwxrwxr-x 2 ubuntu ubuntu      4096 Aug  8 11:06  ./
drwxrwxr-x 3 ubuntu ubuntu      4096 Aug  8 11:05  ../
-rw-r--r-- 1 ubuntu ubuntu 531402680 Aug  3 22:15 'Hearing on Virus Research Funding-522133.mp4'
ubuntu@ubuntu:~/03-AUG-2022$

2. Extract the audio part , which here has 96 kb/s :

ubuntu@ubuntu:~/03-AUG-2022$ ffmpeg -i Hearing\ on\ Virus\ Research\ Funding-522133.mp4 -map 0:a -c:a copy Hearing\ on\ Virus\ Research\ Funding-522133.m4a
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  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
Input #0, mpegts, from 'Hearing on Virus Research Funding-522133.mp4':
  Duration: 01:44:12.25, start: 45075.511633, bitrate: 679 kb/s
  Program 1
    Stream #0:0[0x1e1]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1024x576 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1e2](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 96 kb/s
Output #0, ipod, to 'Hearing on Virus Research Funding-522133.m4a':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=   72867kB time=01:44:12.20 bitrate=  95.5kbits/s speed=2.98e+03x
video:0kB audio:73268kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
ubuntu@ubuntu:~/03-AUG-2022$ ll
total 591828
drwxrwxr-x 2 ubuntu ubuntu      4096 Aug  8 11:07  ./
drwxrwxr-x 3 ubuntu ubuntu      4096 Aug  8 11:05  ../
-rw-rw-r-- 1 ubuntu ubuntu  74616260 Aug  8 11:07 'Hearing on Virus Research Funding-522133.m4a'
-rw-r--r-- 1 ubuntu ubuntu 531402680 Aug  3 22:15 'Hearing on Virus Research Funding-522133.mp4'
ubuntu@ubuntu:~/03-AUG-2022$

3. Extract the video part, which here has 583 kb/s (679-96) at 29.97 fps :

ubuntu@ubuntu:~/03-AUG-2022$ ffmpeg -i Hearing\ on\ Virus\ Research\ Funding-522133.mp4 -map 0:v -c:v copy Hearing\ on\ Virus\ Research\ Funding-522133-2.mp4
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  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
Input #0, mpegts, from 'Hearing on Virus Research Funding-522133.mp4':
  Duration: 01:44:12.25, start: 45075.511633, bitrate: 679 kb/s
  Program 1
    Stream #0:0[0x1e1]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1024x576 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1e2](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 96 kb/s
Output #0, mp4, to 'Hearing on Virus Research Funding-522133-2.mp4':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=28874 fps=0.0 q=-1.0 size=   55552kB time=00:16:03.32 bitrate= 472.4kbits/frame=55485 fps=55483 q=-1.0 size=  119808kB time=00:30:51.24 bitrate= 530.2kbitframe=84512 fps=56331 q=-1.0 size=  176128kB time=00:46:59.78 bitrate= 511.7kbitframe=112442 fps=56213 q=-1.0 size=  236288kB time=01:02:31.71 bitrate= 515.9kbiframe=141261 fps=56498 q=-1.0 size=  285952kB time=01:18:33.30 bitrate= 497.0kbiframe=166031 fps=55337 q=-1.0 size=  355840kB time=01:32:19.80 bitrate= 526.2kbiframe=187380 fps=54770 q=-1.0 Lsize=  407749kB time=01:44:12.14 bitrate= 534.3kbits/s speed=1.83e+03x   
video:405548kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.542591%
ubuntu@ubuntu:~/03-AUG-2022$ ll
total 999580
drwxrwxr-x 2 ubuntu ubuntu      4096 Aug  8 11:10  ./
drwxrwxr-x 3 ubuntu ubuntu      4096 Aug  8 11:05  ../
-rw-rw-r-- 1 ubuntu ubuntu 417534728 Aug  8 11:10 'Hearing on Virus Research Funding-522133-2.mp4'
-rw-rw-r-- 1 ubuntu ubuntu  74616260 Aug  8 11:07 'Hearing on Virus Research Funding-522133.m4a'
-rw-r--r-- 1 ubuntu ubuntu 531402680 Aug  3 22:15 'Hearing on Virus Research Funding-522133.mp4'
ubuntu@ubuntu:~/03-AUG-2022$

4. Reencode the audio part, as it has no time stamps, and results
   in a 130.3 kbits/s audio file at 44.1 kHz :

ubuntu@ubuntu:~/03-AUG-2022$ ffmpeg -i Hearing\ on\ Virus\ Research\ Funding-522133.m4a -acodec aac Hearing\ on\ Virus\ Research\ Funding-522133-2.m4a
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Hearing on Virus Research Funding-522133.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 512
    compatible_brands: isomiso2
    encoder         : Lavf58.29.100
  Duration: 01:44:12.23, start: 0.000000, bitrate: 95 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 93 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, ipod, to 'Hearing on Virus Research Funding-522133-2.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 512
    compatible_brands: isomiso2
    encoder         : Lavf58.29.100
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc58.54.100 aac
size=   99437kB time=01:44:12.22 bitrate= 130.3kbits/s speed=46.2x   
video:0kB audio:97997kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.469756%
[aac @ 0x559222db14c0] Qavg: 228.732
ubuntu@ubuntu:~/03-AUG-2022$ ll
total 1099020
drwxrwxr-x 2 ubuntu ubuntu      4096 Aug  8 11:12  ./
drwxrwxr-x 3 ubuntu ubuntu      4096 Aug  8 11:05  ../
-rw-rw-r-- 1 ubuntu ubuntu 101823698 Aug  8 11:14 'Hearing on Virus Research Funding-522133-2.m4a'
-rw-rw-r-- 1 ubuntu ubuntu 417534728 Aug  8 11:10 'Hearing on Virus Research Funding-522133-2.mp4'
-rw-rw-r-- 1 ubuntu ubuntu  74616260 Aug  8 11:07 'Hearing on Virus Research Funding-522133.m4a'
-rw-r--r-- 1 ubuntu ubuntu 531402680 Aug  3 22:15 'Hearing on Virus Research Funding-522133.mp4'
ubuntu@ubuntu:~/03-AUG-2022$

5. Merge the 128 kb/s audio file at 44.1 kHz and extracted 531 kb/s video
   file at 29.97 fps back together:

ubuntu@ubuntu:~/03-AUG-2022$ ffmpeg -i Hearing\ on\ Virus\ Research\ Funding-522133-2.mp4 -i Hearing\ on\ Virus\ Research\ Funding-522133-2.m4a -c copy hearing.mp4
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Hearing on Virus Research Funding-522133-2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
  Duration: 01:44:12.25, start: 0.000000, bitrate: 534 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1024x576 [SAR 1:1 DAR 16:9], 531 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'Hearing on Virus Research Funding-522133-2.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 512
    compatible_brands: isomiso2
    encoder         : Lavf58.29.100
  Duration: 01:44:12.25, start: 0.000000, bitrate: 130 kb/s
    Stream #1:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Output #0, mp4, to 'hearing.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 531 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=26073 fps=0.0 q=-1.0 size=   59392kB time=00:14:29.88 bitrate= 559.3kbits/frame=50919 fps=50911 q=-1.0 size=  137216kB time=00:28:18.91 bitrate= 661.6kbitframe=78746 fps=52492 q=-1.0 size=  206336kB time=00:43:47.39 bitrate= 643.3kbitframe=104225 fps=52108 q=-1.0 size=  277248kB time=00:57:57.54 bitrate= 653.1kbiframe=127302 fps=50918 q=-1.0 size=  328448kB time=01:10:47.55 bitrate= 633.5kbiframe=153037 fps=51010 q=-1.0 size=  411392kB time=01:25:06.25 bitrate= 660.0kbiframe=175753 fps=50213 q=-1.0 size=  472320kB time=01:37:44.19 bitrate= 659.8kbiframe=187380 fps=48753 q=-1.0 Lsize=  510561kB time=01:44:12.20 bitrate= 669.0kbits/s speed=1.63e+03x
video:405548kB audio:97997kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.393348%
ubuntu@ubuntu:~/03-AUG-2022$ ll
total 1609588
drwxrwxr-x 2 ubuntu ubuntu      4096 Aug  8 11:17  ./
drwxrwxr-x 3 ubuntu ubuntu      4096 Aug  8 11:05  ../
-rw-rw-r-- 1 ubuntu ubuntu 101823698 Aug  8 11:14 'Hearing on Virus Research Funding-522133-2.m4a'
-rw-rw-r-- 1 ubuntu ubuntu 417534728 Aug  8 11:10 'Hearing on Virus Research Funding-522133-2.mp4'
-rw-rw-r-- 1 ubuntu ubuntu  74616260 Aug  8 11:07 'Hearing on Virus Research Funding-522133.m4a'
-rw-r--r-- 1 ubuntu ubuntu 531402680 Aug  3 22:15 'Hearing on Virus Research Funding-522133.mp4'
-rw-rw-r-- 1 ubuntu ubuntu 522814788 Aug  8 11:17  hearing.mp4
ubuntu@ubuntu:~/03-AUG-2022$
ubuntu@ubuntu:~/03-AUG-2022$ file *
Hearing on Virus Research Funding-522133-2.m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio
Hearing on Virus Research Funding-522133-2.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
Hearing on Virus Research Funding-522133.m4a:   ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio
Hearing on Virus Research Funding-522133.mp4:   MPEG transport stream data
hearing.mp4:                                    ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
ubuntu@ubuntu:~/03-AUG-2022$

[acer30:stock]:(~/temp)$ gmplayer hearing.mp4
MPlayer SVN-1.rc4.0.r32713.7-4.6.1 (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/stock/temp/hearing.mp4.
Cache fill:  0.00% (0 bytes)   

libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1024x576  24bpp  29.970 fps  531.4 kbps (64.9 kbyte/s)
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
encoder: Lavf58.29.100
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.4 kbit/9.10% (ratio: 16050->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1024x576 => 1024x576 Planar YV12  [zoom]
A:   6.7 V:   6.7 A-V:  0.000 ct:  0.006   0/  0  6% 14%  0.1% 0 0 63%         
  =====  PAUSE  =====


``I hope that the fair, and, I may say certain prospects of success will not induce us to relax.''
-- Lieutenant General George Washington, commander-in-chief to
   Major General Israel Putnam,
   Head-Quarters, Valley Forge, 5 May, 1778

rmstock

Above example runs on Ubuntu 20.04 :
Download : https://archive.org/details/ubuntu-20.04.1-desktop-amd64.iso

install-ffmpeg4-savoury1.sh :

#
# ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
#  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
#
# Install : sh install-ffmpeg4-savoury1.sh
#
sudo add-apt-repository ppa:savoury1/multimedia
sudo apt update
sudo apt install libmysofa1 libmysofa-dev
sudo apt install nasm
sudo apt install -y ffmpeg


install-youtube-dl.sh :

#
# ii  youtube-dl                                 2021.12.17-1
#       all          A small command-line program to download online videos
# Download : https://crashrecovery.org/youtube-dl/DEB/ubuntu2004/
# Install : sh install-youtube-dl.sh
#
sudo apt -y install python-is-python2
sudo dpkg -i youtube-dl_2021.12.17-1_all.deb
mkdir $HOME/.config/youtube-dl
echo "--hls-prefer-native" > $HOME/.config/youtube-dl/config


You can put ubuntu-20.04.1-desktop-amd64.iso on a bootable USB stick.
See e.g. https://www.tecmint.com/create-bootable-ubuntu-usb-disk/
howto do that and boot from USB to a live ubuntu 20.04 desktop.
Next I use a script which installs the main browsers, like google-chrome, opera
video player gmplayer and other toolsi, like ssh sshd . Download : https://crashrecovery.org/2004.1.zip

``I hope that the fair, and, I may say certain prospects of success will not induce us to relax.''
-- Lieutenant General George Washington, commander-in-chief to
   Major General Israel Putnam,
   Head-Quarters, Valley Forge, 5 May, 1778

rmstock

There's a newer better version of youtube-dl,  a so called fork : yt-dlp
Download https://crashrecovery.org/yt-dlp/DEB/ubuntu2004/

install-yt-dlp.sh

sudo apt install python3-pip
sudo apt install python3-mutagen
sudo python3 -m pip install pycryptodomex
sudo apt install python3-websockets
sudo apt install python3-brotli
sudo python3 -m pip install brotlicffi
sudo apt install python3-certifi
sudo apt install python-is-python3
sudo dpkg -i yt-dlp_2022.08.19-1_all.deb


Here's a screenshot


``I hope that the fair, and, I may say certain prospects of success will not induce us to relax.''
-- Lieutenant General George Washington, commander-in-chief to
   Major General Israel Putnam,
   Head-Quarters, Valley Forge, 5 May, 1778