-
Notifications
You must be signed in to change notification settings - Fork 5
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
How to use ProcessOptionsEncoder.ResumePos #7
Comments
If you run a FFmpeg process in a command prompt, it just encodes until done. Is there any way to suspend it? Actually... That's an option to explore. You can get the process and call ResumePos was designed for Avisynth/VapourSynth encoding. For FFmpeg, this might work. I'm not sure whether it will be frame-accurate though
|
Also, even for Avisynth and Vapoursynth, generally the start pos has to be within the script itself; so although I don't remember exactly, it's possible that ResumePos was there only to pass to the UI, to inform that it's not a new encode. |
Thank you for your response and the information you gave me. I have already explored the option of suspending the entire process in C# before discovering this library. However, the methods I came across either didn't work or required too much time to try out at the moment. It's a direction I intend to explore further when I have more time. Still, I also decided to ask here because I had assumed that this library already had this functionality when I saw the ResumePos property. Regarding FFmpeg, my knowledge is little more than basics, so I will need to look more into it. |
When using FFmpegSource in Avisynth, doc clearly says
So I would advise you not to rely on that. You'll get into trouble. Pausing/resuming the process should work. To get frame-accurate source, one option is to feed an Avisynth script into FFmpeg and read the source file using LSMashSourcee, which is frame-accurate. |
Hello,
I'm currently using this library in my project, and I have a question regarding the functionality of the ProcessOptionsEncoder.ResumePos property and the whole stop and resuming process.
Here are the specific points I'd like to understand:
I'm trying to start Encoding, stop it save the data, and continue even if the app is closed, or just resume it after stoppping.
Can I achieve this functionality with this library, or is it impossible?
Thank you in advance for your assistance.
The text was updated successfully, but these errors were encountered: