[ 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.46698969 [View]
File: 2.26 MB, 540x800, name[sound=https%3A%2F%2Ffiles.catbox.moe%2F5p1xej.opus].webm [View same] [iqdb] [saucenao] [google]
46698969

Posting my soundpost workflow for youtube sources since apparently everyone else is way less autistic
Find a rough part of a video and feed yt_dlp
>python -m yt_dlp https://www.youtube.com/watch?v=uBGgYVJ1ZOk --download-sections="*27:40-28:00"
Then one or more of the following:
Open it up, figure out more precise timestamps (-ss start -t duration)
Take a screenshot to measure crop in GIMP or whatever else (-vf crop=width:height:x:y)
Determine the target video bitrate to stay under 4 MB, roughly 32000k/duration, usually set it lower for some wiggle room (-b:v bitrate)
>ffmpeg -i "【Q REMASTERED】good brain, good squish [uBGgYVJ1ZOk].mkv" -c:a copy -ss 18.8 -t 1.5 -vf crop=540:800:1380:280 -b:v 21333k name.webm
Then strip out the components
>ffmpeg -i name.webm -an -c:v copy namevideo.webm
>ffmpeg -i name.webm -vn -c:a copy nameaudio.opus
Video is reencoded once, audio is never reencoded. Result picrel

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