[FFmpeg-trac] #8376(avcodec:new): hevc_vaapi loses aspect ratio during encoding
FFmpeg
trac at avcodec.org
Mon Nov 11 17:56:52 EET 2019
#8376: hevc_vaapi loses aspect ratio during encoding
-------------------------------------+-------------------------------------
Reporter: yurtesen | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: vaapi, amd, | Blocked By:
hevc, aspect, mesa, radeon |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by yurtesen):
* version: 4.1.4 => git-master
Comment:
Tested with git-master and same problem exists:
{{{
./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 N-95710-gb25b6432a7 Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 8 (Ubuntu 8.3.0-23ubuntu2)
configuration: --enable-vaapi
libavutil 56. 35.101 / 56. 35.101
libavcodec 58. 61.100 / 58. 61.100
libavformat 58. 34.101 / 58. 34.101
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 66.100 / 7. 66.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.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 @ 0x55980faa94c0] Driver does not support some wanted packed
headers (wanted 0xd, found 0).
Output #0, mpegts, to 'out.ts':
Metadata:
encoder : Lavf58.34.101
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.61.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= 969kB time=00:00:10.80 bitrate=
735.3kbits/s speed=16.2x
video:634kB audio:248kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 9.996099%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8376#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list