[FFmpeg-trac] #8376(avcodec:new): hevc_vaapi loses aspect ratio during encoding
FFmpeg
trac at avcodec.org
Mon Nov 11 17:19:06 EET 2019
#8376: hevc_vaapi loses aspect ratio during encoding
-------------------------------------+-------------------------------------
Reporter: yurtesen | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: 4.1.4 | Resolution:
Keywords: vaapi, amd, | Blocked By:
hevc, aspect, mesa, radeon |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by yurtesen):
Looks like I put wrong output to original post. Here is the output with
files attached to the bugreport
{{{
$ /usr/bin/ffmpeg -vaapi_device /dev/dri/renderD128 -i yks.ts -vf
'format=nv12,hwupload' -c:v hevc_vaapi -qp 30 -c:a copy out.ts
ffmpeg version 4.1.4-1build2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9 (Ubuntu 9.2.1-4ubuntu1)
configuration: --prefix=/usr --extra-version=1build2
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
--disable-stripping --enable-avresample --disable-filter=resample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libflite --enable-
libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa
--enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-
libpulse --enable-librsvg --enable-librubberband --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
--enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2
--enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-
chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, mpegts, from 'yks.ts':
Duration: 00:00:10.84, start: 1.400000, bitrate: 776 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: hevc (Main) ([36][0][0][0] / 0x0024),
yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 25 tbc
Stream #0:1[0x101](fin): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, fltp, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_vaapi))
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hevc_vaapi @ 0x561daf05c740] Driver does not support some wanted packed
headers (wanted 0xd, found 0).
Output #0, mpegts, to 'out.ts':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Video: hevc (hevc_vaapi) (Main), vaapi_vld, 720x576 [SAR
64:45 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc
Metadata:
encoder : Lavc58.35.100 hevc_vaapi
Stream #0:1(fin): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, fltp, 192 kb/s
frame= 261 fps=0.0 q=-0.0 Lsize= 985kB time=00:00:10.80 bitrate=
747.1kbits/s speed=17.4x
video:634kB audio:248kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 11.766870%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8376#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list