Changes between Version 36 and Version 37 of Encodings/nvenc
- Timestamp:
- 11/07/14 15:00:14 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encodings/nvenc
v36 v37 4 4 5 5 This encoder offers [http://xpra.org/stats/NVENC/ the best latency], which is most noticeable at higher resolutions (1080p and up). 6 }}} 6 7 8 9 {{{#!div class="box" 7 10 == Hardware == 8 This encoder requires a [https://developer.nvidia.com/nvidia-video-codec-sdk#gpulist supported NVIDIA graphics card] (Tesla, Quadro K4000 and up, ..) or a card which has the NVENC chip (GTX 680?, GTX 750 and up for sure) and a license key. (...) 11 This encoder requires a [https://developer.nvidia.com/nvidia-video-codec-sdk#gpulist supported NVIDIA graphics card]: 12 * Tesla onwards cards: Quadro K4000 and up, .. (no license key required) 13 * Some consumer cards (ie: GTX 680, GTX 750 and up for sure) and a license key 9 14 }}} 10 15 … … 16 21 17 22 If your CUDA ({{{libcuda.so}}}) or NVENC ({{{libnvidia-encode.so}}}) libraries are installed in an unusual location, it is your responsibility to ensure they can be loaded at runtime, usually by adding the directory to the {{{LD_LIBRARY_PATH}}}. 23 24 Note: xpra version 0.15 or newer is required. (older versions require the full CUDA SDK at runtime) 18 25 }}} 19 26 20 27 {{{#!div class="box" 21 28 == Using NVENC == 29 If the nvenc codec loads properly, it will be used ahead of the x264 software encoder automatically (that's assuming that the encoding used is `h264` - which is the default). 22 30 23 If the nvenc codec loads, it will be used ahead of x264 when you specify the `h264` encoding, you can verify theencoder in use with:31 You can verify the video encoder in use with: 24 32 {{{ 25 33 xpra info | grep "encoder=" 26 34 }}} 27 35 28 Note: your xpra version must be either 0.15 or newer. (older versions require the full CUDA SDK and a more complicated setup) 36 Scaling: nvenc supports scaling natively, see [/wiki/CSC#Scaling CSC/Scaling] for details on how to configure scaling. 37 }}} 29 38 30 To force xpra to use nvenc as video encoder and no other, you can also use the {{{--video-encoders=}}} command line option: 39 {{{#!div class="box" 40 == Debugging == 41 To force xpra to use nvenc exclusively as video encoder, you can use the {{{--video-encoders=}}} command line option: 31 42 {{{ 32 43 xpra start :10 --video-encoders=nvenc … … 42 53 xpra start -d nvenc ... 43 54 }}} 44 45 Scaling: nvenc supports scaling natively, see [/wiki/CSC#Scaling CSC/Scaling] for details on how to configure scaling.46 55 }}} 47 56