Commit Graph

175 Commits

Author SHA1 Message Date
Nicko98
cbf75faa58
Added Compression levels for mp3, opus and flac 2021-02-04 01:02:03 +01:00
fabh2o
eceb4e2f09 flag 2021-02-03 16:47:19 +01:00
fabh2o
82b865f55f comments about the reading of chapter infos 2021-02-03 14:24:02 +01:00
fabh2o
d16a47049b
Merge branch 'master' into master 2021-02-03 11:07:56 +01:00
Nicko98
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
Nicko98
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
fabh2o
9a674d0127 Use mediainfo to parse additional metadata 2021-02-02 10:53:10 +01:00
Andrea Gelmini
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
Andrea Gelmini
b9f21a54f1 Fix typos 2021-01-28 19:01:38 +01:00
Nicko98
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
andreasziegl
04b7d9ff45
Print total chapter count when extracting chapters 2021-01-18 11:11:51 +01:00
Nico Linder
84d708f217 Remove chapters in "chaptered mode" 2020-07-14 10:21:26 +02:00
Andrea Gelmini
624ca434e0 Fix typos 2020-04-17 10:11:51 +02:00
Ryan Voots
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
73k05
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
KrumpetPirate
1dfd8ae755 Default noclobber off 2019-10-06 00:00:54 -04:00
Benjamin Porter
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
Yozen Hernandez
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
KrumpetPirate
93ea984a53
Merge pull request #102 from mithomas/master
Fixed minor doc typos.
2019-03-17 16:28:39 -04:00
Michael Thomas
010dd7fb2d Fixed minor doc typos. 2019-03-17 16:07:11 +01:00
Brett Randall
abafa6285c Fixed minor doc-typos, some EOL whitespace. Fixed #95, fixed #96. 2019-03-16 23:43:41 +11:00
Brett Randall
243289c3ab Also add bc to apt-get install list as prompted by script. 2019-03-10 20:55:20 +11:00
supremesyntax
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
James Hewitt
67a190b0a6
Fix bad argument name in usage 2018-07-22 21:46:15 +01:00
Dewey Hylton
35308ccb11 check for GNU sed, recommend gnu-sed for mac os x if missing 2018-07-02 19:26:15 -04:00
upuv
a6da4412b8 Fixing Bad Merge. 2018-06-25 14:17:30 +10:00
upuv
6d2768613c
Merge branch 'master' into master 2018-06-21 17:25:02 +10:00
upuv
101861f41c Fix for chapter length. 2018-06-21 17:21:18 +10:00
upuv
1af3f0ebcc Added checks for ffmpeg and ffprobe. 2018-06-21 17:07:47 +10:00
Reidar Cederqvist
8ebd16ae8b AAXtoMP3: fix possition of dash when replacing colon 2018-06-07 09:26:38 +02:00
Reidar Cederqvist
db48c6a970 AAXtoMP3: fix how .authcode is located fix issue #60 2018-06-07 09:11:47 +02:00
upuv
03f1a58638 Verify aax files options Improvements 2018-06-06 00:39:33 +10:00
upuv
9d20609f3c More Refactor, Setting up for user defined file naming using variable names. 2018-06-04 17:11:12 +10:00
upuv
71e140259b Refactor some variables for readability. 2018-06-04 16:10:00 +10:00
upuv
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
upuv
de6d5db3f2 Enhanced DEBUG output for command line options 2018-06-03 15:49:19 +10:00
upuv
8327f15ac2 Adding --complete_dir option and documentation 2018-06-03 15:34:56 +10:00
upuv
1727d10be3 Fixed usage string 2018-05-26 16:23:12 +10:00
upuv
09145b4df2 Fixed an issue with container setting. 2018-05-26 16:16:00 +10:00
upuv
84335828d9 Bug Fix, added --chaptered, Readme updates. 2018-05-26 15:27:39 +10:00
upuv
eaf75eb2e2 Fixed a regression. m4a and m4b now have coverart. 2018-05-24 15:36:05 +10:00
upuv
67d4d05b52 Added in support for m4b, Removed old m4b script. 2018-05-23 23:18:23 +10:00
upuv
6f343c9191
Merge branch 'master' into master 2018-05-21 22:19:51 +10:00
upuv
ac656f9723 Inserting code comments for the next guy. 2018-05-20 00:50:48 +10:00
upuv
e754e83b6b Added big FAT metadata to DEBUG output. 2018-05-19 23:35:11 +10:00
upuv
66dc8953ad Enhanced debug flag. 2018-05-19 23:01:34 +10:00
upuv
e69b212982 diferentiated between a log and debug message 2018-05-19 21:29:20 +10:00
upuv
ccfaf07021 some cleanup 2018-05-19 15:52:38 +10:00
upuv
dee0d7e9a0 some cleanup 2018-05-19 15:51:40 +10:00
upuv
41a2803e18 some cleanup 2018-05-19 15:48:08 +10:00
upuv
10ca1e53e3 some cleanup 2018-05-19 15:41:23 +10:00
upuv
f976940798 getopts update 2018-05-19 15:08:57 +10:00
Josta Yee
710ce0dfbe
Merge pull request #2 from KrumpetPirate/master
merge upstream
2018-04-18 16:34:02 +08:00
thunder-hammer
6ed19fcde2
Update AAXtoMP3
Corrected spelling in usage prompt
2018-04-16 16:09:47 -06:00
KrumpetPirate
219255826b Removed chaptered support from AAC encoding, doesn't seem to function 2018-04-06 11:12:47 -05:00
SendSpams
db014f8f51
Update AAXtoMP3 2018-04-06 07:04:19 +01:00
SendSpams
1d1f738713
Update AAXtoMP3 2018-04-06 07:03:25 +01:00
SendSpams
120f02fe07
Modified to work with missing HOME environment variable under Windows
The HOME environment variable is not set on Windows by default. Instead Windows uses USERPROFILE. It is possible for HOME to be set on Windows but for users who have not done this they will get: `HOME: unbound variable`. I have added a line that sets HOME to USERPROFILE if HOME is missing and USERPROFILE is found. This solves the unbound variable error.
2018-04-06 07:02:00 +01:00
KrumpetPirate
2ae7e326bb Renabled AAC for copy with no re-encode step 2018-03-22 14:06:19 -05:00
Me
15945b18b1 chg: search HOME and local dir for authcode file in this order, first occurence accepted.
Signed-off-by: Me <corbolais@gmail.com>
2018-03-15 00:35:57 +01:00
Me
1031e3ae1d chg: use authcode file located in HOME dir.
Signed-off-by: Me <corbolais@gmail.com>
2018-03-14 16:46:45 +01:00
KrumpetPirate
626bab226a Updated readme for OPUS convertion, gitignore to ignore aax files in directory and output dir 2018-03-13 19:39:02 -05:00
Blade Gunner
d7752b4779 add support for the opus codec
it seems like ffmpeg still has some issues with the native opus
container format (*.opus), so let's use the OGG container format for
now.
2018-03-03 18:09:53 +01:00
KrumpetPirate
0c2c439d55 Removed AAX, causes issues with some audiobooks 2018-02-18 01:13:00 -06:00
KrumpetPirate
da3ca76930
Merge pull request #40 from voltagex/aac
Add support for copying to m4b (no reencode)
2018-02-18 00:29:17 -06:00
KrumpetPirate
a09e502574 Fixed ':' in input file name protocol error 2018-02-18 00:27:31 -06:00
Mark Daku
304594e845 Added m3u playlist support 2018-02-18 17:26:45 +11:00
Adam Baxter
1132602f65 Add support for copying to m4b (no reencode) 2017-11-16 00:16:24 +11:00
Dirk Loeckx
972123a932 Update metadata: track number = chapternum, appended chapter number to track title
track number was eg "Chapter 03", and is now eg 3 . This fits better in most mp3 players.
track title was the book title for all tracks, now it is eg "Book Title - 01 Chapter 1" (same as filename)
2017-10-22 22:54:10 +02:00
Dirk Loeckx
1ac66d1a94 Embedded cover art to (chapter) MP3's 2017-10-22 22:51:41 +02:00
cb1
2fc7329bf5 Update of chapter titles with sortable 0padded numbers
* Removed chapter_padding()
* Fixed $chaptercount
* Redone 0-padded chapter titles with printf()
2017-10-20 14:44:32 +02:00
KrumpetPirate
1017f9a6e7 Updated grep detection with README changes and better colon support 2017-10-12 20:27:04 -05:00
Travis Neeley
c500062c96 Added ggrep detection for OSX 2017-10-09 18:09:43 -05:00
Jens
ee01461f9a Added chapter padding
As discussed in https://github.com/KrumpetPirate/AAXtoMP3/issues/26 I've added a quick and dirty fix to add chapter padding (for audio books containing up to 999 chapters) for non-single conversion mode.
2017-09-06 19:39:02 +02:00
KrumpetPirate
026a52343c Renamed script (dropped extension) 2017-05-14 20:55:37 -05:00