Open FranceBB opened 3 years ago
On an Intel Xeon Gold 6238R CPU 56c/112th AVX512 capable, when using all the intrinsics the encode hangs and then eventually crashes. This is an example:
AVS Script:
ColorBars(1920, 1080, pixel_type="YV12") Converttoyv16() ChangeFPS(25)
BAT File:
x262_64.exe "D:\Temp\AVS Script.avs" --mpeg2 --preset medium --level high --profile 422 --bitrate 50000 --vbv-maxrate 50000 --vbv-bufsize 17825792 --keyint 12 --bframes 2 --no-scenecut --open-gop --deblock -1:-1 --overscan show --colormatrix bt709 --range tv --transfer bt709 --colorprim bt709 --videoformat component --nal-hrd cbr --output-csp i422 --output "\\mibctvan000\Ingest\MEDIA\temp\raw_video.m2v"
Disabling intrinsics makes it work.
In other words, adding --asm 1 makes it work correctly:
x262_64.exe "D:\Temp\AVS Script.avs" --mpeg2 --preset medium --level high --profile 422 --bitrate 50000 --vbv-maxrate 50000 --vbv-bufsize 17825792 --keyint 12 --bframes 2 --no-scenecut --open-gop --deblock -1:-1 --overscan show --colormatrix bt709 --range tv --transfer bt709 --colorprim bt709 --videoformat component --nal-hrd cbr --output-csp i422 --asm 1 --output "\\mibctvan000\Ingest\MEDIA\temp\raw_video.m2v"
and it goes on normally
On an Intel Xeon Gold 6238R CPU 56c/112th AVX512 capable, when using all the intrinsics the encode hangs and then eventually crashes. This is an example:
AVS Script:
BAT File:
x262_64.exe "D:\Temp\AVS Script.avs" --mpeg2 --preset medium --level high --profile 422 --bitrate 50000 --vbv-maxrate 50000 --vbv-bufsize 17825792 --keyint 12 --bframes 2 --no-scenecut --open-gop --deblock -1:-1 --overscan show --colormatrix bt709 --range tv --transfer bt709 --colorprim bt709 --videoformat component --nal-hrd cbr --output-csp i422 --output "\\mibctvan000\Ingest\MEDIA\temp\raw_video.m2v"
Disabling intrinsics makes it work.
In other words, adding --asm 1 makes it work correctly:
x262_64.exe "D:\Temp\AVS Script.avs" --mpeg2 --preset medium --level high --profile 422 --bitrate 50000 --vbv-maxrate 50000 --vbv-bufsize 17825792 --keyint 12 --bframes 2 --no-scenecut --open-gop --deblock -1:-1 --overscan show --colormatrix bt709 --range tv --transfer bt709 --colorprim bt709 --videoformat component --nal-hrd cbr --output-csp i422 --asm 1 --output "\\mibctvan000\Ingest\MEDIA\temp\raw_video.m2v"
and it goes on normally