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

A while back itag 18 and 22, MP4 video that includes an audio track, seemed to disappear in favor of split video and audio, e.g., formats with video only like itag 136 and 137. This requires using ffmpeg to merge an audio track with the video. More recently, it appears they have brought back itag 18.


yt-dlp can take multiple itags and merge them for you as part of the download process. Example: `yt-dlp -f 137+140 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'`


This requires space for two files, the video file and the audio file. After merge, which is a separate step from download (the "dl" in yt-dlp), the extra file is deleted. Whereas with itag 18, only space for one file is needed and no extra merge step using ffmpeg is required.


yt-dlp can't do this without ffmpeg


You need FFmpeg installed, yes. But it's not a separate step you have to do.


For example, yt-dlp uses ffmpeg




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

Search: