question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker build with ffmpeg git master build to fix yt-dlp sponsorblock

See original GitHub issue

Hi 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:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nbr23commented, Jul 17, 2022

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!

1reaction
notDavidcommented, Jul 8, 2022

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'

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found