Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here’s your proof:

  yt-dlp --format 18 'https://www.youtube.com/watch?v=cWxh9lGOeqQ' --output 'FuckingGenius.mp4' && open -a 'QuickTime Player' 'FuckingGenius.mp4'
No reencoding, just getting a video straight from YouTube and playing it in QuickTime Player.


yt-dlp -f "bv*[vcodec^=avc1][ext=mp4]+ba[acodec^=mp4a][ext=m4a]/best[ext=mp4][vcodec^=avc1]" \ --merge-output-format mp4 \ -o "%(title)s.mp4" \ "YOUTUBE_URL_HERE"

Thanks. I played around with your idea and got this. It’s still not 100% of videos. Only YouTube videos that have any H.264+AAC stream available (which is 99.9% of public YouTube today, even if the main/default version is VP9 or AV1).

But re encoding to solve this is not required. I stand corrected.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: