Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg@2.8 & ffmbc: drop faac #20546

Closed
wants to merge 2 commits into from

Conversation

zmwangx
Copy link
Contributor

@zmwangx zmwangx commented Nov 12, 2017

I just took a look at #20317 myself. As expected, both won't build with faac 1.29.9, with the same error:

libavcodec/libfaac.c:87:15: error: no member named 'allowMidside' in 'struct faacEncConfiguration'
    faac_cfg->allowMidside = 1;
    ~~~~~~~~  ^
1 error generated.

FFmpeg has dropped faac support in 3.2 (a year ago), so I doubt this will be fixed in the 2.8 line — there won't be anything to backport.

FFmbc is so outdated I consider it stale or dead. After dropping faac, there's still the native AAC encoder:

$ ffmbc -codecs | grep aac
FFmbc version 0.7.2
Copyright (c) 2008-2014 Baptiste Coudurier and the FFmpeg developers
 DEA    aac             Advanced Audio Coding
 D A    aac_latm        AAC LATM (Advanced Audio Codec LATM syntax)

which I believe was still experimental when FFmbc was last synced with FFmpeg upstream, so it probably doesn't perform as well as libfaac. I checked FFmbc's configure and unfortunately it doesn't seem to support libvo-aacenc or libfdk_aac. If you (one the two remaining FFmbc users) absolutely need faac, you need to urge FFmbc upstream to patch and release, or wisely use brew switch / brew pin.

Broken with faac 1.29.9.

    libavcodec/libfaac.c:87:15: error: no member named 'allowMidside' in 'struct faacEncConfiguration'
        faac_cfg->allowMidside = 1;
        ~~~~~~~~  ^
    1 error generated.
Broken with faac 1.29.9.

    libavcodec/libfaac.c:87:15: error: no member named 'allowMidside' in 'struct faacEncConfiguration'
        faac_cfg->allowMidside = 1;
        ~~~~~~~~  ^
    1 error generated.
@ilovezfs
Copy link
Contributor

I'm not sure faac upstream intended to break their API so it would be good to confirm that with them before assuming it's the case.

@zmwangx
Copy link
Contributor Author

zmwangx commented Nov 12, 2017

Good point, knik0/faac#9.

@ilovezfs
Copy link
Contributor

Closed via #20626 in 69eb8e0.

@ilovezfs ilovezfs closed this Nov 14, 2017
@zmwangx zmwangx deleted the ffmpeg28-ffmbc-drop-faac branch November 14, 2017 23:39
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants