Maybe the issue could be this commit. When the seconds pass starts the audiorenderer is not created would be my assumption.
Beiträge von Kleinrotti
-
-
I can confirm this problem now. Since I have upgraded from Version 2.1.0 to 2.2 I also have this problem with 2 pass.
Edit: When the second pass starts this error appears at every frame:
Code
Alles anzeigen[14:32:44] Frame #13452: vRender: 33 us, vProcess: 6 us, vEncoding: 1463 us, Latency: 1543 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13453: vRender: 25 us, vProcess: 5 us, vEncoding: 3438 us, Latency: 3509 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13454: vRender: 26 us, vProcess: 4 us, vEncoding: 5588 us, Latency: 5658 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13455: vRender: 28 us, vProcess: 4 us, vEncoding: 3154 us, Latency: 3223 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13456: vRender: 24 us, vProcess: 5 us, vEncoding: 1264 us, Latency: 1326 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13457: vRender: 21 us, vProcess: 4 us, vEncoding: 37456 us, Latency: 37519 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13458: vRender: 29 us, vProcess: 5 us, vEncoding: 5809 us, Latency: 5878 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13459: vRender: 30 us, vProcess: 4 us, vEncoding: 3632 us, Latency: 3701 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13460: vRender: 25 us, vProcess: 4 us, vEncoding: 1238 us, Latency: 1300 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13461: vRender: 18 us, vProcess: 3 us, vEncoding: 5080 us, Latency: 5136 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13462: vRender: 26 us, vProcess: 5 us, vEncoding: 5938 us, Latency: 6002 us [14:32:44] Aborting audio renderer loop: No audio samples left!. [14:32:44] Frame #13463: vRender: 24 us, vProcess: 4 us, vEncoding: 3604 us, Latency: 3668 us
-
I think this is a ffmpeg issue. There is an older ticket with this problem.
-
Yes SVT-Vp9 and SVT-AV1 are pretty experimental. SVT-HEVC works without the two others fine on my side. I think implementing SVT-HEVC is ok, but with the two others we should wait a while. I have done a lot of encoding and stability tests with SVT-HEVC in voukoder now and everything worked.
Edit: I can upload a Voukoder .prm file with SVT-HEVC included if you want to test some encodings
-
I have implemented SVT-HEVC right now. Doing a pull request tomorrow or Friday which will also include the updated translation
-
Can you please append the complete logfile in in a text file?
But as i can see so far, the vRender latencies are very high for some reason.
-
A single encoding process can only be done by one GPU. What would be possible: If you have multiple encodings like one in Premiere and one in Media Encoder, that you assign each encoding one specific GPU.
Maybe it could be possible that Voukoder supports parallel encoding for Media Encoder in the future, but at this point Vouk has a lot more knowledge.
-
-
The smallest resolution I could set without the exception was 1280x720. I have also tested SVT-Av1 in release mode now with this lower resolution. Premiere freeze hasn't stopped in general, but I could open export window more often without freezing with this lower resolution (something around 3/10 times it works instead of 1/10). For now we should wait a while as you said, before implementing it finally. I will test SVT-HEVC and SVT-VP9 in the next days if they have the same issue in release mode and write my results down here
-
I think that resolution is too low. I'm getting this exception then:
-
I think I have maybe found a fix and an speed improvement in general
Setting the resolution to HD instead of FHD speeds up loading times of every video codec. For SVT-AV1 it means RAM usage only goes at 9 GB and the loading time from 9 seconds to 2,5 seconds in debug mode.
I will test later in release mode. I have attachted a screenshot with the lines in the source code (EncoderUtils.cpp).
-
Yes that would be the best option. I will test SVT-HEVC and SVT-VP9 too if they behave the same.
-
When opening the export window and svt-av1 is initialized to check if the codec is available, the ram usage goes up to 12 GB from 4GB. In visual studio you can also see that there are a lot of threads which are starting when svt-av1 is loaded. This scenario appears only when svt-av1 is loaded. You can see it in the screenshot below
If I skip the check with this code:
Codeif (id == "libsvt_av1") { EncoderInfo encoderInfo; if (EncoderUtils::Create(encoderInfo, jsonResource)) encoderInfos.push_back(encoderInfo); return TRUE; }
everything works normal.
-
It's really strange, sometimes when running premiere it doesn't freeze when opening the export window and I can export a video with svt-av1. But i can't say whats the exact thing that causes the freeze, expect compiling in release mode.
But I have also noticed that opening the export window in premiere when compiled in debug mode, premiere is not responding for 1-3 seconds, but then it gets its act together again.
I think it could be something with the C/c++ optimizations when compiling, because in debug mode it works every time on my side, except the little not responding time.
-
When building everything in debug mode Premiere doesn't freeze and I have also tested an export with SVT-AV1 and it worked. The video file looks good so far But the question is why it does freeze in release mode?
I had also a problem with libx264 in debug mode. I got this error every time when compiling ffmpeg with --enable-libx264:
Code
Alles anzeigenlibavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_parse" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_default_preset" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_apply_fastfirstpass" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_apply_profile" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_picture_init" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_open_158" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_reconfig" in Funktion "reconfig_encoder". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_headers" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_encode" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_close" in Funktion "X264_close". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_delayed_frames" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_maximum_delayed_frames" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2001: Nicht aufgel▒stes externes Symbol "__imp_x264_levels". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_default" in Funktion "X264_init". ffmpeg_g.exe : fatal error LNK1120: 14 nicht aufgel▒ste Externe libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_parse" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_default_preset" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_apply_fastfirstpass" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_apply_profile" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_picture_init" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_open_158" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_reconfig" in Funktion "reconfig_encoder". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_headers" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_encode" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_close" in Funktion "X264_close". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_delayed_frames" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_maximum_delayed_frames" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2001: Nicht aufgel▒stes externes Symbol "__imp_x264_levels". ffprobe_g.exe : fatal error LNK1120: 14 nicht aufgel▒ste Externe make: *** [Makefile:111: ffmpeg_g.exe] Fehler 96 make: *** Es wird auf noch nicht beendete Prozesse gewartet.... make: *** [Makefile:111: ffprobe_g.exe] Fehler 96 LD ffmpeg_g.exe Bibliothek "ffmpeg_g.lib" und Objekt "ffmpeg_g.exp" werden erstellt. LINK : warning LNK4098: Standardbibliothek "LIBCMT" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden. LINK : warning LNK4098: Standardbibliothek "LIBCMTD" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden. libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_default" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_parse" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_default_preset" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_apply_fastfirstpass" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_param_apply_profile" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_picture_init" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_open_158" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_reconfig" in Funktion "reconfig_encoder". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_headers" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_encode" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_close" in Funktion "X264_close". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_delayed_frames" in Funktion "X264_frame". libavcodec.a(libx264.o) : error LNK2019: Verweis auf nicht aufgel▒stes externes Symbol "__imp_x264_encoder_maximum_delayed_frames" in Funktion "X264_init". libavcodec.a(libx264.o) : error LNK2001: Nicht aufgel▒stes externes Symbol "__imp_x264_levels". ffmpeg_g.exe : fatal error LNK1120: 14 nicht aufgel▒ste Externe make: *** [Makefile:111: ffmpeg_g.exe] Fehler 96
Has anyone an idea to solve that error?
-
I installed gcc some time ago... Uninstalled it and the Microsoft compiler is used now and works
-
When building libmfx in debug mode, I got this error: "checking whether the c++ compiler works...no"
The config.log file says this:
Code
Alles anzeigengcc version 9.1.0 (Rev3, Built by MSYS2 project) configure:3804: $? = 0 configure:3793: g++ -V >&5 g++.exe: error: unrecognized command line option '-V' g++.exe: fatal error: no input files compilation terminated. configure:3804: $? = 1 configure:3793: g++ -qversion >&5 g++.exe: error: unrecognized command line option '-qversion'; did you mean '--version'? g++.exe: fatal error: no input files compilation terminated. configure:3804: $? = 1 configure:3824: checking whether the C++ compiler works configure:3846: g++ -MDd -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -pipe -static-libgcc -static-libstdc++ conftest.cpp >&5 g++.exe: error: unrecognized command line option '-MDd'; did you mean '-MD'? configure:3850: $? = 1 configure:3888: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libmfx" | #define PACKAGE_TARNAME "libmfx" | #define PACKAGE_VERSION "1.27" | #define PACKAGE_STRING "libmfx 1.27" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libmfx" | #define VERSION "1.27" | #define MFX_HAVE_WINDOWS 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3893: error: in `/trunk/msys64/home/crott/voukoder/src/libmfx': configure:3895: error: C++ compiler cannot create executables See `config.log' for more details
Building in release mode works fine. I don't now what I am doing wrong when building in debug mode.
-
Unfortunately Premiere seems to hang when opening media export in release mode. Can you reproduce that?
Yes i have that issue in release mode too. I can't test it in debug mode because I could't build some libs with debug mode (there was a g++ error that -MDd was unknown, I'm trying to fix that to test in debug mode).
-
You need to add the new lib to lavf.h.
Thanks, that worked
-
But i got another problem now.