<div dir="ltr"><div dir="ltr"><font face="monospace, monospace">Hi.<br></font></div><div dir="ltr"><font face="monospace, monospace"><br></font></div><div dir="ltr"><font face="monospace, monospace">> Is it because of NVIDIA GPUs have concurrent session limitation?</font></div><div dir="ltr"><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">There is a session limitation for encoding for sure, but I think there is no such thing for decoding:</font></div><div><font face="monospace, monospace"><a href="https://developer.nvidia.com/video-encode-decode-gpu-support-matrix" target="_blank">https://developer.nvidia.com/video-encode-decode-gpu-support-matrix</a><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">> By the way, I don't understand where these messages are come from. They are just printed in my console.<br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Those messages are from the ffmpeg log. The ffmpeg code is full with calls to 'av_log(void *avcl, int level, const char *fmt, ....)'.</font></div><div><font face="monospace, monospace">Depending on the loglevel in use the messages are printed or ignored.</font></div><div><font face="monospace, monospace">For the ffmpeg tool the '-loglevel' flag can be used to configure what messages should be printed and what messages should not.</font></div><div><font face="monospace, monospace">With the C-API, the '<span style="color:rgb(0,0,0);white-space:pre-wrap">av_log_set_level(int level)' function can be used to configure the log level.</span></font></div><div><font face="monospace, monospace">The different log levels can be seen here:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><a href="https://ffmpeg.org/doxygen/trunk/group__lavu__log__constants.html">https://ffmpeg.org/doxygen/trunk/group__lavu__log__constants.html</a> </font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Running your program with log level verbose or maybe even debug could give you some clue to why the creation of the 6th decoder fails.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Are the video streams 4K? My guest is you are running out of memory on the GPU.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Regards.</font></div></div>