[FFmpeg-user] [N-46469-gc995644] "Invalid duration specification for t: 00:60:00"?
codecomplete at free.fr
Mon Jan 14 17:09:29 CET 2013
On Mon, 14 Jan 2013 15:35:57 +0000 (UTC), Carl Eugen Hoyos
<cehoyos at ag.or.at> wrote:
>> [C:\]ffmpeg -i input.mp4 -ss 00:59:50 -c:v copy -c:a copy FL.2.mp4
>Assuming your question is why the output file is not
>shorter than the input file:
>If you put -ss time after -i, it means "decode the input until
>(exactly) time, then start encoding", since -codec copy does
>not do any encoding, the parameter is ignored.
No, the problem I have with the second file is that there's no sound
when it's played in VLC, while the first file plays fine.
Maybe I'm just not using the right parameters:
ffmpeg -i input.mp4 -ss 00:00:00 -t 01:00:00 -c:v copy -c:a copy
ffmpeg -i input.mp4 -ss 00:59:50 -c:v copy -c:a copy FL.2.mp4
The file is 1h38mn, and I assume that when not using "-t", ffmpeg will
read until the end of the file.
More information about the ffmpeg-user