233
I made another yt-dlp frontend!
(lemmy.ml)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
For the first question, I assume that you want to put all video downloaded into one big video in CLI. I guess you can do something like this with ffmpeg:
ffmpeg -i "concat:input1|input2|input3|etc" -codec copy output.mkv
If you want to work it out with yt-dlp you can try this:yt-dlp "a link"
Assuming you get mp4 formatls -1 *.mp4 > file_list.txt
thenffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4
For your second question, I am not sure my self to be honest. I never actually look at it. That is why for my app this is the arg I use to get best video and also best audio:
-f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best"
You can probably play a bit more with the format, if you feel like it.
Hope this help!
Thanks!