[FFmpeg-trac] #7674(ffmpeg:new): ffmpeg with cuvid transcoding afte version 3.4.1 work with crash on heavy load CUDA card

FFmpeg trac at avcodec.org
Sat Jan 12 18:49:20 EET 2019


#7674: ffmpeg with cuvid transcoding afte version 3.4.1 work with crash on heavy
load CUDA card
---------------------------------+---------------------------------------
             Reporter:  maxfs79  |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  ffmpeg   |                  Version:  unspecified
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+---------------------------------------
 Hi!



   For the transoding of media streams I use Nvidia Quadro P5000 video
 cards and ffmpeg software version 3.4.1 (OS Linux Ubuntu 16.04.5, kernel
 4.15).

 On version 3.4.1 all work is fine on this video card it was possible to
 generate 79 H264 streams:


 +-----------------------------------------------------------------------------+
 | NVIDIA-SMI 410.79       Driver Version: 410.79       CUDA Version: 10.0
 |
 |-------------------------------+----------------------+----------------------+
 | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr.
 ECC |
 | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute
 M. |
 |===============================+======================+======================|
 |   0  Quadro P5000        Off  | 00000000:01:00.0 Off |
 Off |
 | 49%   76C    P0    79W / 180W |  12792MiB / 16278MiB |     45%
 Default |
 +-------------------------------+----------------------+----------------------+


 # nvidia-smi -i 0 | grep ffmpeg | wc -l
 79

 ---
     Utilization
         Gpu                         : 42 %
         Memory                      : 16 %
         Encoder                     : 42 %
         Decoder                     : 92 %


 When I try upgrade ffmpeg to version 3.4.2 or higer (4.X ot 4.X), ffmpeg
 was work unstable afte 40 streams.

 Configuration ffmpeg:
 ffmpeg -hwaccel cuvid -c:v mpeg2_cuvid -deint 2 -drop_second_field 1 -i
 udp://232.10.10.1:1234?fifo_size=300000 -b:v 2800k -b:a 192k -c:v
 h264_nvenc -profile:v high -preset hp -c:a aac -f flv
 rtmp://127.0.0.1:1935/live/001

 What can be a issue ?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7674>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list