[FFmpeg-user] Problem capturing from 64ch SoundFlower on OSX
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Jul 9 19:48:14 CEST 2015
On Thursday 09 July 2015 06:48:42 pm Piers O'Hanlon wrote:
> Hi,
> I've been trying to capture multiple audio channels using ffmpeg on OSX -
> specifically I've been trying to capture from the Soundflower 64 channel
> input device
Just being curious: Is this hardware or software?
> configuration: --cc=clang
Unrelated: This should make no difference, I suggest to remove it.
> [avfoundation @ 0x7f8dfb83d800] Failed to open codec in av_find_stream_info
This is the relevant error, please test attached patch.
Note that -map_channel is deprecated, please use the pan filter.
Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index cea5355..f3dafc0 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -65,7 +65,7 @@
#define FF_DEFAULT_QUANT_BIAS 999999
#endif
-#define FF_SANE_NB_CHANNELS 63U
+#define FF_SANE_NB_CHANNELS 64U
#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1)
diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c
index 4ba77a7..9117cc0 100644
--- a/libavfilter/af_pan.c
+++ b/libavfilter/af_pan.c
@@ -37,7 +37,7 @@
#include "formats.h"
#include "internal.h"
-#define MAX_CHANNELS 63
+#define MAX_CHANNELS 64
typedef struct PanContext {
const AVClass *class;
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index e36faf1..ce5eef4 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -25,7 +25,7 @@
#include "libavutil/channel_layout.h"
#include "config.h"
-#define SWR_CH_MAX 32
+#define SWR_CH_MAX 64
#define SQRT3_2 1.22474487139158904909 /* sqrt(3/2) */
More information about the ffmpeg-user
mailing list