272
Do you prefer x264 or 265 HEVC?
(lemmy.ml)
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
It really is awesome. Lots of leaps forward for AV1 recently. It encodes faster than x265 in some situations with so much space saved. It's still in the early stages, really, and the compression isn't perfect, but for video streaming purposes, I'll take it over x265 any day.
on ffmpeg?
I tested it like 6months to a year ago I think, and it had similar storage requirement at similar visual fidelity but transcoding took what seemed 5x to 10x the time
/e: for future reference, I'm testing a transfer to transcoding to AV1 instead of hevc
ffmpeg -i /path/to/infile -c:v libsvtav1 -preset 9 -svtav1-params tune=0:enable-overlays=1:scd=1:scm=0:fast-decode=1 -crf 50 -g 240 -pix_fmt yuv420p10le /path/to/outfile
These are a mix of what I read here:
https://gist.github.com/BlueSwordM/86dfcb6ab38a93a524472a0cbe4c4100
and here:
https://trac.ffmpeg.org/wiki/Encode/AV1
general gist:
preset is encoding speed, higher is faster, this setting gets me a bit faster than what i had my hevc encode set up
tune=0 tunes for being good looking
fast-decode lessens cpu use on decode
crf 50 seems fine for my use
-g 240 changes keyframe insertion to every 240 frames
-pix_fmt yuv420p10le gives 10bit color depth which helps with dark scenes and doesn'T cost much space
On ffmpeg, yeah. I can get close to real-time encoding with the new version of libsvtav1 and I save space with around the same visual fidelity as x265, at least, in my experience. If you want to try it out, I recommend using the ab-av1 tool, which automatically finds the best CRF to VMAF for encoding.
edit: Transcoding speeds, I don't find that it's slow, even if I'm using software for transcoding, though I've only been using it for my Jellyfin server for about a month or so.
how is the support for AV1 on devices? can most play it back? does plex support it?
"Most 2020 and newer 4K TVs have AV1 HW decoding support.
Apple hasn't added AV1 hardware to any of their devices yet but they are easily capable of software decoding 1080p AV1.
These smartphone chips support AV1 hardware decoding: MediaTek Dimensity 1000 and newer All Google Tensor chips Samsung Exynos 2200 Qualcomm Snapdragon 8 Gen 2
Streaming devices with HW AV1 support: Amazon Fire TV Stick 4K Max Amazon Fire TV Cube 3rd Gen Google Chromecast with Google TV HD Onn. Google TV 4K Streaming Box Xiaomi TV Stick 4K Xiaomi TV Box S 2nd Gen
Roku Streaming Stick 4K 3820 Roku Streaming Stick 4K+ 3821 Roku Ultra 4800 Roku Ultra LT 4801 Roku Ultra 4802 /!\ Roku is not recommended for anime since it apparently does not support ASS or PGS subtitles
PC stuff: CPUs: Intel's Tiger Lake (mobile 11th gen), Rocket Lake (desktop 11th gen) and newer support AV1 HW decoding. AMD's Rembrandt (mobile 6000 series), Raphael (desktop 7000 series) and newer support AV1 HW decoding. 10+ year old desktop computers with a decent CPU are capable of software decoding 1080p AV1.
GPUs: Nvidia's RTX 3000 series and newer support AV1 HW decoding. AMD's RX 6000 series (except RX 6400 / 6500 XT) and newer support AV1 HW decoding. All Intel ARC GPUs support AV1 HW decoding.
People can use YouTube to check for AV1 hardware support on their current devices. Just turn on Stats for Nerds and play a video. It will show you the codec you're using and YouTube defaults to AV1 if your device supports it. If your CPU usage is low during playback, it's successfully using the HW decoder." also yes plex supports it afaik.
Dunno about Plex, but Jellyfin supports AV1 direct play just fine. Just not on Roku, which I mainly use it on. I'm a small-time contributor on the Roku version, though, and there's progress towards AV1 support, at least.