sunlubo / SwiftFFmpeg

A Swift wrapper for the FFmpeg API
Apache License 2.0
521 stars 83 forks source link

xcode 14.2 build failed. With error Cannot find 'AV_CH_FRONT_LEFT' in scope #60

Closed kmitj closed 1 year ago

kmitj commented 1 year ago

Screen Shot 2023-02-27 at 13 01 04

sunlubo commented 1 year ago

Check your version of FFmpeg. The Channel Layout API has changed since FFmpeg 5.1.

jaceklapinski commented 1 year ago

Same problem:

ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers

How to resolve this ?

sunlubo commented 1 year ago

I will upgrade to FFmepg 6.0 later.

jaceklapinski commented 1 year ago

Ok, thx!

But current source code should works with ffmpeg version 5.1.3 ?

sunlubo commented 1 year ago

The main branch has been upgraded to FFmpeg 6.0.