Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.05.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
A common usage of youtube-dl is to download podcasts or instructional youtube videos for offline usage/archival. The people who listen to educative podcasts want to minimize their learning time, so they often increase the playback speed of the podcast mp3's or videos. On the other hand, they also want to save storage space.
Why can't we combine these two requirements in one feature? Youtube-dl could download the video and then re-encode it using ffmpeg at an increased framerate. With this "baked-in" playback speed increase, we also save storage space.
Example invocation:
youtube-dl https://www.youtube.com/watch?v=1n9KMqssn54 --playback-speed=2.0
As a proof-of-concept, I tried to reencoded the mentioned video to 2.0 playback speed using a manual ffmpeg call:
My PoC shows that the timecompressed version of the video saves about 56% storage space and about 12 minutes listening time (original duration ~24 minutes). I have to admit that the timecompressed version is not perfectly understandable and took a while to encode, but I haven't tweaked the settings yet and I am using a pretty old machine.
According to a recent lifehacker article, playback speeds from 1.4 to 1.7 are pretty common today: https://lifehacker.com/speed-up-your-podcasts-for-more-efficient-listening-1797029702
What do you think?