-
Notifications
You must be signed in to change notification settings - Fork 157
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
Av1an starts encoding after 2hr #902
Comments
That is a very weird issue. How did you build svt-av1-psy and av1an? You should be getting much much higher speeds than this. |
That's so vague.. no hardware specified, no versions of the software, how the binaries were built etc, no details on what the pc does when encoding (cpu usage, processes, any logging etc).. Anyway, it may just be the OS acting funny, I would try setting more parameters instead of letting the app and the system decide on everything; for example try setting the number of workers and thread-affinity, specify the chunker and in the encoder the level of parallelism. Try also maybe giving a folder for temp files and moving the output to the end idk. There are several ways of setting your workers and thread-affinity: Also more tips: set Im leaving here an example of my command |
This is my av1an build command |
I had tried setting --lp & more advanced parameters but it resulted in the same error. After some research, i saw reccomendations to first try a barebones av1an command so thats what i did |
I did tune 3 only.. typo |
@ItachiUchiha-IU I tried ur thread-affinity & lp options & now, It encoded the first frame after 20min, showing 500s/frame, which later dropped down to a consistent 30s/frame after another 20min. idk if this is normal but still |
As the title says, av1an encodes the first frame after 2 hrs. I tried various options, different chunk methods with vapoursynth plugins & ffmpeg methods, but each time the first frame is encoded after 2hrs & it shows 300s/frame in the progress bar which gradually decreases to 3s/frame after another 2-3hrs. I am using svt-av1-psy with 1pass on ubuntu 22.04.
I think this is an av1an issue because when i tried piping to SvtAv1EncApp through ffmpeg, it started encoding instantly albeit very slow & it could not saturate my cpu. (CPU usage was like 5% with ffmpeg)
This is my av1an command
av1an -i cut.mkv -o out.mkv -w 0 -e svt-av1 -c mkvmerge -v "--preset 2 --tune 2 --crf 44 --rc 0 --fast-decode 2 --input-depth 10 --keyint 240 --film-grain 8" -a "-c:a libopus -mapping_family 1 -af aformat=channel_layouts=5.1 -b:a 320k"
This is my ffmpeg command if neccessary
ffmpeg -i cut.mkv -map 0:v:0 -pix_fmt yuv420p10le -f yuv4mpegpipe -strict -1 - | SvtAv1EncApp -i stdin --preset 2 --keyint 240 --input-depth 10 --crf 44 --film-grain 8 --tune 2 -b outfile.ivf
ffmpeg -i outfile.ivf -i cut.mkv -map 0:v -map 1:a:0 -c:v copy -c:a copy outfile.mkv
I had even tried AlabamaEncoder but it couldnt saturate my cpu with only 5% cpu usage & massive encoding times.
.
The text was updated successfully, but these errors were encountered: