Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#21 | Link | |
Registered User
Join Date: Oct 2017
Posts: 324
|
Quote:
But for HDR files, the only option is x265 or AV1. I'm using Adobe Media Encoder + Voukoder + Autokroma Influx plugins, first for encoding and second for decoding. the Voukoder plugin has all x265 command line option in a GUI. what commands do you use? |
|
![]() |
![]() |
![]() |
#22 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,166
|
HDR is usually going to be at least 10bit 4:2:0 . Not as many comparison tests for lossless compression HDR scenario
--lossless is the only required switch for x265. The other options can make it slightly better or worse in terms of compression ratio (it varies) . In general a longer GOP has diminishing returns, just don't use --keyint 1 if the goal is compression. HDR settings would be the same as the input file if you want to retain the metadata |
![]() |
![]() |
![]() |
#23 | Link | |
Registered User
Join Date: Oct 2017
Posts: 324
|
Quote:
Last edited by PCU; 10th October 2021 at 22:38. |
|
![]() |
![]() |
![]() |
#25 | Link |
Lost my old account :(
Join Date: Jul 2017
Posts: 292
|
Did a quick test a year or two ago with a 1min sample from an 1080p24 bluray:
Original: 179 MiB x264 (preset veryslow, crf 0): 733 MiB x264 (preset fast, crf 0): 765 MiB x265 (preset veryslow, lossless): 808 MiB FFV1: 831 MiB JPEG2000: 932 MiB x265 (preset fast, lossless): 934 MiB Ut Video: 1.30 GiB HUFFYUV: 1.87 GiB Uncompressed: 4.17GiB Last edited by excellentswordfight; 11th October 2021 at 21:44. |
![]() |
![]() |
![]() |
#26 | Link | |
Registered User
Join Date: Oct 2017
Posts: 324
|
Quote:
|
|
![]() |
![]() |
![]() |
#27 | Link |
Registered User
Join Date: Dec 2001
Posts: 1,215
|
The website for YULS states that it has a maximum resolution of 1024 x 768. If this is true, I can't see that codec being very useful these days, as most people are going to have footage larger than that.
Lagarith ought to fall somewhere between UTvideo and FFV1. |
![]() |
![]() |
![]() |
#28 | Link | |
Registered User
Join Date: Oct 2017
Posts: 324
|
Quote:
What about AV1? For HDR, the only option is x265 for now. |
|
![]() |
![]() |
![]() |
#29 | Link |
Lost my old account :(
Join Date: Jul 2017
Posts: 292
|
Dunno about YULS, I only tested ffmpeg bundled codecs thats why lagarith wasnt inlcuded, as Zarxrax mentioned, it should be somewere between UT Video and FFV1.
I tried AV1 lossless, but its so slow that I didnt even bother letting it finish. Someone that has a faster CPU/has more interested in tuning it for some speed maybe can give an comparison on how good the compression is in lossless mode. But I'm pretty sure that it will keep being to slow offer any real life value when in comes to lossless compression for quite some time. Why is x265 the only option for HDR? As long as the codec supports the pixel format it should be fine for HDR content, no? Are we discussing real world applications here? Is there a specific workflow need that you have for these lossless questions or are we just talking compression in general? Last edited by excellentswordfight; 12th October 2021 at 12:15. |
![]() |
![]() |
![]() |
#30 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,438
|
Quote:
|
|
![]() |
![]() |
![]() |
#32 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,438
|
Do AV1 encoders generally enable the lossless option? x265 via command line is the only HEVC encoder that does off the top of my head.
AV1 encode is generally quite slow and decode is as well. And in many/most cases a lossless AV1 would be going through software decode to due level requirements, so even slower to use in practice. Off the top of my head I can't think of any reason AV1 would have a material file size advantage over HEVC for the lossless case. |
![]() |
![]() |
![]() |
#33 | Link |
Registered User
Join Date: Sep 2005
Posts: 178
|
I have several TB of lossless footage so I've spent a lot of time researching them. To summarize what I've found:
Last edited by `Orum; 13th October 2021 at 04:48. |
![]() |
![]() |
![]() |
#34 | Link |
Registered User
Join Date: Oct 2017
Posts: 324
|
Thanks guys.
It is true that the conversion speed is very important, but more importantly, the volume of the compression is much more important, because the space occupied on the disk is very important. Placebo preset was terribly slow using the latest Voukoder (Adobe Media Encoder). Last edited by PCU; 10th January 2022 at 09:49. |
![]() |
![]() |
![]() |
#36 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,515
|
Quote:
BT2020 with HLG or PQ transfer characteristics yes, but not in the .avi container. I think .mkv and .mov both support it, but I can't test right now as I'm on my mobile. The only thing that it doesn't support is dynamically changing metadata, so no Dolby Vision nor HDR10+, but you can totally have HDR10 or even different kind of HDR with 12, 14 or 16bit planar precision. |
|
![]() |
![]() |
![]() |
#37 | Link | |
Registered User
Join Date: Oct 2017
Posts: 324
|
Quote:
HDR10+ might be be possible with ffv1 in Matroska with no changes to the specification but i think no implementation supports this ATM. ive send the developer who implemented HDR10+ with vp9 in matroska in ffmpeg a mail asking why he didnt implemented it more generically so it would work with any codec in matroska |
|
![]() |
![]() |
![]() |
#38 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,515
|
Quote:
Keep me posted 'cause I'm interested too, by the way. |
|
![]() |
![]() |
![]() |
#39 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,438
|
I'm surprised to hear that x265 isn't reliably producing smaller mathematically lossless files than x264.
The preset/efficiency ratio can be pretty non-constant. I've seen content where going from veryslow to placebo offers a bigger size reduction than going from medium to veryslow. |
![]() |
![]() |
![]() |
#40 | Link | |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,830
|
Quote:
Same with HDR. HDR is nothing more than 10 or 12bit video. Rest is flagging and metadata, but this can be stored in container (so codec itself doesn't need to support HDR flags). MOV, MXF or MKV will work (forget about AVI- old and limited). I would not bother with x265 for lossless. It's terribly slow for no real gain. If you want good speed use ffvhuff. If you don't care about speed ffv1 is safe. If your source is RGB use codec which supports it natively at your desired bit depth. As always- there is no simple answer what is the best. It all depends on your specific case. Some limited numbers for UHD (10bit 4:2:2) source made of BM RAW, Canon RAW and Arri RAW source: x265 lossless (preset=medium, GOP=1) 1740Mbit= 2.44 compression ratio ffv1 lossless (ffmpeg) 1471Mbit=2.89 compression ratio ffvhuff lossless (ffmpeg) 2021Mbit=2.10 compression ratio (10x faster than other 2) High quality source with noise/grain etc. is typically 2-3x (even less sometimes). Anything above 3x will be rather specific case related to "easy" source (CGI, something lossy compressed many times already, etc.). Maybe long GOP is different. x265 lossless (preset=medium, GOP=25) 1724Mbit= 2.46 compression ratio - not much gain over I frame only Last edited by kolak; 15th April 2022 at 17:31. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|