Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The video preview generator does not respect SAR #29042

Open
bodqhrohro opened this issue Mar 6, 2025 · 0 comments
Open

The video preview generator does not respect SAR #29042

bodqhrohro opened this issue Mar 6, 2025 · 0 comments
Labels

Comments

@bodqhrohro
Copy link

Steps to reproduce

Upload a video with uneven SAR.
https://github.com/user-attachments/assets/a7212cdf-9f0b-479d-89bf-2c827c5dcaca

@bq:08:28:52:/tmp/dl$ ffprobe -hide_banner /data/video/works/kdenlive/renni-2997.mp4 
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/video/works/kdenlive/renni-2997.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.7.100
  Duration: 00:00:15.89, start: 0.000000, bitrate: 1514 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m, top first), 352x480 [SAR 20:11 DAR 4:3], 1345 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
      Metadata:
        handler_name    : SoundHandler
        vendor_id       : [0][0][0][0]

Expected behaviour

Correct preview proportions.

Actual behaviour

Image

Operating system

Debian GNU/Linux Trixie

Version of Telegram Desktop

5.11.1

Installation source

Static binary from official website

Crash ID

No response

Logs

@bodqhrohro bodqhrohro added the bug label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant