[FFmpeg-devel] [PATCH] lavf/ogg: Support for end trimming Opus

Vignesh Venkatasubramanian vigneshv at google.com
Mon Sep 16 19:08:57 CEST 2013


On Sat, Sep 14, 2013 at 11:03 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Thu, Sep 12, 2013 at 10:24:18AM -0700, Vignesh Venkatasubramanian wrote:
>> Adding support for end trimming Opus embedded in Ogg container.
>>
>> Signed-Off By: Vignesh Venkatasubramanian <vigneshv at google.com>
>
> do you have some sample/testcase to test this patch ?
>

i did the following tests for this patch:

1) encode a raw pcm file to opus and then decode it back to raw. the
file size of the
raw files should match exactly. without the patch, the decoded file
will be bigger than
the original file because of padding. i did this for 10 odd files.

2) Xiph has this file for checking correctness of Opus decoders:
https://people.xiph.org/~greg/opus_testvectors/correctness_trimming_nobeeps.opus
I played back this file using ffplay and it works as expected after
applying this patch.
Not before.

Do you want me to include fate tests for this? If so, could you please
provide some
guidance on how to do it? I am unsure how to implement a fate test for
this. Please
let me know.

Thanks.

> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Good people do not need laws to tell them to act responsibly, while bad
> people will find a way around the laws. -- Plato
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list