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. |
26th January 2022, 06:05 | #201 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
By the way, what is the difference between converting the format and resizing in the same z_ConvertFormat call and doing it in two different calls (resizing first, then converting to the final format)? I tested it yesterday and there seems to be a rather noticable performance drop if you use two calls.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
26th January 2022, 10:20 | #202 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
|
Quote:
No matter if the source is 8bit, 10bit or 12bit planar, I always bring everything to 16bit planar, filter everything out and feed the encoder with the 16bit input. My outputs are always 10bit, so x264 will dither it down using the Sierra-2-4A algorithm, while x265 will use... something else. Speaking of which, what will x265 use with --dither? I mean, which algorithm? I know we've been having this conversation before but I forgot xD |
|
26th January 2022, 10:51 | #203 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
I try to do everything in one go (if possible). Sometimes doing 2 steps can be detrimental. For example, I saw this script in another thread:
Quote:
Edit: re-reading the last few post, seems my comment is somewhat not related to the discussion. But, I'll leave it here since it's still relevant to the thread. I should be asleep lol. Last edited by Reel.Deel; 26th January 2022 at 11:03. Reason: Wrong quote |
|
26th January 2022, 11:35 | #204 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
27th January 2022, 01:51 | #205 | Link | |
Registered User
Join Date: Jul 2018
Posts: 450
|
Quote:
Code:
z_ConvertFormat(pixel_type="rgbps", colorspace_op="709:709:709:l=>rgb:linear:709:f", chromaloc_op="left=>left") z_BicubicResize(x, y) z_ConvertFormat(pixel_type="yuv420p16", colorspace_op="rgb:linear:709:f=>709:709:709:l", chromaloc_op="left=>left") Code:
z_ConvertFormat(pixel_type="rgbps", colorspace_op="709:709:709:l=>rgb:linear:709:f", chromaloc_op="left=>left") z_ConvertFormat(x, y, pixel_type="yuv420p16", colorspace_op="rgb:linear:709:f=>709:709:709:l", chromaloc_op="left=>left") |
|
15th April 2022, 04:52 | #206 | Link |
Registered User
Join Date: Jul 2018
Posts: 450
|
avsresize_r13 (pass: f0MNKlTxVxl5):
- zimg@dd4c4df; - use_props= -1: If frame properties are supported - if every option of colorspace_op and chromaloc_op (for src/dst colorspace with subsampling w/h > 0) are specified and different than "auto", 0, otherwise 1. |
15th April 2022, 08:29 | #207 | Link | ||
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
|
Quote:
Quote:
to deliver a cool nice 75% ref white HLG output. Cheers, Frank |
||
18th April 2022, 15:44 | #208 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Using props=4 causes an access violation on my system. Tested with this:
z_ConvertFormat(pixel_type="RGBPS", chromaloc_op="auto=>same", colorspace_op="auto:auto:auto:auto=>rgb:linear:same:full", approximate_gamma=true, cpu_type="AVX2", use_props=3) z_ConvertFormat(pixel_type="YUV420P16", chromaloc_op="auto=>same", resample_filter="Bicubic", resample_filter_uv="Bicubic", filter_param_a=0, filter_param_b=0.6, width=960, height=720, cpu_type="AVX2", dither_type="none", approximate_gamma=true, use_props=4)
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
19th April 2022, 06:00 | #209 | Link |
Registered User
Join Date: Jul 2018
Posts: 450
|
avsresize_r14 (pass: QOvyNpMf5TyF) - fixed regression (r12) when reading frame properties (use_props=3/4).
|
19th April 2022, 07:10 | #210 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
6th July 2022, 15:18 | #218 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Stephen R. Savage is the original author of avsresize (and z.lib). He released the first version of avsresize (r1) back in 2016 and then some periodic updates. The last update was r1d in March of 2018. StvG then continued updating the plugin ever since, up to r14 now.
|
6th July 2022, 16:07 | #219 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
Quote:
|
|
2nd August 2022, 17:03 | #220 | Link |
Registered User
Join Date: Dec 2017
Posts: 90
|
I've a quick question about z_ConvertFormat. Does it write any usually not visible metadata to the clip that a software like ffmpeg can use? A friend reported that in conjunction with ffmpeg, using this filter (just doing a straight conversion to the same color space) can result in changes to the output file in terms of metadata, transfer characteristic specifically.
Of course this doesn't have to be a bad thing per se, but it would be good to know. |
|
|