So I am looking for a way to cut a video file to the last 10 seconds of the file. Normally I would use FFMPEG or mencoder but the situation is that the file to be cut is going to be a different size every time it's cut. So I found some stuff for a general duration using ffmpeg but the problem is I would need the duration to be in seconds instead of 00:00:00 so then I could just use the var-10 for the -ss.
I don't know if I explained that well enough but in short:
Different length video every time it is ran, only need the last 10 seconds in a new file. Need something light on resources but still fast.
Thanks in advance for anyone who answers!