We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change
'%(ffmpeg)s -y -acodec copy -t %(duration)s -ss %(start)s -i %(outfile)s %(infile)s'
with
'%(ffmpeg)s -i %(outfile)s -y -acodec copy -t %(duration)s -ss %(start)s %(infile)s'
in "m4b.py" to fix the "Unknown decoder 'copy'" problem.
The text was updated successfully, but these errors were encountered:
this is how i did it
on line 289 of m4b.py:
values = dict(ffmpeg=args.ffmpeg, duration=str(chapter.duration()), start=str(chapter.start), outfile=encoded_file, infile=fname) - split_cmd = '%(ffmpeg)s -y -acodec copy -t %(duration)s -ss %(start)s -i %(outfile)s %(infile)s' + split_cmd = '%(ffmpeg)s -y -t %(duration)s -ss %(start)s -i %(outfile)s -acodec copy %(infile)s' log.info("Splitting chapter %2d/%2d '%s'..." % (chapter.num, len(chapters), chapter_name)) log.debug('Splitting with command: %s' % (split_cmd % values))
Sorry, something went wrong.
No branches or pull requests
Change
'%(ffmpeg)s -y -acodec copy -t %(duration)s -ss %(start)s -i %(outfile)s %(infile)s'
with
'%(ffmpeg)s -i %(outfile)s -y -acodec copy -t %(duration)s -ss %(start)s %(infile)s'
in "m4b.py" to fix the "Unknown decoder 'copy'" problem.
The text was updated successfully, but these errors were encountered: