youtube-dl - download and split audio

https://fex.net/s/tmzayev

First things first - install tiny programm:

Then install ffmpeg for audio conversation:

After that follow thesesteps:
1
youtube-dl -x –embed-thumbnail –audio-format ogg (or any other preffered format) https://www.youtube.com/watch?v=kf02c_Hz3Ig

2 specify the audio link (the long one that contains word “audio” of course)
youtube-dl -g “https://www.youtube.com/…….”

3 this is how link should be like:
https://r9—sn-quxapm-3c2e.googlevideo.com/videoplayback-looooooooooooongliiiiiink

4 set the segment duration (in this case 600 sec - 10 min at the end of code)
ffmpeg -i ‘https://r9—sn-quxapm-3c2e.googlevideo.com/videoplayback?expire=1612583366&ei=Zb0dYNrXOpKM7gPfp7iIBg&ip=91.232.199.251&id=o-AH3cspn9azg-9u1bufEjFsfMoXD20k2w2xARMHlmum2b&itag=251&source=youtube&requiressl=yes&mh=5Q&mm=31%2C29&mn=sn-quxapm-3c2e%2Csn-3c27sne7&ms=au%2Crdu&mv=m&mvi=9&pcm2cms=yes&pl=24&initcwndbps=1230000&vprv=1&mime=audio%2Fwebm&ns=AgHINwvREMKwvG35DNSFH3sF&gir=yes&clen=317357100&otfp=1&dur=17930.641&lmt=1573316106486520&mt=1612561265&fvip=18&keepalive=yes&beids=9466585&c=WEB&txp=6211222&n=f7aMa0UACne0Hqf&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgaoNf4mr3GJ_ggchCPZIc-OGxUH5j3luVLBfRdzOtlxwCIQCDUZV3P22RltMhM3dh6EM-4KHaT53ipvJ8lZm4Axc5SA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhANwJXby_DZVp_5GJw-1Uws3dAUSqp1pjh9On6ef8EQw5AiAlC2Zcv835GCtMu9SEC2s9GZuijZw-9CjcvUUd5Cq4ig%3D%3D’ -segment_time 600 -f segment out.%03d.ogg

thanks goes to this great guide taken from:
https://spapas.github.io/2018/03/06/easy-youtube-mp3-downloading/

 
0
Kudos
 
0
Kudos

Now read this

Blender 2.72

“The Blender Foundation and online developer community is proud to present Blender 2.72a Cycles GPU rendering supports Volume and Subsurface Scattering now. The User Interface comes with optional Pie Menus now and the Tooltips have been... Continue →