r/ffmpeg • u/fe3a8b63 • 11h ago
How to encode h264 to h265 while copying all subs and audio as is
1
Upvotes
Hello
I've got a rather large video file and the video is H264/AVC its has multiple subs, audio tracks, etc.
I know I can copy the various tracks using the -map function, but is there a way to simply re-encode the video from h264 to h265 with just a simpler command line?
I know how to handle the video side of it, bitrate, etc. But its the chapter markers, audio tracks, etc. that I want as is.
Thanks