Opened 7 months ago

Last modified 7 months ago

#11025 new enhancement

Support for retina/subpixel metadata

Reported by: Yury Ershov Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: MasterQuestionable Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

  1. Record a video on a "retina" display with 2x subpixel.
  2. Re-eencode it with ffmpeg:

ffmpeg -y -i retina-2x-subpixel-original.mov -c:v libx264 -preset slow -crf 22 -pix_fmt yuv420p -c:a copy retina-2x-subpixel-original-re-encoded.mp4

  1. The output resolution is the same but the software playing it in the original scale makes it 2 times bigger.

Attachments (3)

retina-2x-subpixel-original.mov (589.4 KB ) - added by Yury Ershov 7 months ago.
Original screen recording with 2x subpixel resolution
retina-2x-re-encoded.mp4 (152.3 KB ) - added by Yury Ershov 7 months ago.
Re-encoded video
re-encode-result.mp4 (480.6 KB ) - added by Yury Ershov 7 months ago.
The way it looks when playing back the original and re-encoded file on MacOS.

Download all attachments as: .zip

Change History (7)

by Yury Ershov, 7 months ago

Original screen recording with 2x subpixel resolution

by Yury Ershov, 7 months ago

Attachment: retina-2x-re-encoded.mp4 added

Re-encoded video

by Yury Ershov, 7 months ago

Attachment: re-encode-result.mp4 added

The way it looks when playing back the original and re-encoded file on MacOS.

comment:1 by MasterQuestionable, 7 months ago

͏    ?
͏    What should be the expected behavior?
͏    Automatically down-scale 0.5x..?

͏    The whole thing doesn't seem to make sense.

comment:2 by MasterQuestionable, 7 months ago

Cc: MasterQuestionable added

comment:4 by MasterQuestionable, 7 months ago

͏    To clarify, the video does not look blurry when down-scaled 0.5x.
͏    So shouldn't it when the lossy compression was properly configured. (or lossless used)
͏    Eventually sort of implementation problem of the whole HiDPI chain. [ See also: ͏"devicePixelRatio" ]

͏    Such systems' handling on other videos should also yield similar problems. (or probably no real problem whatsoever)

Note: See TracTickets for help on using tickets.