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

Rotate option doesn't apply evenly throughout the video, only rotates partially #193

Open
1 task done
Malingos opened this issue Jul 3, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@Malingos
Copy link

Malingos commented Jul 3, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I use the rotate function on a video, it only rotates the video once halfway through the video. All the other functions work.

Expected Behavior

I expected it to apply evenly throughout the entire video.

Steps To Reproduce

This is the command sequence I used:

node wackywebm.js rotate -a 45 -o <output path> <input video path>

you can see in the output that it is applying the rotation to half the frames at a time, rather than one by one as with the other tools.

Using minimum w/h 1px.
Extracting necessary input file info...
Resolution is 600x336.
Framerate is 24000/1001 (23.976023976023978).
Input Bitrate is undefined.
============Config============
Modes: Rotate
Rotation Speed: 45° per second
Output Bitrate: 500000
==============================
Creating temporary directory in C:\...
Splitting audio into a temporary file...
Splitting file into frames...
Converting frames to webm...
Converting 253 frames to webm (frames 508-760 / 509) - 50%
Successfully converted all 509 frames in 9265ms
Writing concat file...
Concatenating segments and applying audio to final webm file
Done!
Removing temporary files...

An example file is attached.
testrotate.webm

Environment

- OS: Windows 10
- Node: 20.3.1
- ffmpeg: 12.1.0

Anything else?

No response

@Malingos Malingos added the bug Something isn't working label Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant