Gangmax Blog

Get Audio from Youtube

You need “yt-dlp“ and “ffmpeg“ installed.

1
2
3
4
5
6
7
8
# Download the target Youbube video.
./yt-dlp_linux 'https://www.youtube.com/watch?v=oRxgYC5zrV4'

# Check the video info.
ffprobe 'Full Super Mario World 2: Yoshi'\''s Island OST [oRxgYC5zrV4].mp4'

# Extract the audio stream from the video to "mp3" file.
ffmpeg -i 'Full Super Mario World 2: Yoshi'\''s Island OST [oRxgYC5zrV4].mp4' -vn -ac 2 'Full Super Mario World 2: Yoshi'\''s Island OST [oRxgYC5zrV4].mp3'

The “mp4 -> mp3” converting tip comes from here.

The Youtube video in the command is “Super Mario World 2: Yoshi’s Island OST”.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Super Mario World 2: Yoshi's Island (1995) was developed and published by Nintendo.

The soundtrack was composed by Koji Kondo(近藤浩治).

Tracklist:

1. Nintendo Logo (0:00)
2. Story Organ (0:04)
3. Yoshi's Island (2:47)
4. Yoshi's Start Demo (4:59)
5. Practice Course (6:01)
6. Game Start (6:44)
7. The Flower Garden (6:49)
8. Goal & Score (9:42)
9. Underground (10:32)
10. Castle & Fortress (12:19)
11. Kamek's Theme (14:27)
12. Mid-Boss (14:59)
13. Athletic (16:13)
14. Above Ground (18:24)
15. Player Down (19:55)
16. Game Over (20:01)
17. In Front of the Boss' Room (20:11)
18. Big Boss (21:10)
19. Big Boss Clear (23:11)
20. Map (23:20)
21. Bonus Game (25:35)
22. Powerful Baby (27:00)
23. Koopa (28:00)
24. Koopa Clear (30:45)
25. Luigi's Rescue (30:56)
26. Ending (32:28)

Comments