How can I use handbrake to extract a scene without re-encoding - keeping everything the same as the source?

1

How can I use handbrake to extract a scene without re-encoding - keeping everything the same as the source?

I tried

handbrakeCLI.exe -i SourceFile.mkv -o OutputFile.mkv 
--start-at duration:60 --stop-at duration:120

However, it seems to be re-encoding the file. I want it to be the same as the original.

If not handbrake, can ffmpeg do this?

Matt

Posted 2017-03-21T03:31:05.330

Reputation: 5 109

Answers

3

FFmpeg can do this. I don't believe Handbrake can.

ffmpeg -ss 60 -t 60 -i source.mkv -c copy out.mkv

Gyan

Posted 2017-03-21T03:31:05.330

Reputation: 21 016