[opus] opus file trimming/clipping

Timothy B. Terriberry tterribe at xiph.org
Fri May 17 07:11:11 PDT 2013

Matt Ruck wrote:
> Second try -- before committing to developing a tool to trim an Opus file:
> I would like any help with estimating the level of effort to develop a
> simple tool to trim an Opus file. Assuming it can be based on the vcut
> code, can someone give me an idea of how similar the vorbis and opus
> encodings are and how much modification would be required to vcut.c or
> would I need to start from scratch?

My guess is it would take someone familiar with C but not Ogg or Opus 
about a week. You can certainly start from vcut.c... the main difference 
between Opus and Vorbis is the granule position -> time mapping rules.

More information about the opus mailing list