[Webkit-unassigned] [Bug 281781] New: DAR/SAR/PAR aspect ratios not respected for VP9 WebM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 18 14:24:08 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=281781

            Bug ID: 281781
           Summary: DAR/SAR/PAR aspect ratios not respected for VP9 WebM
           Product: WebKit
           Version: Safari 18
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: e at ericportis.com

Here's a 1400x1400 MP4 with a non-square pixel aspect ratio:

https://media.phase-eight.com/video/upload/fl_keep_dar,x_0/c_fill,dpr_2.0,du_30,h_700,w_500/v1/p8-catalog/videos/950582882-video.mp4

It displays as expected (5:7). But a WebM with the same dimensions + aspect-ratio, does not (it displays 1:1):

https://media.phase-eight.com/video/upload/fl_keep_dar,x_0/c_fill,dpr_2.0,du_30,h_700,w_500/v1/p8-catalog/videos/950582882-video.webm

(Firefox and Chrome both display both videos correctly)

Here's what ffprobe says about the WebM:

```
% ffprobe 950582882-video.webm
ffprobe version 7.0.2 Copyright (c) 2007-2024 the FFmpeg developers
  built with Apple clang version 15.0.0 (clang-1500.3.9.4)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0.2_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Input #0, matroska,webm, from '950582882-video.webm':
  Metadata:
    MAJOR_BRAND     : mp42
    MINOR_VERSION   : 512
    COMPATIBLE_BRANDS: mp42iso2avc1mp41
    ENCODER         : Lavf60.3.100
  Duration: 00:00:08.21, start: 0.000000, bitrate: 577 kb/s
  Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, bt709, progressive), 1400x1400, SAR 5:7 DAR 5:7, 25 fps, 25 tbr, 1k tbn
      Metadata:
        ENCODER         : Lavc60.3.100 libvpx-vp9
        DURATION        : 00:00:08.160000000
  Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp
      Metadata:
        ENCODER         : Lavc60.3.100 libvorbis
        DURATION        : 00:00:08.212000000

~
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241018/585920fc/attachment.htm>


More information about the webkit-unassigned mailing list