[FFmpeg-trac] #8442(undetermined:new): CUDA mpeg2-decode issue (hwaccel)

FFmpeg trac at avcodec.org
Tue Dec 24 18:28:38 EET 2019


#8442: CUDA mpeg2-decode issue (hwaccel)
-------------------------------------+-------------------------------------
             Reporter:  barhom       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 The new CUDA HW mpeg2 decoder is producing bad and pixelated decoding on
 some video.
 The legacy CUVID mpeg2_cuvid decoder is producing expected output.

 The testing has been made with a NVIDIA GTX 1050 Ti GPU with Driver
 version 440.31 and Cuda 10.2.
 FFmpeg version used: git-2019-11-13-a7245ad

 How to reproduce:

 Bad output:
 {{{
 ffmpeg -y -hwaccel cuda -i "/tmp/original_cut.ts" -c:v h264_nvenc -c:a aac
 -b:a:0 64k  -f mpegts /tmp/mpeg2_cuda_decode.ts
 }}}

 Good output:
 {{{
 ffmpeg -y -hwaccel cuvid -c:v mpeg2_cuvid -i "/tmp/original_cut.ts" -c:v
 h264_nvenc -c:a aac -b:a:0 64k  -f mpegts
 /tmp/mpeg2_cuvid_legacy_decode.ts
 }}}

 I have attached "original_cut.ts" for you to be able to reproduce this
 issue.
 Also attached the output when running the commands on my system.

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


More information about the FFmpeg-trac mailing list