[FFmpeg-user] nvenc h264 encoding

Sven C. Dack sven.c.dack at sky.com
Fri Oct 14 15:15:45 EEST 2016


On 14/10/16 12:40, tyt xtreme wrote:
> I have post renamed the file but i've did the re-encoding again on the
> original file like this:
>
> log:
> $ ffmpeg -i perspective.mp4 -c:v h264_nvenc -profile:v high -preset:v fast
> perspective_out.mp4
> 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
> ....
>
You'll have to let the more experienced users take a look at it and provide a 
sample of the input file.



More information about the ffmpeg-user mailing list