[FFmpeg-trac] #5227(ffmpeg:new): H265 nvenc HLS stream

FFmpeg trac at avcodec.org
Wed Feb 10 12:38:09 CET 2016

#5227: H265 nvenc HLS stream
             Reporter:  milanc       |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  ffmpeg       |                  Version:  git-
             Keywords:               |  master
  cuda,nvenc,nvapi,h265              |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Summary of the bug:

 Ffmpeg version: N-78351-ga25c5db (the same issue with all versions since
 Driver version: 352.63-0ubuntu0.14.04.1 (the same issue with all versions
 since 06/2015)
 NVAPI version: 6.0 (the same issue with 5.1)
 CUDA version: 7.5-18 (the same with previous CUDA version)
 GPU1: http://www.techpowerup.com/gpudb/b3164/zotac-gtx-960-amp-
 GPU2: http://www.techpowerup.com/gpudb/b3346/msi-gtx-980-ti-gaming.html


 I have TV box RK3128 with Android 4.4.4, ExoPlayer 1.5.2 and I have
 problem with HLS (H265) playback with ExoPlayer.
 My stream is played, I see/hear video and audio content.
 But one of the colors in video has small offset.
 Color offset is depended on video resolution.


 Other H265 demos (HLS or static from internet) play correctly without
 described problem. Therefore I think, this it is not a hardware specific

 My H265 stream is created by ffmpeg and CUDA/nvenc_h265 codec. Other
 players (VLC, MXPlayer...) work without this problem (or does not play due
 H265 is not supported).
 http://download.mazana.tv/windows/h265test/vlc.jpg (compare previous image
 with this)

 When I use libx265 codec (CPU) for H265 encoding, my RK3128 box plays
 stream correctly.

 I reproduced this issue on second GPU card, this is not GPU depended

 '''I don't know where is the problem. I understand that problem cann't be
 in ffmpeg but in next susspect parts (CUDA, NVAPI, drivers...). Therefore,
 I would be willing to give something around the $150 for a fully working
 solution tested with my example live streams which I can provide.'''

 I can provide my stream URL by private. I can also provide SSH access to
 my dedicated streaming server with DVB-T card for any tries.

 ffmpeg version N-78351-ga25c5db Copyright (c) 2000-2016 the FFmpeg
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
   configuration: --prefix=/FFMPEG --pkg-config-flags=--static
 --bindir=/root/bin --enable-gpl --enable-nonfree --enable-libass --enable-
 libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libx265 --enable-nvenc --enable-version3 --enable-pthreads
 --enable-bzlib --enable-zlib --enable-runtime-cpudetect --enable-libmfx

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

More information about the FFmpeg-trac mailing list