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

FFMPEG - Flag Help #8

Open
willstall opened this issue Jul 7, 2019 · 2 comments
Open

FFMPEG - Flag Help #8

willstall opened this issue Jul 7, 2019 · 2 comments

Comments

@willstall
Copy link

Hey there!

Awesome work! I'm just trying to get this do take a timelapse...a simple one. Just a frame every 1 second. I set my framerate to 1, which worked fine. I then tried to put in a flag to increase the speed by 60 and cannot seem to get any kind of flag working. From my understanding a flag for something like this would look like:
{"-filter:v":"setpts=PTS/60"}

I'm sure there is something i'm missing her with this object based flag input.

@arciisine
Copy link
Owner

Hey,

Looking at the code, https://github.com/arciisine/screen-recorder/blob/master/src/types.ts#L19 should define the location of the ffmpeg flags, if you want to augment those. Looking at your flags, I'm thinking it would be during transcode. I'll try to duplicate on my side as well.

@arciisine
Copy link
Owner

So looking closer at it tonight, and flags are supported, but only known flags. I would need to add something to the screen recorder lib, to know where the flag belongs, as ffmpeg has flags that need to be in certain positions.

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