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. |
24th March 2020, 15:27 | #62 | Link |
Registered User
Join Date: Aug 2019
Posts: 16
|
First denoise the video
Code:
ffmpeg -i ToS.y4m -vf nlmeans=s=1.5 denoised.yuv Code:
noise_model --fps=24/1 --width=1920 --height=800 --i420 --input-denoised=denoised.yuv --input=ToS.yuv --output-grain-table=film_grain.tbl |
24th March 2020, 18:27 | #63 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,993
|
WOW.
That is truly impressive. This reinforces my belief that film grain modeling is enormously important and will really make 1 Mbps 1080p totally viable. This is a game changing feature for AV1! Do any of the encoders have / plan to integrate this in-loop during encoding? Working with YUV intermediates is pretty painful. |
25th March 2020, 20:55 | #64 | Link | |
Registered User
Join Date: Jan 2019
Location: Canada
Posts: 574
|
Quote:
Anything higher than 0 enables denoising and film grain modeling, however there is not much control on the denoising strength/algorithms used. |
|
27th March 2020, 00:06 | #65 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,560
|
Quote:
|
|
27th March 2020, 01:08 | #66 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,368
|
H264 has Film Grain Modelling, just noone ever used it because its hard to use correctly.
Maybe we get more lucky this time around and enough engineering time is put into it...
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
27th March 2020, 02:23 | #67 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,993
|
Right, I remember a few devices did but very few.
It's so incredibly useful when delivering streaming video though! I wonder, everyone agreed that HE-AAC was better than AAC at lower bitrates. That was never controversial. Since FGM is fundamentally similar, why the resistance from engineers? |
30th March 2020, 06:30 | #68 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,878
|
Quote:
It wasn't mandatory anywhere else, which also was a huge barrier to adoption. It likely could have become quite useful for 720p streaming circa 2010. Fewer pixels, more MIPS, bigger bitrate challenges. It's easy to forget that we have >100x more compute available per pixel for 1080p than we did when the HD optical formats launched. I bet the typical AV1 pixel gets >>1000x more MIPS than a launch Blu-ray or HD-DVD. |
|
23rd April 2020, 11:37 | #69 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
@ benwaggoner For this challenge at really low bitrate, use source with dithering is not really good idea, because local complexity frequency is really high. Never, I will make direct encoding without preprocess with this source like this. Anyway I will try ... I have actually time to lose ... ;-)
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 23rd April 2020 at 11:44. |
|
24th April 2020, 00:03 | #71 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,878
|
Quote:
I could probably knock out a non-dithered version if you'd like to try one. |
|
24th April 2020, 11:28 | #72 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
1) After first analyse, VBV (4 Mbps, 12 kbit) seem useless for 1000 kbps encoding. Defaut crf mode with x265 seem don't have VBV saturation in complexe scene. 2) Paradoxaly, certainely that the more complexe encoding will be 2000 kbps enconding with contrained VBV because you have high buffer saturation in complexe scene. But I have solution for that ... ;-)
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 24th April 2020 at 11:54. |
|
24th April 2020, 20:24 | #73 | Link | |
Registered User
Join Date: Aug 2019
Posts: 16
|
Quote:
Libaom only ever saw the unaltered source file provided by Benwaggoner. |
|
25th April 2020, 13:11 | #74 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
@benwaggoner
use zone option is legal for this challenge? After analyse, end credit is really high bitrate zone in constant quality mode (crf, cq or multipass encoding). before credit zone (frame 14135), bitrate must be at 850 kbps and credit zone is inhabitually long with something like 15% of total frames
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 25th April 2020 at 13:29. |
27th April 2020, 23:15 | #75 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,878
|
It isn't legal in the base version, but I don't mind adding a version with content-specific temporal parameters. The basic test was really to exercise how well the encoder can do with static settings across variable content. But how well is possible no-holds-barred is also interesting.
Quote:
|
|
28th April 2020, 02:31 | #76 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,878
|
I finally got around to posting some encodes comparing x264 --hevc-aq with --aq-mode 4. I reran my old tests using the latest x265 and new parameters. These are 1 Mbps. Just 2-pass VBR at veryslow; the UltraPlacebo versions to follow.
HEVC-AQ AQ-MODE 4 Curious on which the rest of you think is superior. |
28th April 2020, 02:56 | #77 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,878
|
|
28th April 2020, 08:04 | #78 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
Well here really better result with more temporal stability and really better edge reproduction. I have really better result in scene introduction on the bridge (between 26 sec and 40 sec for exemple). We can see (real) mosquitoes flying around the actress' head. Really better result too than your previous placebo encoding for my eyes. - Better subjectif result - Better objectif result (than Ma encoding for exemple). Code:
encoded 17620 frames in 29373.04s (0.60 fps), 1000.00 kb/s, Avg QP:30.93, Global PSNR: 42.353, SSIM Mean Y: 0.9653839 (14.607 dB) Test in progress with better psy setting for better subjective result if I can ...
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 28th April 2020 at 08:30. |
|
28th April 2020, 08:44 | #79 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
@ benwaggoner
Well it's really curious. I Check previous Ma's enconding or TomV's encoding. And Ma's enconding, TomV's encoding or my encoding seem have really better quality than your placebo encoding (particulary in low motion part). You don't have problem with your encoding profil? You are sure that onedrive don't make reencoding (at upload or at download?). Quality is really bad for me. and Beamr 5 encoding are the best for my eyes: really good complexity conservation. Certainely high psy (and good) optimisation. I will try to produce better result.
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 28th April 2020 at 12:11. |
Thread Tools | Search this Thread |
Display Modes | |
|
|