Giter VIP home page Giter VIP logo

audiobooks's Introduction

Audiobooks

Audiobooks allows creation of m4b audiobooks from single m4a files.

Cover images and album metadata such as artist, album name and chapter markings are supported.

Current status

Currently it works but you'll have to be careful to fully satisfy all requirements, e.g. software dependencies and correct file metadata on your source material. In the future, those edges will be a little less rough.

Requirements

  • python-mutagen
  • MP4Box from gpac
  • mp4chaps from mp4v2-utils
  • cached_property python module

Installation

This works for Ubuntu:

$ sudo apt-get install python-mutagen gpac mp4v2-utils
$ git clone https://github.com/fheinle/audiobooks.git
$ cd audiobooks
$ sudo python setup.py install

Usage

Currently, Audiobooks requires your files already ripped from CD as mp4 audio, no conversion is done. Also, those files need to be tagged proplery, i.e. with album name, artist name, disc number, track title and track number. You can use ExFalso from QuodLibet if you don't have proper tags.

$ audiobooks /path/to/m4a/files

You should receive an album name.m4b file with chapters and album metadata.

If you want to add a cover image to your audiobook file, that image must already be available as PNG or JPG. You can either name it cover.jpg and place it in the same directory as your audio files, where it will be found automatically or pass its filename explicitly:

$ audiobooks --cover /path/to/cover.jpg /path/to/m4/files

Contributors

License

Gnu General Public License (GPL), Version 2 or later

audiobooks's People

Contributors

fheinle avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

eepgwde

audiobooks's Issues

Metadata editing

Album and artist metadata editing would be nice.

Since we're adding metadata to our output file anyway, why not let the user specify what exactly goes into it? Maybe even allow the user to enter chapter information by hand instead of picking it from m4a metadata.

provide a GUI

Simple GUI using QT or something.

  • choose the folder
  • choose individual files (really?)
  • pick cover art
  • allow changing of metadata

Convert mp3 files

When provided with mp3 files, automatically run ffmpeg or something to convert those files to m4a audio

Cover art downloading

Figure out if there's a service we can use legally to download cover art automatically.

Make sure to pick the right one! I.e. ask the user for verification.

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.