Was just about to reencode the audio and splice it back into the video file, but figured since I was encoding the audio, maybe I could play around with reencoding the video. I've been using the SVT-AV1 encoder with ffmpeg. The codec timeline is more or less h264 -> h265 (hvec) -> VP8 -> VP9 -> AV1 so we are on the bleeding edge! Each one claiming 20% smaller size than their predecessor. I've been using AV1 for probably a year now, but mostly for cartoons and kid crap, nothing that I really cared about.
Anyway, as a quick test to get going, I cropped the first 10 minutes of Alien into a separate file, and did a quick encode with
Code: Select all
ffmpeg -i Alien.1979_short.mkv -c:v libsvtav1 -crf 29 -preset 8 -c:a libopus -ab 96K test.mkvTypically after encoding at a questionable rate, I'd skip around in the video looking for high action scenes and make sure they are still clean looking. But I haven't seen this movie since I was like 4 which is nearly 40 years ago. So I didn't want to ruin it by actually watching parts of it. A bit more foo with ffmpeg
Code: Select all
ffmpeg -i Alien.1979.mkv -vf "showinfo" -f null - 2>&1 | grep -oP 'pts_time:\K[0-9.]+|stdev:\[\K[0-9.]+'I was hoping I wouldn't see any spoilers, but these are just images, so should be fine. But the first thing I saw was Ripley with a flamethrower.
Man had a flood of memories come over me. I could now remember watching the movie, but being too young to really comprehend an "alien" or even fear itself. I remember being bored with it. But then I remember some chick with a flame thrower lighting stuff on fire and roasting alien eggs, etc. And I remember being mesmerized by that. That must have been the start of my long term love affair with fire
But anyway, back to comparisons...
The original file weighting in at 7GB in 265 hvec:
zoom: And with -c:v libsvtav1 -crf 29 -preset 8 weighting in at 660MB:
zoom: And after some experiments,
I ended up going with -c:v libsvtav1 -crf 25 -preset 8 weighting in at 870MB:
zoom: Spent probably 3 hours comparing screenshots and making this post
Anyway, kind of impressive. Maybe I should have grabbed the 4k version instead