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. |
|
|
Thread Tools | Search this Thread | Display Modes |
14th May 2022, 13:01 | #1 | Link |
Registered User
Join Date: May 2021
Posts: 16
|
1080p vs 2160p which source should we use for encoding
lets say 1080p x264 file size is 3GB and 2160p x265 file size is 6GB. i know it's kind of foolish question because both file has different encode settings and codec. but in general which source should i use if i want to use for encode in x265 1080p resolution?
is there any common rule like if a x264 1080p size is X, then normally A x265 2160p size will be preferably Y? in terms of math calculation. not going for encode settings etc. Last edited by iKron; 14th May 2022 at 13:07. |
14th May 2022, 18:23 | #2 | Link | ||
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Quote:
Quote:
|
||
14th May 2022, 20:42 | #3 | Link | ||
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
|
Quote:
I assume both the FULL HD and the UHD sources are 4:2:0, but the FULL HD one is 8bit and the UHD one is 10bit planar. Here's an interesting idea: unless you have hardware compatibility in mind (i.e BD players etc), you can do the following Step A) Index the 3840x2160 4:2:0 UHD 10bit source in Avisynth Step B) Downscale the luma to 1920x1080 but leave the chroma as it is (given that it's 4:2:0 it will be 1920x1080) Step C) Merge the downscaled luma with the original chroma Step D) Encode with x265 to get a glorious FULL HD 10bit 4:4:4 with full chroma resolution. You're welcome EDIT: Not my best script, but assuming the UHD source is BT709 SDR Quote:
Last edited by FranceBB; 14th May 2022 at 20:50. |
||
15th May 2022, 09:24 | #4 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,309
|
I suggest instead the following for high bits :
Code:
video= "your source filter High bit depth 4:2:0" Y=PlaneToY(video,"Y").SincResize(1920, 1080, src_left=-0.50, src_top=0) U=PlaneToY(video,"U") V=PlaneToY(video,"V") YtoUV(U,V,Y)
__________________
My github. |
16th May 2022, 22:20 | #5 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,752
|
That said, 4:4:4 chroma isn't really going to make a visible difference in natural continuous-tone images. It's most useful for things like screen recordings and highly saturated text with tapered serifs.
|
17th May 2022, 06:07 | #7 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
|
Well but it's nice to have for free given that he's gonna downscale to FULL HD anyway and that monitors are RGB so the chroma must match luma anyway and this way it won't be downscaled in encoding and upscaled in playback but it will stay as is instead. That being said, call me crazy but while modern TVs do their fair share of processing with fairly good chroma upscaling on live feeds, when I'm watching something live on my computer and I can't go through a proper player and I have to rather use a browser like chrome (BBC iPlayer, ITV Hub, All 4, 5 USA, CBS etc) chroma is upscaled with point resize / nearest neighbour and I can see it, especially on red surfaces.
|
17th May 2022, 09:08 | #8 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
I think that a bigger problem with chroma is that x265 destroys the red component, no matter if you use a heavily negative QP offset or whatever. I guess it does the same to blue as well but it's much more difficult to see.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
27th July 2022, 10:45 | #10 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
This is an old problem with x265 and cannot be avoided. I doubt it will ever be fixed since the project has been inactive for so long already.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
Thread Tools | Search this Thread |
Display Modes | |
|
|