Commit Graph

175 Commits

Author SHA1 Message Date
cbf75faa58 Added Compression levels for mp3, opus and flac 2021-02-04 01:02:03 +01:00
eceb4e2f09 flag 2021-02-03 16:47:19 +01:00
82b865f55f comments about the reading of chapter infos 2021-02-03 14:24:02 +01:00
d16a47049b Merge branch 'master' into master 2021-02-03 11:07:56 +01:00
ffb7e40961 Way faster chapter splitting
Just a little change in the ffmpeg call, but this massively increases the speed of chapter splitting. (In my first test approximately by a factor of 10.)
2021-02-02 23:01:23 +01:00
dc5309ebc3 Way faster chapter splitting
Just a little change in the ffmpeg call, but this massively increases the speed of chapter splitting. (In my first test approximately by a factor of 10.)
2021-02-02 22:56:09 +01:00
9a674d0127 Use mediainfo to parse additional metadata 2021-02-02 10:53:10 +01:00
9989aa5ad6 Add note about package install on Ubuntu 20.04
gelma@gopt:/tmp/AudioLibro$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal

gelma@gopt:/tmp/AudioLibro$ sudo apt-get install ffmpeg libav-tools x264 x265 bc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libav-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  ffmpeg:i386 ffmpeg

E: Package 'libav-tools' has no installation candidate
2021-01-28 19:05:00 +01:00
b9f21a54f1 Fix typos 2021-01-28 19:01:38 +01:00
32aacd2b42 Continue after interrupt
Until now, when the conversion of a audiobook gets interrrupted during the splitting phase, one has to delete all the output files and restart from beginning.
This can be very uncomfy, especially if it's a long audiobook and the computer did work on it for several hours.
I added some changes, so that one only has to delete the last (incompletely generated) chapter and add "--continue " to the command where CHAPTERNUMBER is the chapter, that has been interrupted while splitting of.
For this to work I mainly just skipped the steps which were already done before interruption with if-conditions.
2021-01-26 23:32:14 +01:00
04b7d9ff45 Print total chapter count when extracting chapters 2021-01-18 11:11:51 +01:00
84d708f217 Remove chapters in "chaptered mode" 2020-07-14 10:21:26 +02:00
624ca434e0 Fix typos 2020-04-17 10:11:51 +02:00
a3ac4fb834 Small updates for Opus and metadata
Forcibly add the track and title metadata to the audio stream.  Fixes missing meta-data with Plex and possibly other programs.
Use the .opus file extension and ogg container for opus files to match recommended practice, and correct detection of opus files in Plex and other programs
2020-04-15 18:27:31 -07:00
2d5902ed6e Fix mkdir: cannot create directory : File name too long On linux file name max is 143 characters. Fix max name to 100 characters 2020-03-05 23:43:53 +01:00
1dfd8ae755 Default noclobber off 2019-10-06 00:00:54 -04:00
7b77b944cf Add no-clobber option to CLI
So the user can abort if the target directory would be overwritten.

Pork:  Remove trailing whitespace
2019-10-01 13:17:18 -06:00
3edb1b2fc8 Create chaptered single-file m4a's/m4b's
- Changes "container" for m4a and m4b to "mp4" as that is
the official container type.
- Changes "extension" checks for m4b to "container" checks
which check for "mp4". This makes it possible to produce
chaptered m4a files as well.
- Needs awk, but I think portable awk code is used. This
should probably be tested on other platforms, like macOS.
- Adds a check for mp4chaps, but that should be included
in the same package as mp4art.
- Only adds chapter data to mp4 files if using single-file
output mode.
2019-05-23 20:22:22 -04:00
93ea984a53 Merge pull request #102 from mithomas/master
Fixed minor doc typos.
2019-03-17 16:28:39 -04:00
010dd7fb2d Fixed minor doc typos. 2019-03-17 16:07:11 +01:00
abafa6285c Fixed minor doc-typos, some EOL whitespace. Fixed #95, fixed #96. 2019-03-16 23:43:41 +11:00
243289c3ab Also add bc to apt-get install list as prompted by script. 2019-03-10 20:55:20 +11:00
13c240ab53 fix file extension in m3u file
Use file extension in m3u file rather than container format.
2018-11-30 08:50:13 +00:00
67a190b0a6 Fix bad argument name in usage 2018-07-22 21:46:15 +01:00
35308ccb11 check for GNU sed, recommend gnu-sed for mac os x if missing 2018-07-02 19:26:15 -04:00
a6da4412b8 Fixing Bad Merge. 2018-06-25 14:17:30 +10:00
6d2768613c Merge branch 'master' into master 2018-06-21 17:25:02 +10:00
101861f41c Fix for chapter length. 2018-06-21 17:21:18 +10:00
1af3f0ebcc Added checks for ffmpeg and ffprobe. 2018-06-21 17:07:47 +10:00
8ebd16ae8b AAXtoMP3: fix possition of dash when replacing colon 2018-06-07 09:26:38 +02:00
db48c6a970 AAXtoMP3: fix how .authcode is located fix issue #60 2018-06-07 09:11:47 +02:00
03f1a58638 Verify aax files options Improvements 2018-06-06 00:39:33 +10:00
9d20609f3c More Refactor, Setting up for user defined file naming using variable names. 2018-06-04 17:11:12 +10:00
71e140259b Refactor some variables for readability. 2018-06-04 16:10:00 +10:00
c2082ccfc0 Big change to DEBUG Output. It now handles lists of vars to dump. Makes the code a little cleaner. 2018-06-03 23:15:31 +10:00
de6d5db3f2 Enhanced DEBUG output for command line options 2018-06-03 15:49:19 +10:00
8327f15ac2 Adding --complete_dir option and documentation 2018-06-03 15:34:56 +10:00
1727d10be3 Fixed usage string 2018-05-26 16:23:12 +10:00
09145b4df2 Fixed an issue with container setting. 2018-05-26 16:16:00 +10:00
84335828d9 Bug Fix, added --chaptered, Readme updates. 2018-05-26 15:27:39 +10:00
eaf75eb2e2 Fixed a regression. m4a and m4b now have coverart. 2018-05-24 15:36:05 +10:00
67d4d05b52 Added in support for m4b, Removed old m4b script. 2018-05-23 23:18:23 +10:00
6f343c9191 Merge branch 'master' into master 2018-05-21 22:19:51 +10:00
ac656f9723 Inserting code comments for the next guy. 2018-05-20 00:50:48 +10:00
e754e83b6b Added big FAT metadata to DEBUG output. 2018-05-19 23:35:11 +10:00
66dc8953ad Enhanced debug flag. 2018-05-19 23:01:34 +10:00
e69b212982 diferentiated between a log and debug message 2018-05-19 21:29:20 +10:00
ccfaf07021 some cleanup 2018-05-19 15:52:38 +10:00
dee0d7e9a0 some cleanup 2018-05-19 15:51:40 +10:00
41a2803e18 some cleanup 2018-05-19 15:48:08 +10:00