News for hackers. Stuff that matters.
Re:Termux is an Android terminal emulator and Linux environm... by jgtrosh on Saturday April 29, 2023 @06:41PM (#35757968)
> I have ffmpeg and yt-dlp installed to download videos for when I am going to be away from internet access for a while

Have you tried NewPipe for that use case?

Re:Termux is an Android terminal emulator and Linux environm... by knaik94 on Sunday April 30, 2023 @12:00AM (#35759587)
Yt-dlp exposes all of the codecs, I think I remember newpipe hiding some options when I last used it. I struggled to find how to download just the ~140k opus audio (-f251) or maybe the combination audio+video I wanted wasn't there. I'm sure things have changed since the last time I checked.

But Yt-dlp is still more powerful, it has extractors for way more sites. If I download a video, I usually care to archive it for a longer term, so I add things like subtitles and metadata. For opus files, I don't like the webm container, so I would end up installing ffmpeg for that anyway. I also make heavy use of the regular youtube app, I appreciate the interface. Although I haven't had the need, Termux + yt-dlp also allows using aria2c for downloading. And yt-dlp has also been useful in bandwidth starved situations, because the url and format flags are enough to get the video, it doesn't hang while waiting to download related/recommended video metadata.