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

Using ffmpeg 5.0.1 ari_stich fails to stich #38

Open
jgjuara opened this issue Jul 12, 2022 · 0 comments
Open

Using ffmpeg 5.0.1 ari_stich fails to stich #38

jgjuara opened this issue Jul 12, 2022 · 0 comments
Assignees
Labels

Comments

@jgjuara
Copy link

jgjuara commented Jul 12, 2022

Using ffmpeg 5.0.1 ari_stich fails to stich Images and wav because it uses vsync 2 which is no longer supported as option
Instead of vsync 2, when working with version of ffmpeg that doesnt support numbers as parameters should use "vfr" parameter.

Example

when running:

ari_narrate(output = "test.mp4", service = "google",
            cleanup = F, capture_method = "iterative",
            script = "ari_comments.Rmd",
  voice = "en-US-Standard-B")

Console output says:

`"Passing a number to -vsync is deprecated, use a string argument as described in the manual."

And video is created but images and sound are no sync.

I could fix it changing vsync parameter option to "vfr" in source code of ari_stich function beacause it is not a parameter option to pass direct into ari_narrate.

Maybe the solution is just add an video_sync_method parameter to ari_narrate to inject to the ari_stich call.

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

2 participants