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. |
![]() |
#1 | Link |
Banned
Join Date: Jun 2008
Location: Too north/cold
Posts: 63
|
Rather sharpen in realtime?
Hey,
I've noticed (some time ago) that sharpening the video before encoding with x264 raises avg.quants. Does this mean that the video gets more complex, and that I should rather sharpen in realtime (when I'm watching the encoded video) to save bitrate? Last edited by AntiJw; 7th December 2008 at 17:49. Reason: added: (when I'm watching the encoded video) |
![]() |
![]() |
![]() |
#2 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,258
|
Quote:
By the same reasoning that is why we use smoothers/degrainers on movies (e.g. anime) to reduce bitrate I'm not sure what the "realtime" component of your statement has to do with it? Or am I misunderstanding you? Last edited by poisondeathray; 7th December 2008 at 17:43. |
|
![]() |
![]() |
![]() |
#3 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,245
|
Quote:
And yes: Sharpening before encoding will cost additional bits. So with CRF you'd have to expect a bigger file at a given value -and- with 2-Pass you'd have to expect more artifacts at a given bitrate. Nevertheless you have to keep in mind that details, which were lost during the encoding process, are gone forever. No sharpening filter can magically re-create detail at playback time! Therefore I'd test various Psy RDO and Psy Trellis settings and maybe lower the Inloop Filter a bit, before actually deciding to use a sharpening filter. The more crispiness/detail you can preserve in the encoding step, the less sharpening (pre- or post-processing) will be required...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th December 2008 at 18:11. |
|
![]() |
![]() |
![]() |
#4 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,258
|
OK for playback...It makes sense now (Thx. Lord Mulder, I see that he added that...)
Just my opinion, but I think you would get better quality and control over doing the sharpening before. You are sharpening during decoding the original input source to encode, vs. sharpening on playback of a lower quality encode so some details are already lost. You are more prone to undesired artifacts. The downside is that it takes more CPU (encoding time) and uses higher bitrate to sharpen before encoding Also if your PC is old/slow, sometimes sharpening during playback is not an option with h264 HD content. |
![]() |
![]() |
![]() |
#5 | Link |
Banned
Join Date: Jun 2008
Location: Too north/cold
Posts: 63
|
Thanks, I think I'll do very light sharpening when I'm encoding (but not on 1080p), because some people don't like sharpening (instead of sharpening much in advance, I can set higher bitrate, as a result of not sharpening when encoding). I've read that Psy-trellis got some artifacts if setting too high value, so I don't want to overdo that.
I think sharpen is good to do in advance on low-res video, but I'm mostly encoding HD-video. When wanting sharpened picture I can also use spline64resize (sharper result than spline36resize). poisondeathray: Yeah, sry, I forgot the word "playback" :P Last edited by AntiJw; 9th December 2008 at 10:40. |
![]() |
![]() |
![]() |
#6 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,245
|
Quote:
It's a trade-off and you'll need to find the combination that looks best for your eyes... (Note: When you apply pre-sharpening to your source, you must always look at the compressed video. Not at the uncompressed filtered source!)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
![]() |
![]() |
![]() |
#9 | Link | |
Banned
Join Date: Jun 2008
Location: Too north/cold
Posts: 63
|
Quote:
the "odd source" (is it anime/cartoon or grainy sources or other)? |
|
![]() |
![]() |
![]() |
Tags |
quants, realtime, sharpen, sharpening, x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|