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

[bug] Pitch of audio maintained when adjusting speed #15

Open
chenlung opened this issue Feb 1, 2021 · 9 comments
Open

[bug] Pitch of audio maintained when adjusting speed #15

chenlung opened this issue Feb 1, 2021 · 9 comments

Comments

@chenlung
Copy link
Collaborator

chenlung commented Feb 1, 2021

  1. Open video with PAL speedup.
  2. Choose codec.
  3. In Advanced features, Conform by speed 23.976.
  4. Start function.

Expected result: Both video and audio are slowed to 23.976.
Actual result: Video is slowed to 23.976; audio is PAL-pitch and 23.976 tempo.

Using Shutter Encoder 14.6 - Mac 10.11.6.

@chenlung
Copy link
Collaborator Author

chenlung commented Feb 1, 2021

For some, this might be a feature; to others, it's a bug.

I don't know if there should be an additional option?

@chenlung chenlung changed the title [bug] Pitch maintained when adjusting speed of video [bug] Pitch of audio maintained when adjusting speed of video Feb 1, 2021
@paulpacifico
Copy link
Owner

This is not a bug, i decided to maintain audio pitch with conform by speed option.

@chenlung
Copy link
Collaborator Author

chenlung commented Feb 7, 2021

Okay.

Can we have an option to slow both video and audio down? I can personally only do this using Cinema Tools (Apple) on certain file types.

@paulpacifico
Copy link
Owner

Yes why not, i just need to think how to implement this, like a checkbox with "Maintain audio pitch"

@chenlung
Copy link
Collaborator Author

chenlung commented Feb 7, 2021

I think the default could be slowing both down, but you indeed have a checkbox option with 'Maintain audio pitch' (or 'Maintain pitch').

@paulpacifico
Copy link
Owner

For sure, it's a great idea.

@chenlung
Copy link
Collaborator Author

It might be ideal having an option to not resample the Hz if slowing or speeding video (like Cinema Tools).

48000 25fps > 46080 24fps / 46034 23.976

@paulpacifico
Copy link
Owner

After some research it seems the 'asetrate' filter of FFmpeg can do that easily!

@chenlung
Copy link
Collaborator Author

It doesn't just apply to video, it would seem.

I tried changing a WAV from 25 to 23.976; whilst the tempo was adjusted, the pitch was maintained.

@chenlung chenlung changed the title [bug] Pitch of audio maintained when adjusting speed of video [bug] Pitch of audio maintained when adjusting speed Nov 18, 2022
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

2 participants