[FFmpeg-devel] [PATCH] lavdevice: Add VideoToolbox output device.

Michael Niedermayer michael at niedermayer.cc
Mon Jun 8 10:52:38 EEST 2020


On Mon, Jun 08, 2020 at 12:26:28AM +0200, Thilo Borgmann wrote:
> Hi,
> 
> $subject.
> 
> Enables native audio output on OSX.
> OSX accepts numerous formats, so there are several output devices.
> 
> -Thilo

>  configure                  |    3 
>  libavdevice/Makefile       |    1 
>  libavdevice/alldevices.c   |   10 +
>  libavdevice/audiotoolbox.m |  308 +++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 322 insertions(+)
> 21f03d85483da43f5de38101bc3b6d7367525297  0001-lavdevice-Add-AudioToolbox-output-device.patch
> From bdabbc6a919ccff20d6ae16acff1a5d0f8ca46b8 Mon Sep 17 00:00:00 2001
> From: Thilo Borgmann <thilo.borgmann at mail.de>
> Date: Mon, 8 Jun 2020 00:20:25 +0200
> Subject: [PATCH] lavdevice: Add AudioToolbox output device.

this breaks build on linux

libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x88): undefined reference to `ff_audiotoolbox_f32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x90): undefined reference to `ff_audiotoolbox_s32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x98): undefined reference to `ff_audiotoolbox_s24_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xa0): undefined reference to `ff_audiotoolbox_s16_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xa8): undefined reference to `ff_audiotoolbox_s8_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xb0): undefined reference to `ff_audiotoolbox_u32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xb8): undefined reference to `ff_audiotoolbox_u24_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xc0): undefined reference to `ff_audiotoolbox_u16_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xc8): undefined reference to `ff_audiotoolbox_u8_muxer'
collect2: error: ld returned 1 exit status
Makefile:114: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
make: *** Waiting for unfinished jobs....
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x88): undefined reference to `ff_audiotoolbox_f32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x90): undefined reference to `ff_audiotoolbox_s32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x98): undefined reference to `ff_audiotoolbox_s24_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xa0): undefined reference to `ff_audiotoolbox_s16_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xa8): undefined reference to `ff_audiotoolbox_s8_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xb0): undefined reference to `ff_audiotoolbox_u32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xb8): undefined reference to `ff_audiotoolbox_u24_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xc0): undefined reference to `ff_audiotoolbox_u16_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xc8): undefined reference to `ff_audiotoolbox_u8_muxer'
collect2: error: ld returned 1 exit status
Makefile:114: recipe for target 'ffplay_g' failed
make: *** [ffplay_g] Error 1
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x88): undefined reference to `ff_audiotoolbox_f32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x90): undefined reference to `ff_audiotoolbox_s32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0x98): undefined reference to `ff_audiotoolbox_s24_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xa0): undefined reference to `ff_audiotoolbox_s16_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xa8): undefined reference to `ff_audiotoolbox_s8_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xb0): undefined reference to `ff_audiotoolbox_u32_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xb8): undefined reference to `ff_audiotoolbox_u24_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xc0): undefined reference to `ff_audiotoolbox_u16_muxer'
libavdevice/libavdevice.a(alldevices.o):(.data.rel.ro+0xc8): undefined reference to `ff_audiotoolbox_u8_muxer'
collect2: error: ld returned 1 exit status
Makefile:114: recipe for target 'ffprobe_g' failed
make: *** [ffprobe_g] Error 1

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200608/5356e8db/attachment.sig>


More information about the ffmpeg-devel mailing list