[opus] opus file trimming/clipping
Matt Ruck
ultymatt at gmail.com
Thu May 16 12:08:25 PDT 2013
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?
Thanks,
Matt
On Mon, May 13, 2013 at 9:17 AM, Matt Ruck <ultymatt at gmail.com> wrote:
> Thanks for your responses. I am potentially interested in developing a
> simple tool to trim a section of an Opus file, similar to the functionality
> of vcut or sox. What I would need to know is an estimate of how involved
> (difficulty and time commitment ) it would be for someone like me, with
> very little experience working with audio or programming in C (although I
> am much more comfortable with higher level languages). I have the source
> code for vcut for reference -- assuming that a similar tool for Opus could
> be based on this, could most of this be reused?
>
>
> On Thu, May 9, 2013 at 7:17 PM, Ralph Giles <giles at thaumas.net> wrote:
>
>> On 13-05-09 2:06 PM, Matt Ruck wrote:
>>
>> > Would trimming in another format like WAV or Ogg using existing tools,
>> > and then encoding to Opus be a good way accomplish trimming a sound
>> > track for Opus, and if so, what tools might be best (e.g., vcut was
>> > previously mentioned)?
>>
>> Trimming WAV and then encoding to Opus would give you equivalent quality
>> and is something which can be done with existing tools. You can trim a
>> wave file with the command-line sox tool, or e.g. Audacity, a graphical
>> audio editor.
>>
>> Something like 'sox in.wav trim 12:53.6 30 out.wav' will cut out 30
>> seconds of audio starting at 12 minutes 53.6 seconds into the file.
>>
>> That said, if you want to try writing a lossless Opus trimmer, we'd be
>> happy to help. That' something the Ogg Opus draft which hasn't seen any
>> implementation feedback on.
>>
>> -r
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20130516/07fb9e82/attachment.htm
More information about the opus
mailing list