# Unmix
```bash
./unmix [ youtube | mixcloud | soundcloud | other ] -i [ input ]
```
Command line tool to:
* Download
* Cut
* Rename files
* Move to a compilation folder on your desktop
* Download Album Artwork (WIP!)
* Add to iTunes (WIP!)
Supported Sources:
* Full Albums on YouTube
* Mixcloud mixes
* Soundcloud mixes (WIP!)
## Examples:
```bash
# check if depended software is installed.
# this was not tested much and still considered WIP!
macbook:unmix elad$ ./unmix.rb doctor
youtube-dl was found
ffmpeg was found
# the following will download and orginize the
# "Gentle Giant - The Power and the Glory" album from the given YouTube URL.
macbook:unmix elad$ ./unmix.rb youtube --input https://www.youtube.com/watch?v=5S8lKZ0MMUQ
Step 1: Analyzing source https://www.youtube.com/watch?v=5S8lKZ0MMUQ
Found the following information:
INDEX | NAME | DURATION | START_TIME | END_TIME
------|--------------------------------|----------|------------|---------
01 | "Proclamation" | 408.0 | 00:00 | 06:48
02 | "So Sincere" | 232.0 | 06:48 | 10:40
03 | "Aspirations" | 280.0 | 10:40 | 15:20
04 | "Playing the Game" | 407.0 | 15:20 | 22:07
05 | "Cogs in Cogs" | 187.0 | 22:07 | 25:14
06 | "No God's a Man" | 268.0 | 25:14 | 29:42
07 | "The Face" | 252.0 | 29:42 | 33:54
08 | "Valedictory" | 200.0 | 33:54 | 37:14
09 | "The Power and the Glory" ... | 15766.0 | 37:14 | 5:00:00
Donwloading.
[youtube] 5S8lKZ0MMUQ: Downloading webpage
[youtube] 5S8lKZ0MMUQ: Extracting video information
[youtube] 5S8lKZ0MMUQ: Downloading DASH manifest
[download] Destination: ./tmp/_download.m4a
[download] 100% of 36.46MiB in 00:13
[ffmpeg] Correcting container in "./tmp/_download.m4a"
Cutting Video File.
Orginizing Into an Album Folder.
All Done!
macbook:unmix elad$ cd exports/Gentle_Giant_-_The_Power_and_the_Glory__full_album_/
macbook:Gentle_Giant_-_The_Power_and_the_Glory__full_album_ elad$ ls -l
total 74680
-rw-r--r-- 1 elad staff 6476897 May 31 14:25 01.Proclamation.m4a
-rw-r--r-- 1 elad staff 3682740 May 31 14:25 02.SoSincere.m4a
-rw-r--r-- 1 elad staff 4445152 May 31 14:25 03.Aspirations.m4a
-rw-r--r-- 1 elad staff 6460672 May 31 14:25 04.PlayingtheGame.m4a
-rw-r--r-- 1 elad staff 2969172 May 31 14:25 05.CogsinCogs.m4a
-rw-r--r-- 1 elad staff 4254448 May 31 14:25 06.NoGodsaMan.m4a
-rw-r--r-- 1 elad staff 4000778 May 31 14:25 07.TheFace.m4a
-rw-r--r-- 1 elad staff 3175227 May 31 14:25 08.Valedictory.m4a
-rw-r--r-- 1 elad staff 2751830 May 31 14:25 09.ThePowerandtheGlorybonustrack.m4a
# The following will download the Headphone Commute's DJ Set: "Stationary Travels – The Ocean Inside"
# from the given mixcloud URL and will cut and originize the set into songs.
macbook:unmix elad$ ./unmix.rb mixcloud --input https://www.mixcloud.com/HeadphoneCommute/stationary-travels-the-ocean-inside/
...
macbook:Stationary_Travels___The_Ocean_Inside elad$ ls -l
total 252168
-rw-r--r-- 1 elad staff 13441759 May 31 10:46 01.SiavashAmini-AMistofGreyLight.mp3
-rw-r--r-- 1 elad staff 8065132 May 31 10:46 02.SiavashAmini-AlioshaandtheFire.mp3
-rw-r--r-- 1 elad staff 9825576 May 31 10:46 03.Idlefon-Reminiscence.mp3
-rw-r--r-- 1 elad staff 7138098 May 31 10:46 04.IdlefonwithNimaPourkarimi-PickersofEmptyCocoons.mp3
-rw-r--r-- 1 elad staff 9153498 May 31 10:46 05.Umchunga-TheDuskTheCarTheRainandDowninTheBottle.mp3
-rw-r--r-- 1 elad staff 13761916 May 31 10:47 06.PoryaHatami-Ladybug.mp3
-rw-r--r-- 1 elad staff 16865680 May 31 10:47 07.PoryaHatami-Farewell.mp3
-rw-r--r-- 1 elad staff 11713915 May 31 10:47 08.Tegh-Down.mp3
-rw-r--r-- 1 elad staff 13026308 May 31 10:47 09.TeghandKamyarTavakoli-Hollow.mp3
-rw-r--r-- 1 elad staff 11201497 May 31 10:47 10.ArashAkbari-RaysFromaDeadStar.mp3
-rw-r--r-- 1 elad staff 14897813 May 31 10:47 11.ArashAkbari-UntilTimeSitsbyYourSideSoftRecordings.mp3
```
## Dependencies
1. youtube-dl (always latest!)
2. ffmpeg (v2+)
## License
Copyright (c) 2011-2014. See the LICENSE file for license rights and limitations (MIT).
没有合适的资源?快使用搜索试试~ 我知道了~
unmix-ruby:“取消混音”需要长时间混音并将其拆分为曲目-源码
共19个文件
rb:13个
md:2个
ruby-version:1个
需积分: 5 0 下载量 143 浏览量
2021-05-25
11:06:36
上传
评论
收藏 12KB ZIP 举报
温馨提示
取消混音 ./unmix [ youtube | mixcloud | soundcloud | other ] -i [ input ] 命令行工具可以: 下载 切 重命名文件 移至桌面上的编译文件夹 下载专辑插图(WIP!) 添加到iTunes(WIP!) 支持的来源: YouTube上的完整相册 Mixcloud混合 Soundcloud混音(WIP!) 例子: # check if depended software is installed. # this was not tested much and still considered WIP! macbook:unmix elad$ ./unmix.rb doctor youtube-dl was found ffmpeg was found # the following will download and o
资源推荐
资源详情
资源评论
收起资源包目录
unmix-ruby-master.zip (19个子文件)
unmix-ruby-master
app
unmix_thor.rb 1KB
unmix_helper.rb 951B
services
youtube-dl_downloader.rb 872B
mixcloud_tracks_analyzer.rb 2KB
folder_orginizer.rb 595B
youtube-dl_info_getter.rb 1004B
ffmpeg_file_cutter.rb 984B
youtube_tracks_description_analyzer.rb 2KB
sources
mixcloud.rb 1KB
soundcloud.rb 371B
youtube_album.rb 1KB
source_base.rb 2KB
Gemfile 489B
Gemfile.lock 608B
.ruby-version 6B
LICENSE.md 1KB
.gitignore 14B
unmix.rb 639B
README.md 4KB
共 19 条
- 1
资源评论
温暖如故
- 粉丝: 22
- 资源: 4642
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 服务器概述服务器概述服务器概述服务器概述.txt
- 华中农业大学python实验题.txt
- 海康威视相机采图交叉编译示例程序,c++
- DETR-基于Tensorflow实现DETR目标检测算法-附流程教程+项目源码-优质项目实战.zip
- 3d激光slam地图发布程序,3d地图点云处理,c++程序
- 送给妈妈的一束鲜花.zip(母亲节祝福HTML源码)
- 稀疏化DETR-基于Pytorch实现稀疏化DETR-SparseDETR-附流程教程+项目源码-优质项目实战.zip
- 人工分类:SLTM的微博评论二分类数据集
- (自适应手机端)响应式房产合同知识产权网站pbootcms模板 企业管理类网站源码下载.zip
- (自适应手机端)响应式动力刀座pbootcms网站模板 五金机械设备类网站源码下载.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功