Giter Site home page Giter Site logo

mp3splitter's Introduction

MP3 Chapter Splitter

This utility reads the headers of MP3 audiobook files and splits them according to the information found in the tags. For each original file, it will create a new directory and then create a numbered sequence of files each with a section of the original file. It requires the ffmpeg command line utility to split the files

It is currently written to split files that are downloaded from the Overdrive service from our library. These files store the chapter markers in the UserTextFrames MP3 header. The markers are stored in an xml format:

<Markers>
   <Marker>
      <Name>Episode 5</Name>
      <Time>00:00.000</Time>
   </Marker>
   <Marker>
      <Name>      Episode 5 (03:42)</Name>
      <Time>03:42.227</Time>
   </Marker>
   <Marker>
      <Name>      Episode 5 (04:32)</Name>
      <Time>04:32.093</Time>
   </Marker>
   <Marker>
      <Name>      Episode 5 (05:10)</Name>
      <Time>05:10.067</Time>
   </Marker>
   <Marker>
      <Name>Episode 6</Name>
      <Time>28:04.493</Time>
   </Marker>
   <Marker>
      <Name>      Episode 6 (30:57)</Name>
      <Time>30:57.360</Time>
   </Marker>
   <Marker>
      <Name>      Episode 6 (35:41)</Name>
      <Time>35:41.547</Time>
   </Marker>
</Markers>

The project is currently in the "userful tool for me" stage and has not been tested beyond seeing that it works on the files I needed splitting.

If you're interested in more features or have a file it doesn't work with, send me a note or create an issue and I'll see what I can do!

mp3splitter's People

Contributors

jima80525 avatar welpdx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.