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 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th October 2022, 15:09   #1  |  Link
retaining1
Registered User
 
Join Date: Sep 2022
Posts: 5
What is the best filter I should use in this specific case?

I have some files, and I want to reduce their size to 99MB exactly (I use x264 2pass), usually the files are in 720p and average 400~500MB.

I would like to remove the noise to exactly the same as it is in this image below: (left as I want, right is how my encode is coming out).
Can anyone tell me which noise filter I should use?

retaining1 is offline   Reply With Quote
Old 6th October 2022, 17:03   #2  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,716
Bitrate is too low and hence you are getting visible macroblocks in encoded footage.
Atak_Snajpera is offline   Reply With Quote
Old 6th October 2022, 18:14   #3  |  Link
retaining1
Registered User
 
Join Date: Sep 2022
Posts: 5
Quote:
Originally Posted by Atak_Snajpera View Post
Bitrate is too low and hence you are getting visible macroblocks in encoded footage.
Yes, I know that, but this image you see on the left also uses the same bitrate encoding, with 2pass 99MB output, but it uses some filter that smoothes the macroblocks, do you have any idea?
retaining1 is offline   Reply With Quote
Old 6th October 2022, 20:50   #4  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,716
You may try MDegrain filter
Atak_Snajpera is offline   Reply With Quote
Old 7th October 2022, 02:03   #5  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: On a need to know basis.
Posts: 551
Quote:
Originally Posted by retaining1 View Post
I have some files, and I want to reduce their size to 99MB exactly (I use x264 2pass), usually the files are in 720p and average 400~500MB.

I would like to remove the noise to exactly the same as it is in this image below: (left as I want, right is how my encode is coming out).
Can anyone tell me which noise filter I should use?

Firstly, what encoding app are you using ??

And how do you expect to get decent quality at that file size. !!!

I would strongly suggest using some SMDegrain pre or sub filter.

Check this out:-

https://forum.doom9.org/showthread.php?t=182881
__________________
This can be SO "TeDiouS"..
Long term RipBot264 user.

#1 Ryzen 7950X
#2 Intel i9-13900KF
#3 Ryzen 5950X
#4 Ryzen 5900X
#5 Ryzen 3950X
TDS is offline   Reply With Quote
Old 7th October 2022, 23:16   #6  |  Link
retaining1
Registered User
 
Join Date: Sep 2022
Posts: 5
Quote:
Originally Posted by TDS View Post
Firstly, what encoding app are you using ??

And how do you expect to get decent quality at that file size. !!!

I would strongly suggest using some SMDegrain pre or sub filter.

Check this out:-

https://forum.doom9.org/showthread.php?t=182881
Im Using StaxRip, I tried MDegrain, but the encoder time from 4 minutes went up to 3 hours, the problem is not the quality, the quality is exactly the same as the photo on the left, the difference is exactly in the smoothness, the one on the left has the impression of better quality because the macroblocks do not appear(because of the smoothness), but the quality is exactly the same, there is no difference, the difference is the smoothness! I will send you 2 links for you to compare the videos in real time.

take note that the file on the left which I want to get to the same filter, was also encoded at 99mb.

Last edited by retaining1; 10th October 2022 at 23:56.
retaining1 is offline   Reply With Quote
Old 9th October 2022, 13:40   #7  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: On a need to know basis.
Posts: 551
Quote:
Originally Posted by retaining1 View Post
Im Using StaxRip, I tried MDegrain, but the encoder time from 4 minutes went up to 3 hours, the problem is not the quality, the quality is exactly the same as the photo on the left, the difference is exactly in the smoothness, the one on the left has the impression of better quality because the macroblocks do not appear(because of the smoothness), but the quality is exactly the same, there is no difference, the difference is the smoothness! I will send you 2 links for you to compare the videos in real time.

take note that the file on the left which I want to get to the same filter, was also encoded at 99mb.

https://assistonlineapi.online/make/...0abf1d29be9126 (left)

https://assistonlineapi.online/make/...4e0f51ce159062 (my encode)
It would have been better if you had of uploaded the actual file you're working with, instead of that.

But it looks like the "original" is pretty bad quality to start with

Not too much you can do with that..
__________________
This can be SO "TeDiouS"..
Long term RipBot264 user.

#1 Ryzen 7950X
#2 Intel i9-13900KF
#3 Ryzen 5950X
#4 Ryzen 5900X
#5 Ryzen 3950X
TDS is offline   Reply With Quote
Old 9th October 2022, 18:48   #8  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Posts: 270
Quote:
Originally Posted by retaining1 View Post
Can anyone tell me which noise filter I should use?
With which x264 settings is that? default?

I think x264 psy-rd could cause such blocking and does not work well at low rates.

Have you tried with "--tune ssim" or even "--tune psnr" for getting rid of the little blocks? Maybe increase deblock to 1:1 or 2:2 ?
rwill is offline   Reply With Quote
Old 10th October 2022, 05:50   #9  |  Link
retaining1
Registered User
 
Join Date: Sep 2022
Posts: 5
Quote:
Originally Posted by rwill View Post
With which x264 settings is that? default?

I think x264 psy-rd could cause such blocking and does not work well at low rates.

Have you tried with "--tune ssim" or even "--tune psnr" for getting rid of the little blocks? Maybe increase deblock to 1:1 or 2:2 ?
yes default, thank you for your tips, improved a lot, I'm using it too Depth 10-bit, helped.
retaining1 is offline   Reply With Quote
Old 10th October 2022, 06:23   #10  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Posts: 270
Quote:
Originally Posted by retaining1 View Post
yes default, thank you for your tips, improved a lot, I'm using it too Depth 10-bit, helped.
Well don't use 10bit with H.264, its a decoder compatibility nightmare. Low rates do not really benefit much from high bitdepth anyway.
rwill is offline   Reply With Quote
Old 10th October 2022, 23:55   #11  |  Link
retaining1
Registered User
 
Join Date: Sep 2022
Posts: 5
Quote:
Originally Posted by rwill View Post
Well don't use 10bit with H.264, its a decoder compatibility nightmare. Low rates do not really benefit much from high bitdepth anyway.
Thanks for the info, it helped a lot =)
retaining1 is offline   Reply With Quote
Reply

Tags
encoding, filter, staxrip

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 20:54.


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