I added different loglevels and (for loglevel 0 and 1) a progress bar for chapter splitting.
0 = show progress only, chapter splitting shown as progress bar
1 (default) = fewer information, chapter splitting shown as progress bar
2 = as it has been up until now
3 = debug mode
I added different loglevels and (for loglevel 0 and 1) a progress bar for chapter splitting.
0 = show progress only, chapter splitting shown as progress bar
1 (default) = fewer information, chapter splitting shown as progress bar
2 = as it has been up until now
3 = debug mode
Since there is an issue with this fix when applied on flac option, the changes dont take effect on flac.
For more information have a look in KrumpetPirate/AAXtoMP3 issue #142.
Since there is an issue with this fix when applied on flac option, the changes dont take effect on flac.
For more information have a look in KrumpetPirate/AAXtoMP3 issue #142.
Since there is an issue with this fix when applied on flac option, the changes dont take effect on flac.
For more information have a look in KrumpetPirate/AAXtoMP3 issue #142.
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.)
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.)
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
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.
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