pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/41666: multimedia/vlc08 / multimedia/ffmpeg incompatibility (NetBSD 4.0)



The following reply was made to PR pkg/41666; it has been noted by GNATS.

From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/41666: multimedia/vlc08 / multimedia/ffmpeg incompatibility
 (NetBSD 4.0)
Date: Tue, 14 Jul 2009 18:37:26 -0400

 On Thu,  2 Jul 2009 21:30:00 +0000 (UTC)
 kre%munnari.OZ.AU@localhost wrote:
 
 > checking for img_resample in -lavcodec... no
 > configure: error: Your FFmpeg library doesn't have the needed img_resample() 
 > function. You should rebuild it with software scaler disabled
 > *** Error code 1
 
 My previous comment was about misunderstanding the problem.  My own
 software used the software scaler already instead of the old interface.
 
 In ffmpeg-20080727nb7 from pkgsrc-2009Q1, both img_convert and
 img_resample symbols are present.  When looking at
 http://ffmpeg.org/RELEASE it seems that img_convert API is to be
 replaced by libswscale, which is the software scaler.  This probably
 means that this vlc version requires the older API and the error
 message assumes that building ffmpeg without swscaler might preserve
 the old API (which was true for older ffmpeg).
 
 ffmpeg-20080727nb7 appears to have both.  After looking at its patches,
 it seems that this was deliberate, which was nice.  However, it appears
 that the interface was not only deprecated but totally removed from
 this more recent ffmpeg.  This means that vlc08, as well as nucleo (see
 pkg/41713) probably need to be upgraded accordingly once they're fixed
 to use the new swscaler API.  Otherwise we'd have to maintain our own
 set of patches to ffmpeg for changes which upstream will never accept.
 
 Another solution would be to also have a separate ffmpeg-20080728 added
 in the state pkgsrc-2009Q1 has it, and used by vlc and nucleo only if
 their more recent versions don't yet use the swscaler API (I didn't
 check if they do and am not familiar with them yet however).
 -- 
 Matt
 


Home | Main Index | Thread Index | Old Index