MathewSachin/Captura
在 GitHub 查看Trim tool FFmpeg error on Windows (Unknown decoder 'copy')
Open
#410 建立於 2019年5月18日
bughelp wanted
描述
I found a bug in order of args in trim tool:
ARGS:
-------------
-ss 00:00:00.0000000 -to 00:01:00.0000000 -acodec copy -i "C:\rec.webm" "C:\trimmed_rec.webm"
OUTPUT:
-------------
ffmpeg version N-93880-gc3458f06f4 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.3.1 (GCC) 20190414
... bla-bla
Unknown decoder 'copy'
By little bit of googling, I found the solution lists.ffmpeg.org/why_this_ffmpeg_shell_command_is_wrong:
So, this is okay:
ffmpeg -i input -c:v copy output
This is not okay:
ffmpeg -c:v copy -i input output
So it's true, direct command like this works fine:
ffmpeg -i "C:\rec.webm" -ss 00:00:00.0000000 -to 00:01:00.0000000 -acodec copy "C:\trimmed_rec.webm"
Desktop:
- OS: Windows 10 x64 v1803
- RAM: 8GB
- CPU: i5 2.6GHz
- Graphic Card: GTX760 2GB