mp3splt icon indicating copy to clipboard operation
mp3splt copied to clipboard

splitting audiobooks: -t option together with -a does not work

Open mp3splt opened this issue 5 years ago • 4 comments

Imported from SourceForge on 2020-09-13 17:10:46 Created by *anonymous on 2015-10-05 18:12:02 Original: https://sourceforge.net/p/mp3splt/bugs/192


I try to split audiobook files into roughly 20 minute chunks, but I want to use silence detection to adjust the actual length of the chunks. Here is what I try:

mp3splt -a -p gap=40,th=-40 -t 20.00 -d folder audiobook.ogg

The problem is, that this command splits exactly at 20 minutes, not regarding the -a option at all. Do I something wrong or is this a bug?

mp3splt -v

returns with

mp3splt 2.6.2 (09/11/14) - using libmp3splt 0.9.2
    Matteo Trotta <mtrotta AT users.sourceforge.net>
    Alexandru Munteanu <m AT ioalex.net>

Thanks

mp3splt avatar Sep 13 '20 22:09 mp3splt

Imported from SourceForge on 2020-09-13 17:10:47 Created by *anonymous on 2015-12-28 10:30:59 Original: https://sourceforge.net/p/mp3splt/bugs/192/#4ede


I'm seeing the same thing with: mp3splt -t 1.00 -a -p th=-55,min=0.5,off=0.5

Splitpoints are being generated in the middle of words :-(

mp3splt avatar Sep 13 '20 22:09 mp3splt

Imported from SourceForge on 2020-09-13 17:10:49 Created by *anonymous on 2015-12-28 10:54:06 Original: https://sourceforge.net/p/mp3splt/bugs/192/#66e9


I just tried with: mp3splt -s -p th=-55,min=0.5,off=0.5

same thing. So it seems silence detection in general isn't working properly.

mp3splt avatar Sep 13 '20 22:09 mp3splt

Imported from SourceForge on 2020-09-13 17:11:18 Created by io_alex_2004 on 2015-12-28 20:41:57 Original: https://sourceforge.net/p/mp3splt/bugs/192/#4e15


Hi,

Please try by adding shots=2

mp3splt -s -p th=-55,min=0.5,off=0.5,shots=2

-- Alex

mp3splt avatar Sep 13 '20 22:09 mp3splt

Imported from SourceForge on 2020-09-13 17:11:22 Created by *anonymous on 2015-12-29 10:54:25 Original: https://sourceforge.net/p/mp3splt/bugs/192/#8e07


Yes, it worked! Offsets are sometimes still a bit close to the start of the next word, but overall much more accurate. I found these settings optimal for my file:

mp3splt -s -p th=-55,min=0.5,off=0.2,shots=2,trackjoin=30

mp3splt avatar Sep 13 '20 22:09 mp3splt