Trimming a video oddness

Maybe I’m using the wrong command, but trying to trim a mkv using the following:

ffmpeg -ss 00:00:00 -to 00:45:15 -i source.mkv output.mkv

The file is HEVC encoded with 224k AC3 audio, but my output file is AVC encoded with 112k vorbis audio…. Is there a better command, or some additional commands I should be using that will preserve the video and audio encoding? Thanks.

Posted Mar 24, 2025, 2:33 AM UTC

65

Comments aren't archived yet

This post had 5 comments on Reddit. Comments for this period haven't been loaded into the archive yet.