[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vt/ - Virtual Youtubers

Search:


View post   

>> No.77369714 [View]
File: 146 KB, 1331x598, 1701563858137775.png [View same] [iqdb] [saucenao] [google]
77369714

>>77368998
https://github.com/yt-dlp/yt-dlp
https://github.com/argorar/WebMConverter
yt-dlp is a command line utility, so to use it you will have to place it in a folder, open a command window (type cmd in search bar) and then navigate to the folder using:
cd filepath
easiest way is to put it in your username folder because that's the default location cmd is active in. files will be downloaded to the same folder

use this command to download a segment from stream:
yt-dlp.exe --download-sections "*00:00:00-00:00:00" LinkToVod
I would recommend downloading a minute or two window around the clip you want and to trim it down later
open Webm Converter, select input/output destination, use the processing features you want (trimming, cropping, etc)
set your encoding and advanced window up like this (just make sure high quality mode, which is 2-pass encoding, and vp9 are selected)
the only other thing you have to do is calculate the bitrate, which will be 32000 / length of video in seconds (I usually subtract a little bit, like 5/10 just to make sure it's under 4MB)
that's your video, for the audio:
after it's done encoding, re-encode the video with high quality mode and vp9 turned off (to make it faster) but with audio enabled this time
upload the video with audio to some mp4 to mp3 converter online, download it and now you should have both the webm and mp3

To combine them, the easiest way is to just use the built in function in the sounds player. If you click the little down arrow in the top right of the player, you'll see a tools tab. Click it and scroll down a bit, there are fields to pick the video and audio you want to use and it will handle uploading the audio and naming the file for you. That's all you have to do.

There are much better ways of doing this, especially if you are willing to use ffmpeg for real (which webm converter is just a gui for) but this is pretty foolproof and has minimal command line and setup.

Navigation
View posts[+24][+48][+96]