wait you can recode with the filter?
by default ffmpeg will encode to h264 and vorbis
Code:
ffmpeg -i inputfile.mkv \
-c:v vp8 \
-c:a copy \
-vf "transpose=2,transpose=2" \
outputfile.mkv
that will use whatever defaults vp8 has
to get full list of codecs
ffmpeg -codecs
personally, I do like
Code:
nice -n 19 ffmpeg \
-hide_banner \
-i input.mkv \
-map 0 \
-c:s copy \
-c:a libopus -af aformat="channel_layouts=7.1|5.1|stereo" \
-c:v copy \
-c:v:0 libx265 \
-pix_fmt yuv420p10le \
-preset fast \
-x265-params level=4.1:crf=20 \
output-fast-opus-crf20-10bit.mkv
but adjust the preset and crf depending what kind of speed/quality/size I want/need
crf 20 is probably over the top
28 is the default , but I find I can see difference
take a sample
Code:
ffmpeg -ss 00:04:30.0 -t 00:03:00.0 -i input.mkv -c copy sample.mkv
that will copy a 3min sample starting at 4min 30 seconds
and try different values on the sample
you will see/hear the quality diff, and get an idea of how large the file will be and how long it will take
edit: the bold will effect both the size and quality
ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, or placebo
ultrafast is , well fastest, will make the smallest file but the least quality
veryslow , slowest , largest , best quality
the crf , higher the number the lower the quality/size