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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th January 2022, 08:11   #1  |  Link
cqustlym
Registered User
 
Join Date: Dec 2021
Posts: 2
Deblock problem

The source is a very grain BlueRay with a high bit rate(37.5Mb/s). There are a few dark scene has block problem so I used filter f3kdb to deblock and zoned those frames with lower crf. But there are new block generate when do the encode. I tried adjusted lower crf but the effect was not good. How can I handle the new block problem?
cqustlym is offline   Reply With Quote
Old 6th January 2022, 11:37   #2  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
You may lower deadzones, restrict ipratio, pbratio
Code:
--level 4.1 --bluray-compat --nal-hrd vbr --aud --keyint <your parameters here> --min-keyint 2 --open-gop --bframes 3 --ref 3 --slices 4 --qpmax 48 --qpstep 4 --ipratio 1.2 --pbratio 1.1 --deadzone-intra 0 --deadzone-inter 0 --vbv-bufsize 30000 --vbv-maxrate 40000 --pic-struct --deblock -1:-1 --weightp 0 --me umh --merange 32 --subme 10 --trellis 2 --psy-rd 1.0:0.15 --videoformat <your parameters here> --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar <your parameters here> --output-csp i420
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 6th January 2022, 12:27   #3  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
Quote:
Originally Posted by cqustlym View Post
I used filter f3kdb to deblock
You used what? xD
f3kdb is a debanding filter, "db" at the end stands for "Debanding" not "Deblocking" XD

On a second though, strong debanding might even try to get a smooth gradient and identifies the differences between macroblocks as an error and therefore fixes blocking? Who knows... Still, you're better off with a real deblocking filter. The reason why I'm saying this is that f3kdb will introduce grain to fight banding, hence making the source more difficult to encode for x264.

Try with Deblock_QED or Unblock and see what happens, otherwise try to lower the amount of grain introduced by f3kdb in the parameters and see if it helps x264.
Other than that, follow Emulgator's suggestion for x264.
FranceBB is offline   Reply With Quote
Old 6th January 2022, 22:43   #4  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
With 8-bit SDR, blocking and banding do go hand-in-hand in low luma.

I'd try --aq-mode 3 for these scenes, which lowers QP in dark regions. It might help.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.