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

Allow input seeking #37

Open
Xcodo opened this issue Apr 13, 2023 · 1 comment
Open

Allow input seeking #37

Xcodo opened this issue Apr 13, 2023 · 1 comment

Comments

@Xcodo
Copy link

Xcodo commented Apr 13, 2023

The seeking option, -ss, can be applied before or after the input filename. Placing it before results in faster encoding if the start point is a significant way through the input file. I'd like this option in the GUI.

When using this option, the reference point for the -to option changes to be the start of the clip, rather than the start of the input file. This means the out time will have to be calculated.

The documentation is here.

There are some cases where output seeking (as used now) is preferred, so I guess it should be left as an option. The documentation says:

Here, the input will be decoded (and discarded) until it reaches the position given by -ss. This will be done very slowly, frame by frame. As of FFmpeg 2.1, the main advantage is that when applying filters to the output stream, the timestamps aren't reset prior to filtering (i.e. when ​burning subtitles into a video, you don't need to modify the subtitle timestamps), but the drawback is that it will take a lot of time until it finally reaches that time point. The bigger the seeking time is, the longer you will have to wait.

@alfg
Copy link
Owner

alfg commented Apr 18, 2023

That's a good idea. I'll look into adding a toggle for this.

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