Docker build with ffmpeg git master build to fix yt-dlp sponsorblock
See original GitHub issueHi there, currently there’s a bug in ffmpeg, which is used by yt-dlp, which causes Sponsorblock to fail.
Since it’s going to take a while before the next major ffmpeg version is released, i was wondering if you would consider/it would be possible to make a Docker build/tag containing the ffmpeg master build?
What i manually ran in the container to make it work is:
apk del ffmpeg
wget 'https://raw.githubusercontent.com/Tzahi12345/YoutubeDL-Material/8dac9d1806f4ff32cb620f4a94fc7dd60fb3acf7/ffmpeg-fetch.sh'
# remove apt-get
sed -i '/apt-get/d' ffmpeg-fetch.sh
apk update
apk add curl
apk add xz
chmod u+x ffmpeg-fetch.sh
./ffmpeg-fetch.sh
…which fetches and installs the ffmpeg master builds from https://johnvansickle.com/ffmpeg/
Thank you 😃
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
yt-dlp recommends patched ffmpeg builds · Issue #49 - GitHub
Officially yt-dlp recommends using builds of ffmpeg from https://github.com/yt-dlp/FFmpeg-Builds/releases while the Dockerfile is using ...
Read more >yt-dlp release 2021.09.02 : r/youtubedl - Reddit
I build ffmpeg for my Linux Mint system with the help of this guide. For Windows I've used: https://github.com/rdp/ffmpeg-windows-build-helpers.
Read more >Build FFmpeg Windows Version in Docker Container
docker build . The file Dockerfile : FROM ubuntu:16.04 LABEL maintainer "Changjiang Yang" RUN apt-get ...
Read more >IS.bookmarks.html - GitHub
... <DT><A HREF="https://illegal-services.github.io/Illegal_Services/Bookmarks% ... LAST_MODIFIED="1653482108">maple3142/GDIndex: A Google Drive Index built ...
Read more >spdx - Reddit post and comment search - SocialGrep
https://github.com/spdx/tools-java/: No generating or merging capabilities, unless maybe through an ... Build SBOMs with Microsoft's SPDX SBOM generator 1.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it’s fine to leave as is. I’ll try to keep an eye on the ffmpeg fix’s inclusion in stable. I think adding one more tag will be more confusing than anything, especially since it won’t be needed once that fix is officially in. If we end up having actual issues with ffmpeg, I’ll do that, but in the meantime I’ll keep to lowest effort 😉
Thanks again!
Thank you for your reply @nbr23 , sure, any video with the
.webm
extension (vp9
codec) which has embedded ads should fail, example:yt-dlp --sponsorblock-remove all -f 278 'https://www.youtube.com/watch?v=YleSuwK8vR4'