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

Aspect Ratio has no effect. #1306

Open
2 of 3 tasks
HuakunShen opened this issue Nov 19, 2024 · 0 comments
Open
2 of 3 tasks

Aspect Ratio has no effect. #1306

HuakunShen opened this issue Nov 19, 2024 · 0 comments

Comments

@HuakunShen
Copy link

Version information

  • fluent-ffmpeg version: 2.1.3
  • ffmpeg version: 7.0.1
  • OS: MacOS 15.1

Code to reproduce

ffmpeg('input.mp4')
	.withAspectRatio('1:1')
	.save('output.mp4')

(note: if the problem only happens with some inputs, include a link to such an input file)

Expected results

The input is a 16:9 video, it should output a 1:1 video.

Observed results

Output is still 16:9. I checked the actual command run with htop, it's simply

ffmpeg -i input.mp4 -y output.mp4

I tested -aspect flag manually and it works fine when I use ffmpeg command directly.

Checklist

  • I have read the FAQ
  • I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
  • I have included full stderr/stdout output from ffmpeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant