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. |
![]() |
#41 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,501
|
I'm really surprised to see ffv1 outperforming x265 lossless, even with long GOP. About huffyuv, that's what I generally use as intermediate format through the ffvhuff implementation and it's fast enough for my tastes given that the files I produce are really temporary and used in between before getting to the compressed version, but I always thought that x265 would have outperformed ffv1, huffyuv and lagarith by a margin and I didn't expect ffv1 to actually be better than x265. Thanks for your comparison. Next time I would suggest adding UTVideo to the test just to see how it performs in terms of compression and speed.
![]() |
![]() |
![]() |
![]() |
#42 | Link | |
Registered User
Join Date: Oct 2017
Posts: 324
|
Quote:
you mean HDR10+ or something else ? about HDR10+ i did send a mail to the guy who added this for libvpx in ffmpeg with matroska and the same code should work with ffv1 if it was just not intentionally vpx specific i think if i hear nothing back from that guy (plausible) and i dont forget (i tend to forget these things) then ill move it over so it can be used with any codec that should unlock HDR10+ for ffv1 but no way to be 100% sure if thats enough before implementing it i didnt look into dolby vision yet so i cannot comment but i suspect its not hugely different Last edited by PCU; 16th April 2022 at 13:22. |
|
![]() |
![]() |
![]() |
#43 | Link | |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,828
|
Quote:
|
|
![]() |
![]() |
![]() |
#44 | Link | |
Registered User
Join Date: Feb 2020
Posts: 488
|
Quote:
x265 encoder library lossless mode is not very optimised, so it is known, but that is just because it does not yet support SCC, just CABAC. Read this, as you can see reference encoder lossy and lossless are so much better with scc https://www.cambridge.org/core/servi...48770315000116 Not yet even ffmpeg native hevc decoder support it yet, but there are patches from Intel https://patchwork.ffmpeg.org/project...t/?series=2878 While hevc with Ice Lake of Intel is supporting SCC already. JPEG 2000 and AV1 also have lossless modes, last one can outperform (because it has SCC-like already). Grain generation for HEVC can increase it even further (H.274) Last edited by Balling; 19th April 2022 at 01:42. |
|
![]() |
![]() |
![]() |
#45 | Link | |
Registered User
Join Date: Feb 2020
Posts: 488
|
Quote:
|
|
![]() |
![]() |
![]() |
#46 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,277
|
You are banned on the ffmpeg development mailing list. You participated in nothing constructive.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
![]() |
![]() |
![]() |
#48 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,501
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#49 | Link | ||
Lost my old account :(
Join Date: Jul 2017
Posts: 287
|
Quote:
Quote:
edit. Just tried the lossless mode in nvenc for hevc, actually surprisingly good, outperformed x265 preset fast (x265 really is bad for lossless), still both beaten by x264 (at 1080p) at preset fast (which isnt that much slower then nvenc on a modern CPU). x264 lossless mode is actually rather good, but a bit limited in that it doesnt support 10bit (afaik). Last edited by excellentswordfight; 22nd April 2022 at 20:48. |
||
![]() |
![]() |
![]() |
#52 | Link | |
Registered User
Join Date: Dec 2013
Posts: 278
|
Quote:
SCC tools are completely useless except for screen content. It is very strong in video conferencing though. What you did is like saying PNG performs higher than JPEG. CABAC is the entropy coder by the way, not a tool like SCC, you compared an Apple with an Orange. Are you just typing words in google and use some GPT3 model to generate these forum posts ? |
|
![]() |
![]() |
![]() |
#54 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,156
|
Quote:
1920x1080 10bit422 src (709,SDR) test, default settings incl. gop size (lossless outputs verified with psnr) x264 445Mb/s aom-av1 447Mb/s (bloody slow. Basically useless) x265 454Mb/s ffv1 462Mb/s |
|
![]() |
![]() |
![]() |
#55 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 287
|
Quote:
x264 [info]: profile High 4:4:4 Predictive, level 5.1, 4:2:0, 8-bit and when i set high10 I get: x264 [error]: high10 profile doesn't support lossless edit. Hmm when I set --input-depth 10 --output-depth 10 the output is 10bit, but then its not using the High 4:4:4 Predictive profile, its using high10 which --fullhelp say doesnt support lossless (the output is suspiciously low at 500Mbps for 2160p movie content so I dont think its lossless), adding --profile high444 doesnt help. So what switches should I use? edit2. Using: x264 0.164.3079 d9a19f0 (libswscale 6.1.101) (libavformat 59.9.102) (ffmpegsource 3.0.1.0) (lsmash 2.16.1) built on Dec 9 2021, gcc: 11.2.0 x264 configuration: --chroma-format=all libx264 configuration: --chroma-format=all Last edited by excellentswordfight; 23rd April 2022 at 19:10. |
|
![]() |
![]() |
![]() |
#56 | Link | |||
Registered User
Join Date: Sep 2007
Posts: 5,156
|
Quote:
Not sure, I used an old r3000 x264 tmod binary by jpdsr https://github.com/jpsdr/x264/releases I didn't set profile for any of them, they were all "auto". This is what mediainfo said for 3 methods below Quote:
For direct input, I used demuxer lavf , src was prores file . If your binary does not have high bit depth support you won't get that "resize [warning]: converting from yuv422p10le to yuv422p16le" Quote:
Code:
"x264_x64.exe" --demuxer lavf --input-csp i422 --input-depth 10 --input-res 1920x1080 --fps 24000/1001 --output-csp i422 --output-depth 10 --qp 0 -o "x264_demuxerlavf.mp4" "input.mov" Code:
ffmpeg -i "input.mov" -pix_fmt yuv422p10le -f rawvideo - | "x264_x64.exe" --demuxer raw --input-csp i422 --input-depth 10 --input-res 1920x1080 --fps 24000/1001 --output-csp i422 --output-depth 10 --qp 0 -o x264_rawpipe.mp4 - Code:
ffmpeg -i input.mov -an -c:v libx264 -qp 0 libx264.mp4 |
|||
![]() |
![]() |
![]() |
#58 | Link | |
Registered User
Join Date: Jul 2007
Posts: 548
|
Quote:
2) To enable lossless in x264 you should use `--qp 0` (not `--crf 0` especially for 10-bit). 3) To enable 10-bit encoding you should specify `--output-depth 10` (because default is 8 irrespectively of source). Last edited by MasterNobody; 24th April 2022 at 14:04. |
|
![]() |
![]() |
![]() |
#59 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 287
|
Quote:
Last edited by excellentswordfight; 24th April 2022 at 15:16. |
|
![]() |
![]() |
![]() |
#60 | Link | |
Registered User
Join Date: Dec 2013
Posts: 278
|
Quote:
Have you checked the links to the respective different ffmpeg mailing lists here: https://ffmpeg.org/contact.html#MailingLists ? Otherwise I guess you have to pester some ffmpeg admin. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|