[FFmpeg-trac] #6119(avcodec:new): h264_nvenc encoder sets wrong DAR if image size is 720x576
FFmpeg
trac at avcodec.org
Thu Feb 2 02:52:08 EET 2017
#6119: h264_nvenc encoder sets wrong DAR if image size is 720x576
--------------------------------------+-----------------------------------
Reporter: user20170202 | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: nvenc aspect | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+-----------------------------------
Comment (by user20170202):
I was using version 3.2 when coming across the problem, then testet the
latest release 3.2.2, then even the latest build. I do not have an even
newer build.
Here's the console output:
{{{
>ffmpeg -i d:\in.mpg -vf scale=720x576 -aspect 16:9 -c:v h264_nvenc -t 15
d:\out.mp4
ffmpeg version N-83280-gcba4f0e Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-
version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --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-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. 45.100 / 55. 45.100
libavcodec 57. 75.100 / 57. 75.100
libavformat 57. 65.100 / 57. 65.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 71.100 / 6. 71.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Input #0, mpeg, from 'd:\in.mpg':
Duration: 00:15:00.04, start: 0.620000, bitrate: 3310 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top first),
720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
File 'd:\out.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'd:\out.mp4':
Metadata:
encoder : Lavf57.65.100
Stream #0:0: Video: h264 (h264_nvenc) (Main) ([33][0][0][0] / 0x0021),
yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 2000 kb/s, 25 fps, 12800
tbn, 25 tbc
Metadata:
encoder : Lavc57.75.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 (mpeg2video (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
frame= 375 fps=0.0 q=25.0 Lsize= 3622kB time=00:00:14.96
bitrate=1983.1kbits/s speed=32.4x
video:3619kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.064272%
}}}
Dispaly driver version: nvidia 376.33
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6119#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list