[FFmpeg-trac] #10473(undetermined:new): Feature request: Support Audio ChannelMask with AviSynth+ r4001

FFmpeg trac at avcodec.org
Sat Jul 15 14:18:01 EEST 2023


#10473: Feature request: Support Audio ChannelMask with AviSynth+ r4001
-------------------------------------+-------------------------------------
             Reporter:  Jose         |                     Type:
  Peirote                            |  enhancement
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 With the last AviSynth+ r4001 the audio channelmask is stored in the
 VideoInfo.image_type variable (see details in the new
 https://github.com/AviSynth/AviSynthPlus/blob/master/avs_core/include/avisynth.h
 )

 At least a decoder test (https://github.com/HomeOfAviSynthPlusEvolution/L
 -SMASH-Works/issues/35) can store that info, or can be set in avs script
 with SetChannelMask().

 Now only know VirtualDub2 to output WAVE_FORMAT_EXTENSIBLE with the
 correct channel map taken from that info.

 Please add that feature to ffmpeg, now is ignored and a default channel
 mask, based in numchannels, is output.

 Added a avs script and a eac3 sample to be load in VirtualDub2 and save
 audio:
 MaskChannels :  22031 (FL FR FC LF SL SR TFL TFR).
 If don't want install the test version of LWLibavAudioSource uncomment the
 SetChannelMask("22031")

 Compare the output with the:

 ffmpeg -i chmask.avs chbad.wav

 MaskChannels :  1599 (FL FR FC LF BL BR SL SR)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10473>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list