Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x262 hangs and produces a 0 KB file if intrinsics are turned on #13

Open
FranceBB opened this issue Oct 30, 2021 · 0 comments
Open

x262 hangs and produces a 0 KB file if intrinsics are turned on #13

FranceBB opened this issue Oct 30, 2021 · 0 comments

Comments

@FranceBB
Copy link

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"

image

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"

image

and it goes on normally

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant