On Thu, Sep 10, 2015 at 04:43:42PM +0200, Tobias Rapp wrote: > On 10.09.2015 15:28, Tobias Rapp wrote: > >On 10.09.2015 14:57, Derek Buitenhuis wrote: > >>On 9/10/2015 1:25 PM, Tobias Rapp wrote: > >>>My use-case is handling recorded AVI files which have an > >>>unknown/empty/unsupported channel layout. Instead of writing the guessed > >>>channel layout into the output file, using "-write_channel_mask off" > >>>allows to write an empty channel mask instead. > >> > >>Are such files even valid? > > > >I guess so as the docs at [1] say in chapter "Details about dwChannelMask": > > > >"If, for example in a multi-channel audio authoring application, no > >speaker location is desired on any of the mono streams, the > >dwChannelMask should explicitly be set to 0." > > > >BTW: I just noticed that FATE is failing after applying the patch so > >I'll need to take a closer look and update the patch before it can be > >applied. > > Forgot to add a reference to AVClass in AVIContext. Attached an > updated version of the patch. > > /Tobias
> avienc.c | 23 +++++++++++++++++++++-- > riff.h | 5 +++++ > riffenc.c | 5 +++-- > 3 files changed, 29 insertions(+), 4 deletions(-) > 0965d232568ffd0c4ac8156de8efd547eb963cd7 > 0001-avformat-avienc-add-muxer-option-write_channel_mask.patch > From 6b2c3feb43870398005ea307d6d9ee4736dd2d11 Mon Sep 17 00:00:00 2001 > From: Tobias Rapp <t.r...@noa-audio.com> > Date: Thu, 10 Sep 2015 14:04:18 +0200 > Subject: [PATCH] avformat/avienc: add muxer option "write_channel_mask" applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No great genius has ever existed without some touch of madness. -- Aristotle
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel