So first, a little background. I record videos using recordMyDesktop. It's not the gtk or qt wrappers, I just use the command line. The command looks like this.
recordmydesktop -o file.ogv --full-shots --device=default
The problem is that it saves Theora video and Vorbis audio in OGV container. There are no alternatives I can use. My problem is that I end up with a some time before and some time after the desired recording time. That is, the time I spend setting up, and cleaning up. I want to remove this. So my question is...
How do I extract seconds X to Y from the video?
I want to retain all the original quality. It has to be uploadable to YouTube as well. I don't actually care about a different format as long as those two conditions are met.
I'm using Linux Mint (Ubuntu/Debian based), and I can install whatever free software is needed, so long as I don't have to compile it my self.
I tried the solution posted here. The avi it produced had the audio out of sync, and somehow discarded everything after the first 30 seconds.