[FFmpeg-devel] [PATCH 2/3] avcodec/nvenc: Handle non-square pixel aspect ratios

Nicolas George george at nsup.org
Fri Jan 16 22:17:56 CET 2015


Le septidi 27 nivôse, an CCXXIII, Philip Langdale a écrit :
> Right. It is display aspect ratio, not sample aspect ratio. And then
> you have the 45/44 problem, unless that's somehow just affecting me.

IIRC, the tests you ran were not accurate enough to know for sure. I suggest
the following test case:

- start with a 832 × 448 input (testsrc=s=832x448 should do the trick);

- force darWidth / darHeight = 19 / 17 (patching the source directly seems
  like the simplest way of doing it for this kind of tests);

- encode to H.265 elementary stream;

- check the output file with the ffmpeg summary AND ffprobe -show_stream AND
  ffmpeg -vf showinfo -f null -.

The numbers are selected with unambiguous prime factors.

I do not have access to nvidia hardware, so I can not run the tests.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150116/f132037d/attachment.asc>


More information about the ffmpeg-devel mailing list