Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 539856

Summary: media-video/vlc-2.1.2 with media-video/ffmpeg-2.5.3 - configure: error: libavcodec versions 56 and later are not supported yet
Product: Gentoo Linux Reporter: b1254633 <b1254633>
Component: Current packagesAssignee: Paweł Stankowski <aambitny>
Status: RESOLVED OBSOLETE    
Severity: normal CC: media-video, proxy-maint, steffen.weber, sven.koehler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description b1254633 2015-02-12 10:57:03 UTC
vlc-2.1.2 compiles only with =<ffmpeg-2.2.

With ffmpeg-2.5 I get this error:
configure: error: libavcodec versions 56 and later are not supported yet

Please, fix it

Reproducible: Always
Comment 1 Paweł Stankowski 2015-02-15 16:15:38 UTC
I tried to compile vlc-2.1.5 with ffmpeg-2.2.12 and it compiled successfully, so the problem is only with ffmpeg-2.5.*.

This is connected to avcodec use flag: ffmpeg 2.5 provides newer interface, that is not supported by VLC 2.1.*.

You can:
- switch to live ebuild 2.2.9999 or 9999
- install media-video/libav instead of media-video/ffmpeg (because both provide virtual/ffmpeg package)
- downgrade media-video/ffmpeg
- drop avcodec USE flag

I will add dependency on <media-video/ffmpeg-2.5 to vlc 2.1.5-r1 and 2.1.9999. Older ebuilds are based on obsolete virtual/ffmpeg dependency and are going to be deleted when 2.1.5-r1 is stabilized. ffmpeg-2.5 rather won't be stabilized before vlc-2.1.5-r1.
Comment 2 b1254633 2015-02-16 09:22:29 UTC
VLC 2.1.5 supports ffmpeg 2.5.*. Please, correct it
Comment 3 b1254633 2015-02-20 22:25:22 UTC
VLC 2.1.5 supports ffmpeg 2.5.*. Please, correct it
Comment 4 Paweł Stankowski 2015-02-21 00:42:41 UTC
All in all, I have not changed ebuild I mentioned because of you comment. But why do you repeat it? Are you sure that ebuild vlc-2.1.5-r1 is also broken?

It should not be. vlc-2.1.5 and newer are working correctly with ffmpeg 2.5.

The only problem that remains is that vlc-2.1.2 does not compile. However, vlc-2.1.5 must be stabilized anyway because of security bug in 2.1.2.

Can I close this bug?
Comment 5 Matt Turner gentoo-dev 2015-02-22 07:21:05 UTC
Occurs when using libav-11.2 as well.
Comment 6 jospezial 2015-09-28 14:59:33 UTC
vlc-2.1.2 is not in tree any more.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2015-10-04 08:26:21 UTC
purged from portage