This problem occurs because Nvidia’s official restrictions
limit 2 concurrent processing tasks for different desktop-level products. For
detailed restrictions on each product, please refer to
https://developer.nvidia.com/video-encode-decode-gpu -support-matrix#Encoder
We can remove this restriction through the following patch
1
2
3
4
5
6
7
|
cd /opt
git clone https://github.com/keylase/nvidia-patch
cd nvidia–patch
# patch remove limite 2 sessions
bash ./patch.sh
# patch restore limit 2 sessions
bash ./patch.sh –r
|
Start ffmpeg
The above picture has started 4 ffmpeg HW transcoding processes, and there is no error message
. Special attention needs to be paid here. The graphics card memory used by the control process should not exceed the total graphics card memory. If it exceeds, there will be frame loss, green screen and other problems
As shown in the figure, our RTX 2070 Super has 8G video memory, and 4 processes take up 10% or so, so according to 400/process, the maximum of about 18-20 processes can be enabled.
Read More:
- [Solved] ffmpeg error reporting: subprocess. Calledprocesserror: Command ‘ffmpeg, unknown encoder: “libx264″“
- QSP License error: Submit failed! Message: ERROR -Locator 304511e2e493 is already associated to another license
- Remix Run Error: creation of errored:Error encoding arguments:Error:invalid arrayify value
- [Solved] SecureCRT Error: Key exchange failed. No compatible key exchange method.
- [Solved] Brew Install ffmpeg Error: tar: Error opening archive: Failed to open
- QT calls the API of ffmpeg error [How to Solve]
- [Solved] MariaDB Add Datas Error: SQL error [1366] [22007]: (cIncorrect string value: ‘\xE5\xBC\xA0\xE4\xB8\x89’ for column
- ffmpeg:error while loading shared libraries: libopenh264.so.5
- E11000 duplicate key error collection: *** index: _id_ dup key
- [Solved] Gitee generates public key error: Enter file in which to save the key…
- [Solved] OpenCV VideoWriter Error: FFMPEG: tag ‘MP4V‘ is not supported with codec id 12 and format mp4
- Solution of adding H264 error in ffmpeg compilation
- Error: Host Key Verification Failed [How to Solve]
- [Solved] JRebel Error: ERROR Failed to obtain seat. Unable to connect to license server
- [Solved] MacOS Compile ffmpeg Error: ERROR: openssl not found
- [Solved] ffmpeg Enable https Error: “ERROR: openssl not found”
- How to Solve [error] malformed \uxxxx encoding Error
- ADS1.2 Error: cannot obtain license [How to Solve]
- Matlab R2019b License Manager Error -103 [How to Solve]
- You have not accepted the license agreements of the following SDK components