I’m looking for a free GUI that can download a YouTube channel in a particular language (i.e. Japanese) with it’s associated English subtitles preferably in SRT format.
I used 4K Video Downloader which worked fine for the “old” YT even though it was limited and I had to uninstall and reinstall a few times I got exactly what I wanted.
Then Google in all their stupidity decided to put all streams for a single video together so I can’t get what I want from 4K without downloading the video and then splitting the stream some way and downloading the Japanese audio to go with it.
Can anyone give me a simpler alternative to what I’m trying to do? I would appreciate any constructive input. Thanks!
No GUI but https://github.com/yt-dlp/yt-dlp
It can download, mux the streams and I believe has options to select language.
Stacher is a great GUI for yt-dlp on Windows and MacOS.
yt-dlp -F {youtube url} - Will list the different streams for you, which you can then individually download with “-f {stream number}”. You can use ffmpeg to put them all back together after. I know op asked for gui, but I figured I would point out the command line options just in case it was helpful.
yt-dlp can use ffmpeg automatically: „-f {number1}+{number2}“ will merge stream number1 and number2 into one file
Upvoted - if you want to do cool things… learn how to use the command line interface. It’s what separates the men from the boys…
I love yt-dlp, it’s so useful.
You can get a GUI with it if you host .
yt-dlp
is gonna be the go-to tool for any YouTube downloading, but I don’t have much experience with frontends for it. I use Tartube for archiving channels, but it can be a bit byzantine and might be overkill for what you need–plus, there’s a decent chance you will need to manually enter someyt-dlp
options anyway (although only during the setup process). That being said, it’s the only one I have experience with, so it’s the one I’ll recommend!Couple of clarifying questions:
-
When you say “download a YouTube channel in a particular language”, do you just mean a general monolingual channel (e.g. Masahiro Sakurai’s Japanese channel), or do you mean a channel that has videos with multiple audio tracks (such as this video with three different language tracks)? Both are doable, but I think you’ll need to add an actual command line flag for the latter whereas the former should be achievable pretty simply through Tartube’s GUI.
-
Are the subtitles you’re talking about added by the uploader, or are they auto subs (in this case, auto subs that are auto translated)? Both are easily achievable through the GUI, just slightly different instructions for either one. Also, depending on the scope of things, the simplest approach might be to simply download all subtitles (may not want to do that for like a MrBeast video with a dozen subtitle tracks), which also sidesteps the possible issue where the language of tracks isn’t properly indicated by the uploader.
-
When you say “put all streams for a single video together”, do you mean that you don’t want the video and audio tracks merged into a single file, or just that when you try to download the video you get a pre-merged file that doesn’t contain the tracks that you want? Was a little confused by this part.
I know you’re looking for a GUI solution, but while I wait for clarification I might as well drop a basic
yt-dlp
command to give you an idea of the parameters we’re dealing with (here I’m assuming separate audio tracks and uploader-added subs):yt-dlp --format bv+ba[language=ja] --sub-langs en --write-subs --convert-subs srt --download-archive channel_archive.txt video_or_channel_url_goes_here
--format bv+ba[language=ja]
: gets the “best” video track and Japanese audio track (for a 4K videoyt-dlp
prefers the VP9 encode, but if it’s a video with a lot of views there may also be an AV1 encode–if you want that AV1 encode you have to explicitly opt for it by usingbv[vcodec^=av01]
instead of plainbv
)
--sub-langs en
: downloads English subtitle(s)
--write-subs
: write subs to an external file (as opposed to embedding them)
--convert-subs srt
: converts subs to srt format, if possible
--download-archive channel_archive.txt
: writes the IDs of successfully downloaded videos to the specified filechannel_archive.txt
. If you re-run this command, these videos will be automatically and very speedily skipped over without needing to fetch any additional information. Even without this option,yt-dlp
is smart enough to skip over videos that have already been downloaded (assuming the output filenames will be the same), but it will go through the entire process of fetching all the video information for each video up to the point it is about to start downloading, which is a huge waste of time if you’re just updating a channel archive and need only the newest three videos.Everything in that command (except for the audio track bit, to my knowledge) can be handled in the Tartube GUI in relatively simple fashion, provided you know which menus to dig into.
edit: forgot the URL in my command, kinda important!
Here is an alternative Piped link(s):
Masahiro Sakurai’s Japanese channel
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I’m open-source; check me out at GitHub.
Thanks for all the information!
4K Video Downloader can download the “old” format of YT videos where a channel is strictly a particular language and put it in an MKV container with the resolution I select & an SRT subtitle using a VP9 codec & that’s fine. I just run it through my video converter and I’m good. The problem is when I try to download from one of the “new” multi-audio/sub channels. (Ugh!)
Ok, so now let me see if I can answer your questions:
Q1 - Yes, I mean a channel with multiple audio tracks but I can only access the English version although I know there’s a Japanese track there also.
Q2 - The subtitle is the one you get by selecting CC on the YT control panel. I can see it with IDM but it’s in TIML format. 4K gives me a SRT on the “old” channels.
Q3 - Yes, when I download I want a pre-merged file with the appropriate streams (Video, Japanese Audio & English Subtitles) preferably with an SRT sub.I hope that made sense. I’ve tried Tartube a bit but like you said it will still be the problem I run into with 4K Downloader, I can’t get the original Japanese audio. I can go to YouTube 4k Downloader and enter the URL for the file and download the Japanese audio and remux the file but when you’re talking about >100 files that’s a long process.
Again, thank you for the information and explantion of the command line. I’m not very good with command line stuff but I will try it and see if I can get it work for me. Please feel free to comment back.
Okay, Tartube can definitely handle what you want with a few additional flags! Here’s the mediainfo for the output file after doing a test run on this MrBeast video (note that the audio track is incorrectly marked as English but is indeed Japanese, and that S_TEXT is how SRT appears in an MKV file):
mediainfo
General Unique ID : 242275721910232180380466434100717751726 (0xB6449B54C970D7DBA0EB469BBD590DAE) Complete name : C:\Users\WDAGUtilityAccount\Tartube\Test Audio Playlist\$1 vs $100,000,000 House!.mkv Format : Matroska Format version : Version 4 File size : 556 MiB Duration : 17 min 35 s Overall bit rate : 4 418 kb/s Frame rate : 29.970 FPS Writing application : Lavf60.3.100 Writing library : Lavf60.3.100 ErrorDetectionType : Per level 1 Video ID : 1 Format : VP9 Format profile : 0 Codec ID : V_VP9 Duration : 17 min 35 s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 29.970 (29970/1000) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Title : ISO Media file produced by Google Inc. Created on: 11/09/2023. Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 VENDOR_ID : [0][0][0][0] Audio ID : 2 Format : Opus Codec ID : A_OPUS Duration : 17 min 35 s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Bit depth : 32 bits Compression mode : Lossy Delay relative to video : 7 ms Language : English Default : Yes Forced : No Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 17 min 30 s Language : English Default : No Forced : No
I did this all on Windows 10 in Windows Sandbox with a fresh Tartube install to make sure I didn’t have some lurking non-default setting causing unexplained behavior. Here’s what to do to get the same results, along with a screen recording of the same process with some rough edits (don’t be scared off by the long instructions–it’s mostly me just explaining what the options do, and it should only take about five to ten minutes!):
-
Grab the 64-bit Windows installer here
-
Go through the install process leaving everything as default and installing
yt-dlp
and FFmpeg when prompted -
Go through the tutorial just to get a sense of how things are laid out (it’s a lot to take in so don’t expect to remember everything, and I’m going to guide you through the exact steps do don’t worry)
-
Add your channel by first copying the /videos URL (e.g. https://youtube.com/@MrBeast/videos), clicking the Add channel icon (second from the left in the toolbar), and entering the channel name (this will be the name of the folder that videos are stored in). If the URL isn’t automatically grabbed, paste it into the second box.
-
Right-click the channel in the left-hand menu and select Downloads -> Apply download options
-
Make sure Create new download options is selected and click OK
-
(Optional) Give the options a sensible name, e.g. “Japanese Audio with embedded English SRT”
-
Paste these options into the Additional download options box:
--format bv*+ba[language=ja]/bv*+ba[language=en]/bv*+ba/best --convert-subs srt --compat-options no-keep-subs
Explanation of the options:
--convert-subs
is pretty self explanatory–it will convert the YouTube VTT subs to SRT.
--format
: the format selection is a hierarchy delineated by the/
. First, it tries to download the best video with the best audio in Japanese (bv*+ba[language=ja]
). If Japanese audio isn’t present, it tries English audio (bv*+ba[language=en]
). If neither are present (which can also happen if the uploader failed to mark the language correctly), it grabs whatever the default audio track is. If all else fails, it grabs the best combined format (this should realistically never happen on YouTube). If you dislike any of those fallback options and/or would prefer that the download simply fail, feel free to delete any/all of them along with the preceding/
, although I recommend at least leavingbv*+ba
. For your use case,--format bv*+ba[language=ja]
is the bare minimum which will fail if there isn’t an audio track explicitly labeled as Japanese.)
--compat-options no-keep-subs
is necessary to make sure the subtitles are deleted after merging them into the MKV, since the options we will be setting through the GUI include both--write-subs
and--embed-subs
, and the default behavior in this scenario is to both embed the subs and write them to an external file. If you prefer to keep the external SRT file, simply remove this line.-
(Optional) Click the Files tab at the top and customize the filename format. Personally, I’m partial to
%(upload_date)s %(title)s-%(id)s.%(ext)s
so that I can naturally sort things by upload date and easily go between URLs and videos (since YouTube URLs are justhttps://youtube.com/watch?v=[id]
), but if you’re happy with the default title-only you can leave this be. -
Click the Formats tab at the top. Set the drop-down for If merge is required after post-processing, output this format: to mkv. It will give you a warning that you need to also add it above, but as far as I can tell this is neither true (works fine without it) nor possible (mkv isn’t even listed there). If you do prefer specific video/audio formats or want a specific/maximum resolution, let me know and I can change the
format
option to accommodate that preference, since unfortunately this tab doesn’t account for multiple audio tracks. -
Click the Subtitles tab at the top. Ensure that Download subtitle file for these languages: is selected and that English [en] is listed (if your default Windows language is English I think it’ll already be there, but if not, add it from the list on the left). Note that this will not grab the automatically-generated subtitles from YouTube, but it sounds like you don’t need these for your specific situation.
-
Click the More options sub-tab. Under Preferred subtitle formats write
srt/best
(I honestly don’t think this will affect YouTube since all subs seem to be VTT, but it can’t hurt). More importantly, check the box for During post-processing, merge subtitles file with video. -
Click OK in the lower-right to save the download options. You’re done with the setup!
If you want to download the entire channel in this way, right-click the channel in the left-hand menu and click Download channel. You can monitor the download progress in the Progress tab and see the raw
yt-dlp
command line output in the Output tab. If you only want certain videos, instead choose Check channel. This will grab all the metadata for the channel’s videos, displaying them as a grid of thumbnails, and then you can select them through the GUI and download the specific ones you want. It also might be a good idea to do this if you want to test the options on one video to make sure you’re getting the result you want before going all-in on downloading the channel.Looking over the
yt-dlp
output as a sanity-check, I can confirm it does the following things:-
Writes
en.vtt
subtitles (English subtitles in the default YouTube format) -
Selects the best video format (1080p VP9)
-
Selects the audio format
251-1
(which is the best Japanese audio on this particular video) -
Converts subtitles to SRT
-
Merges all three tracks into MKV
-
Deletes external SRT
which I think is all the functionality you requested! Let me know if you have any further questions and I’ll do my best to answer them.
I’ve tested the process in a single & multi-language channel and a single video & it worked for perfectly for all.
Several questions I have:
1 - When I installed Tartube, my Antivirus told me the
gslangValidator.exe
file was infected byWin64: Evo-gen [Trj]
and quarantined it. Any idea why?2 - How do I get rid of all the other files like jpeg, txt, json etc. files or are they supposed to be there.
3 - Supposing I wanted a 360p resolution downloaded, what would have to be changed in the format options?
I’m really amazed at this and hope to learn more about Tartube. Thank you very much for your time in putting all this together & I look forward to further correspondence!
Great, I’m so glad to hear that! Tartube can be a little intimidating with it’s sprawling menus and sub-menus, but when it comes down to it most of the core functionality is pretty accessible once you know where to look and can ignore all the hyper-specific options for power users.
1. No idea, to be honest. In the environment I tested this in (Windows 10 Sandbox) Windows Defender didn’t complain, and I’ve never had an issue with my actual install either. In fact, I just checked my installation folders on my PC and didn’t even find that executable (maybe it’s only used during installation?) although I do have it on my system for a different program. I only found one Google hit from 5 years ago on the
glslang
Github itself, and the user seemed to think it was a false positive for what it’s worth.2. They are supposed to be there by default (they store metadata) but you can set up Tartube to put them in separate folders if you want to just have a nice clean folder with only videos or just not write them in the first place if you don’t want them. I believe the metadata is copied into Tartube’s database, so deleting them shouldn’t change anything (they’re mostly useful for archival purposes or if you want to do some processing with external tools), but Tartube references the thumbnail image files for display in the GUI so removing them will remove the thumbnail from the GUI like so:
This is pretty straightforward to configure, thankfully:
- Right-click the desired menu in the left-hand menu and select Downloads -> Edit download options…; this will bring up the same dialog we were using before, but we are just editing our existing profile instead of creating a new one.
- Click the Files tab, then the Write/move sub-tab.
- Here you’ll see options to instruct Tartube to move each of the file types to a separate folder and/or not write them in the first place. Select whichever options suit your preferences and then click OK.
3. (hosted externally due to Lemmy sanitization bug causing less-than symbols to be HTML escaped)
edit: accidentally left out a line in the externally hosted markdown
I agree that file is probably just a false positive. I deleted it from quarantine and it didn’t affect the program at all.
You are absolutely THE BEST!!! I appreciate all your hard work so much. This saves me sooo much time and is so helpful! I cannot thank you enough.
Here is an alternative Piped link(s):
https://piped.video/@MrBeast/videos
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I’m open-source; check me out at GitHub.
-
-
I use EDIT: jdownloader2 for YouTube video/audio. It may be more feature packed, but it’s easy enough once you’re comfortable with the GUI.
JD2 can download from a whole lot of sources been using it for years.
My antivirus flagged it as a virus (Potential Unwanted Program). Thank goodness it caught and quarantined it.
Sorry about that, it’s some issue with adware in that version of the installer (that doesn’t have to be installed). Their forum has a post about this problem. I edited my reply to direct to the “adware free” installer: https://jdownloader.org/jdownloader2
Phew, that worked better. No virus that time. I’ll give it a try and see if it’ll work for me. I was getting a bit nervous there for a minute. Thank you for updating your information!
It’s not a virus, it’s a Potentially Unwanted Programs bundled and it’s common Spyware, Adware, and miscellaneous paid to serve programs. Since windows and macs bundle their own types of potentially unwanted programs, I like to consider this as just larger corporations being hypocritical. Unfortunately, the majority of PUP that get flagged are typically worse than what these larger corporations bundle in their installers or products.
Jdownloader2 can download subtitles but I can’t recall if you can configure it to download subtitle for a specific language
Yeah, I liked Jdownloader2 but I can do about the same with 4K Video Downloader plus it conflicted and corrupted my IDM installation so I had to remove both and reinstall IDM to get it back working. Lesson 1: you don’t install 2 downloaders. LOL
Actually I’ve been using StreamFab Youtube downloader to download Youtube videos, not only youtube videos, but also videos of Vimeo, Facebook, etc. It works well.
I’ve been using Tartube for a few years, unsure of its subtitles capabilities, but it’s really feature packed and it wouldn’t surprise me if it can do you want.
I use parabolic, but I think its linux-only
Stacher.io uses yt-dlp and had a simple gui.
Look no further, learn
yt-dlp