Skip to content

Set input duration #94

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

Closed
zhaakhi opened this issue Feb 23, 2017 · 5 comments
Closed

Set input duration #94

zhaakhi opened this issue Feb 23, 2017 · 5 comments

Comments

@zhaakhi
Copy link

zhaakhi commented Feb 23, 2017

FFmpegBuilder has an option for input start offset, but not for input duration ("-t")

@phuongnd11
Copy link

Can you add support for this feature? I also tried using .addExtraArgs("-t 60") but it didn't work:
Unrecognized option 't 60'.

@bramp
Copy link
Owner

bramp commented Apr 7, 2017 via email

@phuongnd11
Copy link

It works. Thanks.

@bramp bramp added this to the InputBuilder milestone May 13, 2017
@stepan-romankov
Copy link

Hi, @bramp,

I want to notice that it will be an issue to set start offset and duration in case of multiple streams:

ffmpeg -ss 10 -t 10,00 -i file1.m4 -ss 10 -t 10,00 -i file2.m4 ...

Would you accept pull request if I refactor how inputs are configured ("ss" and "t" will belong to an input ) keeping backward compatibility?

Euklios added a commit to Euklios/ffmpeg-cli-wrapper that referenced this issue Aug 9, 2024
Euklios added a commit to Euklios/ffmpeg-cli-wrapper that referenced this issue Aug 9, 2024
@Euklios
Copy link
Collaborator

Euklios commented Aug 21, 2024

Closed thanks to #339

@Euklios Euklios closed this as completed Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants