How to cut an mp3 file into multiple audios with bash and ffmpeg according to a timetable.
Anton
Posted on April 24, 2019
I have a timetable in a text file that looks like this:
00:05 - 00:54 Dédicace, À léon werth
00:54 - 01:37 Premier chapitre. Lorsque j'avais six ans
01:36 - 02:06 J'ai montré mon chef-d'œuvre
I'm trying to cut an mp3 file into multiple small ones according to this timetable, so the requirements are:
- I want to do it with bash. I have learned how to do one file. But a timetable is out of my current bash skills.
- The column with words serve as the names for files.
- I would like the files to be enumerated like this: 01.Dédicace_À_léon_werth.mp3 02.Premierchapitre_Lorsque_j'avais_six_ans.mp3
And so on.
💖 💪 🙅 🚩
Anton
Posted on April 24, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
python Solution for "DLL Load Failed Due to Absence of Wheel for sqlcipher3" Error
November 21, 2024
devops Rebuilding EnviroX: Overcoming Early Flaws to Automate Development Environments
October 27, 2024