audacious-media-player / audacious

A lightweight and versatile audio player
https://audacious-media-player.org
Other
813 stars 109 forks source link

FTBFS with recent ffmpeg (ffaudio #219

Closed Audacious-Bot closed 4 months ago

Audacious-Bot commented 4 months ago

Author Name: Doug McMahon Original Redmine Issue: https://redmine.audacious-media-player.org/issues/85 Original Date: 2012-03-23


Probably from this commit http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=284e65d64ea91dc172dea1b843d162b22ed48730

Taking a guess here - edited to switch (c->sample_fmt) { case AV_SAMPLE_FMT_U8: out_fmt = FMT_U8; break; case AV_SAMPLE_FMT_S16: out_fmt = FMT_S16_NE; break; case AV_SAMPLE_FMT_S32: out_fmt = FMT_S32_NE; break; case AV_SAMPLE_FMT_FLT: out_fmt = FMT_FLOAT; break;

Audacious-Bot commented 4 months ago

Original Redmine Comment Author Name: John Lindgren Original Date: 2012-03-24T04:13:55Z


Please give the following info:

  1. Version of Audacious.
  2. Version (or date checked out from Git) of FFmpeg.
  3. Build log.
Audacious-Bot commented 4 months ago

Original Redmine Comment Author Name: Doug McMahon Original Date: 2012-03-24T07:51:01Z


ffmpeg checked out today - ffmpeg version git-2012-03-22-5a4af04 audacious-plugin git from today (3.3-dev

Note that there is no issue with the 10.2 FFmpeg release, the reason I used the current ffmpeg git was to check if audacious would then support & playback wmalossless (which it does fine -

ffaudio-core.c:167 [get_format_by_content]: Get format by content: file:///home/doug/Music/luckynight.wma ffaudio-core.c:201 [get_format_by_content]: Format asf, buffer size 16384, score 100. VFS: <0x905d640> seek to 0 from beginning VFS: <0x905d640> size = 6585473 ffaudio-core.c:449 [ffaudio_play]: got codec wmalossless for stream index 0, opening ffaudio-core.c:467 [ffaudio_play]: opening audio outputffaudio-core.c:167 [get_format_by_content]: Get format by content: file:///home/doug/Music/luckynight.wma ffaudio-core.c:201 [get_format_by_content]: Format asf, buffer size 16384, score 100. VFS: <0x905d640> seek to 0 from beginning VFS: <0x905d640> size = 6585473 ffaudio-core.c:449 [ffaudio_play]: got codec wmalossless for stream index 0, opening ffaudio-core.c:467 [ffaudio_play]: opening audio output

Attached fail - on ubuntu 12.04, had to disable alsa & jack due to a couple of undefined, not relevant to ffaudio fail, would actually occur later in build

Audacious-Bot commented 4 months ago

Original Redmine Comment Author Name: Doug McMahon Original Date: 2012-03-24T07:52:30Z


here's log, same source after edit

Audacious-Bot commented 4 months ago

Original Redmine Comment Author Name: John Lindgren Original Date: 2012-03-25T19:14:22Z


Fixed: https://github.com/audacious-media-player/audacious-plugins/commit/2236fb3d8e0a121bfef80382abef03c342be1e6a