[FFmpeg-trac] #11434(avdevice:open): Unable to set channel count for Alsa input since release 5.1.1

FFmpeg trac at avcodec.org
Tue Jan 28 22:27:46 EET 2025


#11434: Unable to set channel count for Alsa input since release 5.1.1
-------------------------------------+------------------------------------
             Reporter:  Brad Isbell  |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:  alsa         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Comment (by Brad Isbell):

 Replying to [comment:3 James]:
 > Can you test https://github.com/jamrial/FFmpeg/tree/alsa to see if it
 fixes the issue?

 This did not fix it for me.  Though note, I did make a change to
 `libavdevice/alsa_dec.c` to please the compiler:

 {{{
     { "ch_layout",   "", offsetof(AlsaData, ch_layout),
 AV_OPT_TYPE_CHLAYOUT, {.str = "2C"}, INT_MIN, INT_MAX,
 AV_OPT_FLAG_DECODING_PARAM },
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11434#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list