The following warnings occurred:
Warning [2] Undefined array key 1 - Line: 313 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 313 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 314 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 314 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 327 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 327 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once



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.
#1
Hello Mr. Selur, good afternoon, I would like you to check why I get an error when encoding a movie.
Here is some information
Thank you very much  Wink
Reply
#2
Okay, you are feeding an Avisynth script into Hybrid.
MKV="C:\Users\cebol\Desktop\ENCODES\HYBRID\Material Los juegos del hambre - Balada de pajaros cantores y serpientes\Los juegos del hambre DV.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")
Prefetch(2)


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


SelectRangeEvery(8000,400)



return last
Since Avisynth 32bit is selected, Hybrid assumes the Avisynth script belongs to 32bit Avisynth.
The decoder call:
"C:\Program Files\Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\Users\cebol\Desktop\ENCODES\MapNLQ.avs" -an -sn -vf format=yuv420p10le,scale=1920:804 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -sws_flags spline -f yuv4mpegpipe -
fails decoding the script, probably, since it assumes that the script loads everything it nees, which it does not.
Note that Hybrid comes with it's own Avisynth, but your script is only compatible with some external Avisynth.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
Thank you for your prompt response, but it did work before with the previous Hybrid that I had installed.
Reply
#4
Okay, that does not hold any useful information to me.
Since the debug output does not contains the loading of the source, please create another debug output loading the source.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
Hello again Mr. Selur. I'm doing some tests and I keep getting an error. Can the Hybrid program work with an external Avisynth, for example the one I have installed on my PC?
Reply
#6
No.
Hybrid uses its own Avisynth version, to avoid problems with autoloading, not knowing what filters are installed, etc.
You can use external scripts if you write them to be compatible with the used Avisynth version. Alternatively, you can add custom content to the scripts Hybrid creates.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#7
MKV="C:\Users\cebol\Desktop\ENCODES\HYBRID\Material Los juegos del hambre - Balada de pajaros cantores y serpientes\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")
Prefetch(2)


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




return last
Hello Mr. Selur, how could I use this script or change it so that it would work in Hybrid?
Thanks
Reply
#8
You need to explicitly load all its dependencies.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#9
Hello Mr. Selur, I wanted to tell you that I have installed the Hybrid_2024.04.06.1_SETUP.exe version and it works, then I installed the other subsequent ones, Hybrid_2024.05.05.1_SETUP.exe and it also works, but the following ones do not work, starting with Hybrid_2024.05.11.1_SETUP.exe onwards. What has changed so that the others do not work? I am just leaving you the information so that you can look at it if you want.

Thank you very much  Wink
Reply
#10
See https://www.selur.de/changelog for the list of changes.

Encoding call used in 2024.04.06:
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\Users\cebol\Desktop\ENCODES\MapNLQ.avs" -an -sn -vf format=yuv420p10le,scale=1920:1038 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -sws_flags spline -f yuv4mpegpipe - | "C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\Users\cebol\Desktop\ENCODES\MapNLQ.avs" -an -sn -vf format=yuv420p10le,scale=1920:1038 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -sws_flags spline -f yuv4mpegpipe -

Encoding call used in 2024.05.11:

"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\Users\cebol\Desktop\ENCODES\MapNLQ.avs" -an -sn -vf format=yuv420p10le,scale=1920:1038 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -sws_flags spline -f yuv4mpegpipe - | "C:\Program Files\Hybrid\64bit\x265.exe" --input - --fps 24000/1001 --output-depth 10 --y4m --profile main10 --level-idc 5.1 --qg-size 16 --tu-intra-depth 4 --tu-inter-depth 4 --limit-tu 4 --me star --subme 7 --limit-modes --max-merge 4 --no-early-skip --rskip 0 --no-open-gop --opt-ref-list-length-pps --min-keyint 23 --bframes 16 --weightb --ref 5 --rc-lookahead 60 --lookahead-slices 0 --crf 15.00 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --ipratio 1.30 --pbratio 1.20 --rd 4 --psy-rd 2.01 --rdoq-level 2 --psy-rdoq 2.01 --aq-mode 3 --no-cutree --vbv-maxrate 160000 --vbv-bufsize 160000 --hrd --vui-hrd-info --deblock=-3:-3 --no-sao --selective-sao 0 --no-mcstf --range limited --colorprim unknown --transfer smpte2084 --colormatrix bt2020nc --chromaloc 2 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)" --max-cll 3421,178 --hdr10 --hdr10-opt --sar 1:1 --output "C:\Users\cebol\Desktop\ENCODES\HYBRID\2024-08-20@23_41_43_5610_01.265"
For decoding you used the same, for encoding you used x265 with HDR signaling.

I thought that scripts of yours would to hdr to sdr with Avisynth,... (then hdr signaling makes no sense)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)