This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

x265 encoding error.
#16
Okay, so instead of staying with one issue until it is fixed you start talking about other problems,.... Sad

Regarding 1:
Okay, so what changed is that in 2024.05.05.1 Hybrid loaded the script through import, while in 2024.05.11.1 it tries to load the script directly.
Which makes sense since no additional processing in Hybrid is done.
Problem is: The script is not compatible with Hybrid since it does not load its dependencies.
=> The proper way is to fix your script, to load the dependencies it uses.
As a workaround it might also work to do additional filtering in Hybrid, since this should trigger Hybrid to create a wrapper script.
BUT, this will not fix your second problem (2.).

Regarding 2:
Hybrid uses avsInfo to analyse .avs and MediaInfo to analyse .mkv input for the color matrix.
In the script you used:
MKV="C:\Users\cebol\Desktop\ENCODES\HYBRID\Los juegos del hambre - Balada de pajaros.mkv"

BL=FFVideoSource(MKV).z_ConvertFormat(bit_depth=16).libplacebo_Tonemap(src_csp=3, dst_csp=1).z_ConvertFormat(pixel_type="YUV420P16", chromaloc_op="top_left=>top_left", resample_filter="spline36")
EL=FFVideoSource(MKV.ReplaceStr(".mkv", "_EL.mkv"))

MapNLQ(BL, EL)
z_ConvertFormat(pixel_type="YUV420P10", dither_type="error_diffusion")


z_Spline36Resize(dither="error_diffusion", 1920, 804, 0, 276, -0, -276)

#Prefetch(2)

SelectRangeEvery(8000,10)

#z_ConvertFormat(colorspace_op="2020ncl:2020:2020:limited=>2020ncl:2020:2020:limited", dither_type="error_diffusion")


#return last
You commented out the lines which set the color matrix and return the clip.
So this clip has no color matrix info and the only thing possible to do is: guess

That said, current avsInfo does not analyse the matrix info.
So if you want this to be fixed, create a sample script with sample file and all the dependencies used.
The script:
a. needs to load the dependencies
b. the script needs to set the color matrix and return a clip

This way I can reproduce the problem and try to adjust avsInfo to read the color matrix.

Regarding 3:
The autocrop uses ffmpeg or mplayer, my guess is they have problems with the script.
=> like with 1.&2. I need a working script with dependencies to reproduce the problem.

Regarding 4:
Yes, avsInfo does not look for the color matrix info.

Cu Selur

Ps.: The proper way to overwrite the input values would be to use "Filtering->Misc->Overwrite input"
PPs.: I'm not sure avisynth even signals the color matrix on the output. (I suspect it does not, but I'll try to find some info on this.)
PPPs.: You can try to open your script with avsViewer to check whether the preview works.
Reply


Messages In This Thread
x265 encoding error. - by murriato - 16.08.2024, 16:28
RE: x265 encoding error. - by Selur - 16.08.2024, 16:43
RE: x265 encoding error. - by murriato - 16.08.2024, 16:51
RE: x265 encoding error. - by Selur - 16.08.2024, 16:58
RE: x265 encoding error. - by murriato - 19.08.2024, 23:24
RE: x265 encoding error. - by Selur - 20.08.2024, 04:51
RE: x265 encoding error. - by murriato - 20.08.2024, 09:52
RE: x265 encoding error. - by Selur - 20.08.2024, 14:56
RE: x265 encoding error. - by murriato - 21.08.2024, 00:02
RE: x265 encoding error. - by Selur - 21.08.2024, 05:40
RE: x265 encoding error. - by murriato - 22.08.2024, 11:18
RE: x265 encoding error. - by Selur - 22.08.2024, 11:25
RE: x265 encoding error. - by murriato - 25.08.2024, 21:22
RE: x265 encoding error. - by Selur - 26.08.2024, 04:52
RE: x265 encoding error. - by murriato - 31.08.2024, 02:37
RE: x265 encoding error. - by Selur - 31.08.2024, 07:08
RE: x265 encoding error. - by Selur - 31.08.2024, 07:16
RE: x265 encoding error. - by Selur - 31.08.2024, 09:00
RE: x265 encoding error. - by Selur - 31.08.2024, 10:05
RE: x265 encoding error. - by murriato - 16.09.2024, 23:50
RE: x265 encoding error. - by Selur - 17.09.2024, 03:56
RE: x265 encoding error. - by murriato - 18.09.2024, 01:48
RE: x265 encoding error. - by Selur - 18.09.2024, 05:21
RE: x265 encoding error. - by Selur - 18.09.2024, 18:08
RE: x265 encoding error. - by murriato - 19.09.2024, 01:29
RE: x265 encoding error. - by Selur - 19.09.2024, 05:25
RE: x265 encoding error. - by murriato - 26.09.2024, 13:10
RE: x265 encoding error. - by Selur - 26.09.2024, 13:23
RE: x265 encoding error. - by murriato - 26.09.2024, 15:44
RE: x265 encoding error. - by Selur - 26.09.2024, 15:45
RE: x265 encoding error. - by murriato - 02.10.2024, 01:43
RE: x265 encoding error. - by Selur - 02.10.2024, 04:53
RE: x265 encoding error. - by murriato - 03.10.2024, 00:45
RE: x265 encoding error. - by Selur - 03.10.2024, 06:22

Forum Jump:


Users browsing this thread: 6 Guest(s)