[FFmpeg-devel] [PATCH v2] avformat/avienc: add muxer option "write_channel_mask"
t.rapp at noa-archive.com
Thu Sep 10 16:43:42 CEST 2015
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  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
Forgot to add a reference to AVClass in AVIContext. Attached an updated
version of the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4320 bytes
Desc: not available
More information about the ffmpeg-devel