dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse


Our Discord Notification Server invitation link is https://discord.gg/jB2qmRrxyD

Author Topic: A WIP "yt-dlp" and "ffmpeg" Hints and Tips Guide  (Read 617 times)

Offline Chip (OP)

  • Server Admin
  • Admin
  • Hero Member
  • ****
  • Administrator
  • *****
  • Restrictive
  • *
  • RC Discussion
  • **
  • Private
  • ***
  • Owner
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 7516
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Yesterday at 08:03:11 PM
  • Deeply Confused Learner
  • Profession: IT Engineer now retired
A WIP "yt-dlp" and "ffmpeg" Hints and Tips Guide
« on: October 11, 2026, 06:17:52 AM »
📎 Click on me to view all my attachments
ListAttBBC  |  v7.4.1  |  2026-11-25  |  Andrew.human & Claude.ai  |  live 00:07:01
#FileSizeDownloadsInfoDL
00yt-dlp shenanigans.pdf  [native]  [pdf in chunks]615.1 KB85ℹ️⬇️
01VLC ALBUM ART Media cover display.pdf  [native]  [pdf in chunks]471.2 KB5ℹ️⬇️
02SoundCloud download Album Art and the Sound File command.pdf  [native]  [pdf in chunks]309.6 KB4ℹ️⬇️
03yt-dlp --help.txt123.7 KB7ℹ️⬇️
04WEBM Audio File Considerations -- Transcript.pdf  [native]  [pdf in chunks]270.5 KB2ℹ️⬇️
Spoiler: show
msg=49759


Code: [Select]
yt-dlp --use-extractors generic "(URL)"
📄 Inline textv1.13.0 · 2026-11-24
winget install Gyan.FFmpeg

ffmpeg -i "James Tobin - Bondi Radio - 25 Sep -2026 [bondiradio_james-tobin-bondi-radio-25-sep-2026].WEBM" -vn -q:a 0 "James Tobin - Bondi Radio - 25 Sep -2026 [bondiradio_james-tobin-bondi-radio-25-sep-2026].mp3"
ffmpeg version N-125875-g5d4d3bdc61-20260731 Copyright (c) 2000-2026 the FFmpeg developers
  built with gcc 15.2.0 (crosstool-NG 1.28.0.23_185f348)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libvmaf --enable-fontconfig --enable-libharfbuzz --enable-libfreetype --enable-libfribidi --enable-vulkan --enable-libvorbis --disable-libxcb --disable-xlib --disable-libpulse --enable-gmp --enable-lzma --enable-liblcevc-dec --enable-opencl --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-libplacebo --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable-liboapv --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-libvvenc --disable-whisper --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20260731
  libavutil      61.  5.100 / 61.  5.100
  libavcodec     63.  7.100 / 63.  7.100
  libavformat    63.  5.101 / 63.  5.101
  libavdevice    63.  2.100 / 63.  2.100
  libavfilter    12.  3.101 / 12.  3.101
  libswscale     10.  2.100 / 10.  2.100
  libswresample   7.  2.100 /  7.  2.100
Input #0, matroska,webm, from 'James Tobin - Bondi Radio - 25 Sep -2026 [bondiradio_james-tobin-bondi-radio-25-sep-2026].WEBM':
  Metadata:
    ENCODER         : Lavf63.5.101
  Duration: 00:59:39.98, start: 0.000000, bitrate: 194 kb/s
  Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:59:39.980000000
  Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:00:00.000000000
[aost#0:0/libmp3lame @ 000002279b6ddb80] Discarding stream metadata 'DURATION' because the stream is being re-encoded. Use '-keep_metadata DURATION' to keep it.
Stream mapping:
  Stream #0:0 -> #0:0 (opus (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to 'James Tobin - Bondi Radio - 25 Sep -2026 [bondiradio_james-tobin-bondi-radio-25-sep-2026].mp3':
  Metadata:
    TSSE            : Lavf63.5.101
  Stream #0:0(eng): Audio: mp3, 48000 Hz, stereo, fltp (default)
    Metadata:
      encoder         : Lavc63.7.100 libmp3lame
[out#0/mp3 @ 0000022799a7b4c0] video:0KiB audio:108386KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.000213%
size=  108386KiB time=00:59:39.97 bitrate= 248.0kbits/s speed=  46x elapsed=0:01:17.79
PS C:\yt>

----------------------------------------------------------------------------------------------------

PS C:\Windows\system32> cd \yt
PS C:\yt> $u = "https://soundcloud.com/glitterboxibiza/glitterbox-virtual-festival-20-dr-packer?si=fd07a19cdc6143dface42fb5d1a4b38d&utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing"; $id = yt-dlp --skip-download --no-simulate --write-thumbnail --convert-thumbnails jpg --print id -o "%(id)s.%(ext)s" $u; if (-not $id) { "yt-dlp couldn't read the track" } else { $t = Get-ChildItem -Filter "*$id*" | Where-Object { $_.Extension -in '.mp3','.m4a' -and $_.Name -notlike '*(cover)*' } | Select-Object -First 1; if ($t) { ffmpeg -hide_banner -i $t.FullName -i "$id.jpg" -map 0:a -map 1 -c copy -disposition:v:0 attached_pic (Join-Path $t.DirectoryName ($t.BaseName + " (cover)" + $t.Extension)) } else { yt-dlp --embed-thumbnail --embed-metadata $u } }
[soundcloud] Extracting URL: https://soundcloud.com/glitterboxibiza/glitterbox-virtual-festival-20-dr-packer?si=fd07a19cdc6143...paign=social_sharing
[soundcloud] glitterboxibiza/glitterbox-virtual-festival-20-dr-packer: Downloading info JSON
[soundcloud] 811278355: Downloading hls_aac format info JSON
[soundcloud] 811278355: Checking thumbnail extension
811278355: Downloading 1 format(s): hls_aac_96k
Downloading video thumbnail original ...
Writing video thumbnail original to: Glitterbox Virtual Festival 2.0 - Dr Packer [811278355].jpg [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 391 [download] Destination: Glitterbox Virtual Festival 2.0 - Dr Packer [811278355].m4a [download] 7.2% of ~ 45.48MiB at 98.84KiB/s ETA 06:50 (frag 29/391)





Spoiler = Include Album Art in the VLC Window:

Spoiler: show
$t = Get-ChildItem -Filter "*1564761076*" | Where-Object { $_.Extension -in
'.mp3','.m4a' -and $_.Name -notlike '*(cover)*' } | Select-Object -First 1; if
($t) { ffmpeg -hide_banner -i $t.FullName -i 1564761076.jpg -map 0:a -map 1 -c
copy -disposition:v:0 attached_pic (Join-Path $t.DirectoryName ($t.BaseName + "
(cover)" + $t.Extension)) } else { "No .m4a or .mp3 track found" }


Spoiler = Look up the SoundCloud track number and Save the Album Cover under that number:

Spoiler: show
$u = "https://soundcloud.com/downtowndisco/downtown-disco-live-26-08-2022-ian-ossia-birdee-dr-packer-lisa-jane"; $id = yt-dlp --skip-download --no-simulate --write-thumbnail --convert-thumbnails jpg --print id -o "%(id)s.%(ext)s" $u; if (-not $id) { "yt-dlp couldn't read the track" } else { $t = Get-ChildItem -Filter "*$id*" | Where-Object { $_.Extension -in '.mp3','.m4a' -and $_.Name -notlike '*(cover)*' } | Select-Object -First 1; if ($t) { ffmpeg -hide_banner -i $t.FullName -i "$id.jpg" -map 0:a -map 1 -c copy -disposition:v:0 attached_pic (Join-Path $t.DirectoryName ($t.BaseName + " (cover)" + $t.Extension)) } else { yt-dlp --embed-thumbnail --embed-metadata $u } }
« Last Edit: Yesterday at 12:29:59 AM by smfadmin »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal