[FFmpeg-trac] #3565(ffmpeg:new): ffmpeg with hwaccel vdpau decode created washed out highligh h.264 video

FFmpeg trac at avcodec.org
Tue Apr 15 09:25:15 CEST 2014

#3565: ffmpeg with hwaccel vdpau decode created washed out highligh h.264 video
             Reporter:  dkt          |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  ffmpeg       |                  Version:  2.2.1
             Keywords:  hwaccel      |               Blocked By:
  vdpau highlight h.264              |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
 Summary of the bug:
 Comparing two method of converting a h.264 MOV file to lower bitrate. The
 h.264 MOV file is straight from my GH3 camera.

 Method 1: just use ffmpeg to decode and encode:
 No special issue.

 Method 2: use -hwaccel vdpau to make use of hardware vdpau decoding:
 For the output file, highlight areas (sky/cloud) is clipped.

 I have a screen capture on the three files, original one, using plain
 ffmpeg and using ffmpeg + hwaccel.

 How to reproduce:

 This is the line for using Nvidia vdpau to convert my origial MOV file.

 $ LD_PRELOAD=/mnt-data/vg30/lx-prog/ffmpeg-8bit/libx264.so.142 ffmpeg-8bit
 -hwaccel vdpau -i P1170736.MOV -movflags +faststart -strict experimental
 -ar 48000 -b:a 192k -vb 28M -vcodec libx264 -x264opts colorprim=bt709
 -x264opts transfer=bt709 -x264opts colormatrix=bt709 P1170736-converted-

 ffmpeg version
 On Fedora 20 x64
 $ LD_PRELOAD=/mnt-data/vg30/lx-prog/ffmpeg-8bit/libx264.so.142 ffmpeg-8bit
 ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
   built on Apr 14 2014 02:41:59 with gcc 4.8.2 (GCC) 20131212 (Red Hat
   configuration: --enable-nonfree --enable-gpl --disable-ffserver
 --enable-lto --enable-libx264 --enable-libvpx --enable-ffplay --enable-
 static --disable-shared --extra-cflags=-static --extra-libs=./libvo-
 aacenc.a --enable-libfdk-aac --extra-libs=/usr/local/lib/libfdk-aac.a
 --enable-libvorbis --disable-debug --enable-vaapi --enable-vdpau --enable-
 vda --enable-hwaccel=h263_vaapi --enable-hwaccel=vc1_vaapi --enable-
 hwaccel=mpeg2_vaapi --enable-hwaccel=h264_vaapi --enable-
 hwaccel=mpeg4_vaapi --enable-hwaccel=wmv3_vaapi --enable-
 hwaccel=h263_vdpau --enable-hwaccel=vc1_vdpau --enable-hwaccel=mpeg2_vdpau
 --enable-hwaccel=h264_vdpau --enable-hwaccel=mpeg4_vdpau --enable-
 hwaccel=wmv3_vdpau --enable-lto --disable-inline-asm --enable-opencl
 --enable-x11grab --enable-avisynth --enable-libfreetype --enable-
 libopenjpeg --enable-opengl --enable-libschroedinger

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

More information about the FFmpeg-trac mailing list