[FFmpeg-devel] h264_nvenc encoding issue
Sven C. Dack
sven.c.dack at sky.com
Fri Oct 14 16:46:32 EEST 2016
On 14/10/16 13:47, tyt xtreme wrote:
> Hi,
>
> I already post my mail to ffmpeg-users group regarding this issue but no
> one could help me out and advised to ask more experienced users. So i hope
> you can tell me something and sorry posting here.
>
> Here is my re-encoding command's output (Windows 8.1 with Bash):
> *$ ffmpeg -i perspective.mp4 -c:v h264_nvenc -profile:v high -preset:v fast
> perspective_out.mp4*
Thanks for the pictures. Could you also provide a piece of the original video file?
Also, please stay on the ffmpeg-user list. ffmpeg-devel is primarily for
development of ffmpeg, where people send in patches and discuss implementation
details. We still need to figure out if your problem can be reproduced and where
it originates from before we can conclude anything (i.e. if its a user error or
a software error).
Cheers
>
> ffmpeg version N-81960-g1bda0ee Copyright (c) 2000-2016 the FFmpeg
> developers
> built with gcc 5.4.0 (GCC)
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
> --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
> --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
> --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264
> --enable-libopenjpeg --enable-libopus --enable-librtmp
> --enable-libschroedinger --enable-libsnappy --enable-libsoxr
> --enable-libspeex --enable-libtheora --enable-libtwolame
> --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
> --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
> --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
> --enable-lzma --enable-decklink --enable-zlib
> libavutil 55. 32.100 / 55. 32.100
> libavcodec 57. 61.100 / 57. 61.100
> libavformat 57. 51.103 / 57. 51.103
> libavdevice 57. 0.102 / 57. 0.102
> libavfilter 6. 63.100 / 6. 63.100
> libswscale 4. 1.100 / 4. 1.100
> libswresample 2. 2.100 / 2. 2.100
> libpostproc 54. 0.100 / 54. 0.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'perspective.mp4':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf57.50.100
> Duration: 00:07:27.87, start: 2.132000, bitrate: 10235 kb/s
> Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
> 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 10233 kb/s,
> 24.94 fps, 29.97 tbr, 1000k tbn, 2000k tbc (default)
> Metadata:
> handler_name : VideoHandler
> File 'perspective_out.mp4' already exists. Overwrite ? [y/N] y
> Output #0, mp4, to 'perspective_out.mp4':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf57.51.103
> Stream #0:0(eng): Video: h264 (h264_nvenc) (High) ([33][0][0][0] /
> 0x0021), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], q=-1--1, 2000 kb/s, 29.97
> fps, 30k tbn, 29.97 tbc (default)
> Metadata:
> handler_name : VideoHandler
> encoder : Lavc57.61.100 h264_nvenc
> Side data:
> cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 4000000 vbv_delay:
> -1
> Stream mapping:
> Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
> Press [q] to stop, [?] for help
> Past duration 0.731316 too large 8815kB time=00:00:27.22
> bitrate=2652.4kbits/s dup=206 drop=0 speed=3.95x
>
>
> The output is far away from optimal. It's kind of green,red colored &
> ghosty. Attached - resized - image samples about the original and output
> frames. Any idea why encoder doing this? I'm using GeForce GTX 980 Ti 6Gb
> GPU.
>
> Thanks!
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list