Using ffmpeg to split an Audible audio-book into chapters? Unicorn Meta Zoo #1: Why another...
How can I wire a 9-position switch so that each position turns on one more LED than the one before?
Has a Nobel Peace laureate ever been accused of war crimes?
A faster way to compute the largest prime factor
Why did C use the -> operator instead of reusing the . operator?
As an international instructor, should I openly talk about my accent?
How to open locks without disable device?
How to avoid introduction cliches
What's the difference between using dependency injection with a container and using a service locator?
Expansion//Explosion and Siren Stormtamer
PIC mathematical operations weird problem
finding a tangent line to a parabola
A Dictionary or Encyclopedia of Fantasy or Fairy Tales from the 1960s
What was Apollo 13's "Little Jolt" after MECO?
Is accepting an invalid credit card number a security issue?
What is a 'Key' in computer science?
What's parked in Mil Moscow helicopter plant?
Is there any hidden 'W' sound after 'comment' in : Comment est-elle?
Does Feeblemind produce an ongoing magical effect that can be dispelled?
What is the least dense liquid under normal conditions?
std::is_constructible on incomplete types
What ability score does a Hexblade's Pact Weapon use for attack and damage when wielded by another character?
Multiple fireplaces in an apartment building?
Is it OK if I do not take the receipt in Germany?
How to use @AuraEnabled base class method in Lightning Component?
Using ffmpeg to split an Audible audio-book into chapters?
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionffmpeg and libmp3lame produces bad audio quality?Split video file into pieces with ffmpegffmpeg: problems when copying the audioUsing FFMPEG to stream to Twitch.tv with desktop audio?Desktop audio falls behind when recording microphone + desktop audio + screen using ffmpegHow do I split an audio file into multiple?ffmpeg itsoffset for audio not workingSplit audio into several pieces based on timestamps from a text file with sox or ffmpegffmpeg: Specifying audio stream as filter inputBatch convert (decode) audio into multiple formats with ffmpeg
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I've been following this answer to use ffmpeg
to convert and play some of my Audible audio-books in LinuxMint. Each book is a single source-file, but I've noticed that ffmpeg
lists all the chapters at the start of conversion.
Is there a way to get ffmpeg
to split the the book into chapters - convert each chapter into separate files (split by chapters)? Preferably by ffmpeg
alone, but using other programs/scripts (together with ffmpeg
) is also an option...
(I've seen a few other answers about splitting DVDs into chunks of even lengths or into chapters (using ffmpeg
and a python-script), but that's not quite what I'm after, so I'm hoping it was a simpler way of doing it...)
audio ffmpeg
add a comment |
I've been following this answer to use ffmpeg
to convert and play some of my Audible audio-books in LinuxMint. Each book is a single source-file, but I've noticed that ffmpeg
lists all the chapters at the start of conversion.
Is there a way to get ffmpeg
to split the the book into chapters - convert each chapter into separate files (split by chapters)? Preferably by ffmpeg
alone, but using other programs/scripts (together with ffmpeg
) is also an option...
(I've seen a few other answers about splitting DVDs into chunks of even lengths or into chapters (using ffmpeg
and a python-script), but that's not quite what I'm after, so I'm hoping it was a simpler way of doing it...)
audio ffmpeg
add a comment |
I've been following this answer to use ffmpeg
to convert and play some of my Audible audio-books in LinuxMint. Each book is a single source-file, but I've noticed that ffmpeg
lists all the chapters at the start of conversion.
Is there a way to get ffmpeg
to split the the book into chapters - convert each chapter into separate files (split by chapters)? Preferably by ffmpeg
alone, but using other programs/scripts (together with ffmpeg
) is also an option...
(I've seen a few other answers about splitting DVDs into chunks of even lengths or into chapters (using ffmpeg
and a python-script), but that's not quite what I'm after, so I'm hoping it was a simpler way of doing it...)
audio ffmpeg
I've been following this answer to use ffmpeg
to convert and play some of my Audible audio-books in LinuxMint. Each book is a single source-file, but I've noticed that ffmpeg
lists all the chapters at the start of conversion.
Is there a way to get ffmpeg
to split the the book into chapters - convert each chapter into separate files (split by chapters)? Preferably by ffmpeg
alone, but using other programs/scripts (together with ffmpeg
) is also an option...
(I've seen a few other answers about splitting DVDs into chunks of even lengths or into chapters (using ffmpeg
and a python-script), but that's not quite what I'm after, so I'm hoping it was a simpler way of doing it...)
audio ffmpeg
audio ffmpeg
asked Feb 6 at 23:09
Baard KopperudBaard Kopperud
4,51842845
4,51842845
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can use ffprobe to get the chapter start and end times with the command...
ffprobe -i fileName -print_format json -show_chapters
You can then use ffmpeg to split at the start and end times...
ffmpeg -i fileName -ss start -to end outFile
Be sure not to use "-t"; that needs a duration to convert. "-ss" and "-to" are time positions in the file.
You'll have to script it to have it done automagically.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499179%2fusing-ffmpeg-to-split-an-audible-audio-book-into-chapters%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use ffprobe to get the chapter start and end times with the command...
ffprobe -i fileName -print_format json -show_chapters
You can then use ffmpeg to split at the start and end times...
ffmpeg -i fileName -ss start -to end outFile
Be sure not to use "-t"; that needs a duration to convert. "-ss" and "-to" are time positions in the file.
You'll have to script it to have it done automagically.
New contributor
add a comment |
You can use ffprobe to get the chapter start and end times with the command...
ffprobe -i fileName -print_format json -show_chapters
You can then use ffmpeg to split at the start and end times...
ffmpeg -i fileName -ss start -to end outFile
Be sure not to use "-t"; that needs a duration to convert. "-ss" and "-to" are time positions in the file.
You'll have to script it to have it done automagically.
New contributor
add a comment |
You can use ffprobe to get the chapter start and end times with the command...
ffprobe -i fileName -print_format json -show_chapters
You can then use ffmpeg to split at the start and end times...
ffmpeg -i fileName -ss start -to end outFile
Be sure not to use "-t"; that needs a duration to convert. "-ss" and "-to" are time positions in the file.
You'll have to script it to have it done automagically.
New contributor
You can use ffprobe to get the chapter start and end times with the command...
ffprobe -i fileName -print_format json -show_chapters
You can then use ffmpeg to split at the start and end times...
ffmpeg -i fileName -ss start -to end outFile
Be sure not to use "-t"; that needs a duration to convert. "-ss" and "-to" are time positions in the file.
You'll have to script it to have it done automagically.
New contributor
New contributor
answered 2 hours ago
NemoNemo
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499179%2fusing-ffmpeg-to-split-an-audible-audio-book-into-chapters%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown