Opened 7 years ago
Closed 4 years ago
#56391 closed defect (fixed)
VLC @2.2.8: error: libavutil versions 56 and later are not supported
Reported by: | jwhowse4 | Owned by: | RJVB (René Bertin) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.3 |
Keywords: | Cc: | Schamschula (Marius Schamschula), michaellass (Michael Lass) | |
Port: | VLC |
Description
I am running an Intel Mac Pro with Sierra 10.12.6 and XCode 9.2. After upgrading ffmpeg from 3.4.2 to 4.0.0, the macports check for linking errors identifies vlc as needing to be rebuilt. The rebuild fails with errors as listed in the attached log file. If I am interpreting the log file correctly vlc 2.2.8 does not support version 4.0.0 of ffmpeg. As the latest version of vlc is 3.0.2 perhaps the port should be updated? Any ideas about how to fix this?
Attachments (1)
Change History (8)
Changed 7 years ago by jwhowse4
Attachment: | vlc_main.log added |
---|
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | rjvbertin@… removed |
---|---|
Owner: | set to RJVB |
Status: | new → assigned |
comment:2 Changed 7 years ago by RJVB (René Bertin)
Nothing to be done about that unless/until VLC starts supporting FFMpeg 4, port:ffmpeg is reverted to FFMmpeg3 or an FFMpeg3 port is provided as a stop-gap measure for more conservative projects (port:mlt is concerned too here, and so might Audacity?). The FFMpeg 3 support was already hacked into VLC 2.2x.
I see that VLC 3.0.2 is out but I cannot seem to find a clear indication what FFMpeg versions it supports. VLC does have an option to build its own FFMpeg copy with its own patches; I might just use that to avoid future breakage.
[rant] Was it really necessary to update to an ABI and API breaking x.0.0 version instead of waiting a few patch or minor releases so that dependent projects can (could) catch up? A port:ffmpeg-devel would make perfect sense here (there used to be one IIRC). rant
comment:3 Changed 7 years ago by Schamschula (Marius Schamschula)
Cc: | Schamschula added |
---|
comment:4 Changed 7 years ago by michaellass (Michael Lass)
Cc: | michaellass added |
---|
comment:5 Changed 7 years ago by RJVB (René Bertin)
I've started looking into this.
First observation: VLC 3.x run on 10.9 and up but require 10.10 or higher for building. That means I'm stuck on the 2.2.x series, and will be trying to get 2.2.8 to build against FFMpeg 4.
I do have a test port that provides VLC 3.0.2, if someone wants to git that a spin (preferably someone who can also test whether libVLC is useable by 3rd-party applications on Mac).
comment:6 Changed 7 years ago by RJVB (René Bertin)
comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | VLC added; vlc removed |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Summary: | vlc rebuild fails after ffmpeg update → VLC @2.2.8: error: libavutil versions 56 and later are not supported |
The PR was merged.
vlc rebuild log file