[opus] opus file trimming/clipping

Timothy B. Terriberry tterribe at xiph.org
Wed May 8 17:41:13 PDT 2013


Matt Ruck wrote:
> I am new to opus and C, so please forgive my basic question. I am trying
> to trim a file to remove an extract at a specified starting and ending
> time -- an example would be to save an excerpt from a song as a
> ringtone. What is the best way to accomplish this?

Are you trying to produce a WAV file with the decoded output of just a 
segment of the input file, or are you trying to produce a new .opus file 
without re-encoding that segment?



More information about the opus mailing list