[FFmpeg-devel] [PATCH] avformat/movenc: add support for syncframes concatenation for E-AC-3.

Benoit Fouet benoit.fouet at free.fr
Fri Oct 10 20:34:08 CEST 2014


Hi,

On 10 October 2014 19:57:18 CEST, Michael Niedermayer <michaelni at gmx.at> wrote:
>On Thu, Oct 09, 2014 at 10:02:14AM +0200, Benoit Fouet wrote:
>> E-AC-3 samples should contain 6 audio blocks, so concatenate
>syncframes
>> in order to achieve this.
>> ---
>>  libavformat/movenc.c | 41 +++++++++++++++++++++++++++++++++++------
>>  1 file changed, 35 insertions(+), 6 deletions(-)
>
>this doesnt build when applied on top of the current git head
>
>libavformat/movenc.c:423:14: error: ‘ret’ undeclared (first use in this
>function)
>

Yeah... Forgot to rebase to put the definition of ret in the if/else clauses...

>also, how can this be tested ?
>
>[...]

This can be tested using a 7.1 input in the samples. Note that ffplay won't be able to play it though...

-- 
Ben



More information about the ffmpeg-devel mailing list