8000 Output resolution mismatch & unintended cropping when upscaling 627x480 input (also happens in Unsqueeze) · Issue #26 · finnvoor/fx-upscale · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Output resolution mismatch & unintended cropping when upscaling 627x480 input (also happens in Unsqueeze) #26
Open
@jet3004

Description

@jet3004

Hi. When upscaling a 627x480 SD video (Dinner1.mp4) using fx-upscale, the output resolution changes unexpectedly and results in visible cropping. I’ve attached two side-by-side screenshots:
• Screenshot 1 shows macOS Finder reporting the original resolution as 627x480.
• Screenshot 2 shows the fx-upscale terminal output claiming the input is 706x480, with an upscale result of 1412x960.

Even without specifying any custom aspect ratio or resolution, the tool defaults to this altered input dimension and resizes accordingly, cropping the output. This exact issue also occurs when using your Unsqueeze app. Again, both seem to cut off the image despite what I manually input

⚠️ It seems either fx-upscale or an underlying tool (maybe ffmpeg or metadata reading?) is auto-adjusting or misinterpreting the source dimensions, possibly due to non-square pixel aspect ratio, I really don't know!

Steps to reproduce:
1. Use the 627x480 source video (Aspect Ratio: 3.922:3)
2. Run: fx-upscale path/to/Dinner1.mp4 (not bothering with manual w x h even)
3. Observe that terminal reports a different input width and produces cropped output.

Attachments:

  •   Screenshot_Original_Info.png (Finder showing 627x480)
    
  •   Screenshot_Terminal_Output.png (shows 706x480 → 1412x960)
    
  •          Input/Output screen grab comparisons 
    

Would appreciate help figuring out why the input resolution is being interpreted differently and how to preserve the full image frame during upscale, as you can see in the "Output" - it crops.

Thanks for the incredible work on this tool!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0