(py38_learn_test2) python ytb_down.py 'https://youtu.be/UGoYMe7qcBY'
0 ytb_down.py
1 https://youtu.be/UGoYMe7qcBY
['https://youtu.be/UGoYMe7qcBY']
Deprecated Feature: Support for Python version 3.8 has been deprecated. Please update to Python 3.9 or above
[youtube] Extracting URL: https://youtu.be/UGoYMe7qcBY
[youtube] UGoYMe7qcBY: Downloading webpage
[youtube] UGoYMe7qcBY: Downloading ios player API JSON
[youtube] UGoYMe7qcBY: Downloading mweb player API JSON
[youtube] UGoYMe7qcBY: Downloading player dad5a960
[youtube] UGoYMe7qcBY: Downloading m3u8 information
[info] UGoYMe7qcBY: Downloading 1 format(s): 244+251
[download] Destination: 吉村大阪府知事 定例記者会見(令和6年9月4日) [UGoYMe7qcBY].f244.webm
[download] 100% of 130.29MiB in 00:00:03 at 36.16MiB/s
[download] Destination: 吉村大阪府知事 定例記者会見(令和6年9月4日) [UGoYMe7qcBY].f251.webm
[download] 100% of 53.41MiB in 00:00:13 at 4.08MiB/s
[Merger] Merging formats into "吉村大阪府知事 定例記者会見(令和6年9月4日) [UGoYMe7qcBY].webm"
Deleting original file 吉村大阪府知事 定例記者会見(令和6年9月4日) [UGoYMe7qcBY].f251.webm (pass -k to keep)
Deleting original file 吉村大阪府知事 定例記者会見(令和6年9月4日) [UGoYMe7qcBY].f244.webm (pass -k to keep)
(py38_learn_test2) ffmpeg -i '吉村大阪府知事 定例記者会見(令和6年9月4日) [UGoYMe7qcBY].webm' -ss 00:00:00 -t 00:04:00 -async 1 yoshimura.mp4
ffmpeg version 7.0.2 Copyright (c) 2000-2024 the FFmpeg developers
built with clang version 18.1.8
configuration: --prefix=/d/bld/ffmpeg_1726581472730/_h_env/Library --cc=clang.exe --cxx=clang++.exe --nm=llvm-nm --ar=llvm-ar --disable-doc --enable-openssl --enable-demuxer=dash --enable-hardcoded-tables --enable-libfreetype --enable-libharfbuzz --enable-libfontconfig --enable-libopenh264 --enable-libdav1d --ld=lld-link --target-os=win64 --enable-cross-compile --toolchain=msvc --host-cc=clang.exe --extra-libs=ucrt.lib --extra-libs=vcruntime.lib --extra-libs=oldnames.lib --strip=llvm-strip --disable-stripping --host-extralibs= --disable-libopenvino --enable-gpl --enable-libx264 --enable-libx265 --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-pic --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libopus --pkg-config=/d/bld/ffmpeg_1726581472730/_build_env/Library/bin/pkg-config
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
Input #0, matroska,webm, from '吉村大阪府知事 定例記者会見(令和6年9月4日) [UGoYMe7qcBY].webm':
Metadata:
ENCODER : Lavf61.1.100
Duration: 01:00:46.45, start: 0.000000, bitrate: 422 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 854x480, SAR 1:1 DAR 427:240, 29.97 fps, 29.97 tbr, 1k tbn (default)
Metadata:
DURATION : 01:00:46.409000000
Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
DURATION : 01:00:46.448000000
Stream mapping:
Stream #0:0 -> #0:0 (vp9 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (opus (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 000002CB27296FC0] using SAR=1/1
[libx264 @ 000002CB27296FC0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000002CB27296FC0] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 000002CB27296FC0] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'yoshimura.mp4':
Metadata:
encoder : Lavf61.1.100
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 854x480 [SAR 1:1 DAR 427:240], q=2-31, 29.97 fps, 30k tbn (default)
Metadata:
DURATION : 01:00:46.409000000
encoder : Lavc61.3.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
DURATION : 01:00:46.448000000
encoder : Lavc61.3.100 aac
[out#0/mp4 @ 000002CB271E4C00] video:10854KiB audio:3773KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 1.771115%
frame= 7193 fps=900 q=-1.0 Lsize= 14886KiB time=00:03:59.93 bitrate= 508.2kbits/s speed= 30x
[libx264 @ 000002CB27296FC0] frame I:29 Avg QP:17.73 size: 54772
[libx264 @ 000002CB27296FC0] frame P:1859 Avg QP:20.73 size: 3739
[libx264 @ 000002CB27296FC0] frame B:5305 Avg QP:25.89 size: 485
[libx264 @ 000002CB27296FC0] consecutive B-frames: 1.0% 1.5% 1.4% 96.1%
[libx264 @ 000002CB27296FC0] mb I I16..4: 15.2% 36.6% 48.2%
[libx264 @ 000002CB27296FC0] mb P I16..4: 1.2% 1.5% 0.3% P16..4: 26.0% 6.9% 4.3% 0.0% 0.0% skip:59.7%
[libx264 @ 000002CB27296FC0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 13.9% 1.0% 0.3% direct: 0.3% skip:84.4% L0:41.6% L1:54.5% BI: 3.9%
[libx264 @ 000002CB27296FC0] 8x8 transform intra:45.3% inter:67.7%
[libx264 @ 000002CB27296FC0] coded y,uvDC,uvAC intra: 44.4% 41.1% 20.2% inter: 3.5% 3.3% 0.3%
[libx264 @ 000002CB27296FC0] i16 v,h,dc,p: 35% 22% 7% 37%
[libx264 @ 000002CB27296FC0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 20% 26% 3% 3% 4% 4% 4% 4%
[libx264 @ 000002CB27296FC0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 26% 12% 4% 5% 5% 5% 5% 5%
[libx264 @ 000002CB27296FC0] i8c dc,h,v,p: 54% 20% 23% 3%
[libx264 @ 000002CB27296FC0] Weighted P-Frames: Y:11.3% UV:1.0%
[libx264 @ 000002CB27296FC0] ref P L0: 58.3% 21.8% 14.8% 4.5% 0.5%
[libx264 @ 000002CB27296FC0] ref B L0: 89.1% 9.1% 1.9%
[libx264 @ 000002CB27296FC0] ref B L1: 96.2% 3.8%
[libx264 @ 000002CB27296FC0] kb/s:370.43
[aac @ 000002CB2727BA40] Qavg: 1211.732
(py38_learn_test2) python my_videotool.py 60 yoshimura3.mp4 yoshimura3.wav
Source file → 'yoshimura3.mp4'
Saving file → 'yoshimura3.wav'