shinokada / tera

Interactive Bash script terminal music radio player. Play your favorite radio station, CRUD your favorite lists, and explore new radio stations from your terminal.
https://tera.codewithshin.com/
MIT License
109 stars 6 forks source link

[BUG]: [ffmpeg] SWR: Input channel layout "" is invalid or unsupported. #11

Closed silverfoxdoc closed 6 months ago

silverfoxdoc commented 6 months ago

Description of the bug

cannot play any stations at all. Always get the same error regardless of station attempting to play:

(+) Audio --aid=1 (mp3 2ch 44100Hz) AO: [coreaudio] 44100Hz fr-fl (stereo) 2ch floatp [ffmpeg] SWR: Input channel layout "" is invalid or unsupported. [swresample] Cannot open Libavresample context. [swresample] libswresample failed to initialize. Cannot convert decoder/filter output to any format supported by the output. Audio: no audio Exiting... (Errors when loading file) Not able to play your station.

Steps To Reproduce

Play any station

Additional Information

MacOS 14.4.1 Homebrew 4.2.17-49-gbb05700 ffmpeg 7.0 mpv 0.37.0 tera 0.4.3

possibly related to this issue? https://github.com/mpv-player/mpv/pull/13665

silverfoxdoc commented 6 months ago

seems to have spontaneously resolved; not entirely sure why