How about frame accurate cutting?

Issue #25 new
Selur created an issue

Since VapourSynth Editor more and more gets lots of features aside from being a simple VapourSynth script viewer (benchmarking, encoding). How about creating a frame accurate cutter based on VapourSynth Editor?

Shouldn't be hard to implement. Main steps would be:

  • extract positions of I-frames using a Vapoursynth script
  • let user decide which portions to keep
  • analyse source to get compatible encoder settings (would probably require libav)
  • reencode the gops associated to a cut (Vapoursynth script + reencode)
  • join video parts
  • cut audio&co
  • multiplex everything (using ffmpeg)

Thought about doing it myself, but I simply lack the time and motivation. I think this would be a nice feature to have and might interest more users in the project, since it would be the only cross platform frame accurate cutter.

Cu Selur

Ps.: If someone is interested in this I could share my old MKV Cutter (C++ Qt) source with him, which does this using avisynth on Windows.

Comments (1)

  1. Aleksey Lyashin repo owner

    Don't hold your breath. I've got little time to work on it now, and jobs queue is my top priority. Followed by other yet unimplemented enhancements. Your proposition would be the lowest priority, and I most likely wouldn't make it work with audio and choose encoder settings for you.

  2. Log in to comment