You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you specify a codec option before "-i", you tell ffmpeg how to
decode the input. "copy" cannot be used as a decoder. You can only use
it as an encoder. So, this is okay:
I'm getting an error when using the python script on Windows:
A bit of Googling got me this:
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2013-September/017479.html
So then I opened m4b.py and changed:
split_cmd = '%(ffmpeg)s -y -acodec copy -t %(duration)s -ss %(start)s -i %(outfile)s %(infile)s'
to
split_cmd = %(ffmpeg)s -i %(outfile)s -y -acodec copy -t %(duration)s -ss %(start)s %(infile)s
and that seems to work.
Note: I effectively put all the arguments after the
-i %(outfile)s
So.. the argument order changed for ffmpeg since the script was written? Or was the default order always wrong?
The text was updated successfully, but these errors were encountered: