Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2022 23:55:44 -0800
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Firefox on stable/13
Message-ID:  <67467.1641887744@segfault.tristatelogic.com>
In-Reply-To: <CABObuOo8mWbgazLcCuebRmC1fu7efV6V88BVRNVWtGhhjeEi8Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <CABObuOo8mWbgazLcCuebRmC1fu7efV6V88BVRNVWtGhhjeEi8Q@mail.gmail=
.com>, =

"parv/freebsd" <parv.0zero9+freebsd@gmail.com> wrote:

>> On a slightly different topic, I have a question.  Maybe you can answer=
 it
>> for me.
>>
>
>You should have sent your question directly to -questions@ list instead
>of privately asking me.

Yes.

>> I'm building ffmpeg from ports, but it is already installed (as a requs=
ite
>> for other things) from packages.  What do I have to do in order to repl=
ace
>> the package with the (built) port?  Just "make install" in the port?  O=
r
>> do I have to (force?) remove the pkg version first?
>>
>
>After successful "build" (as in "make build") of the port, remove it ("ma=
ke
>deinstall") & then install it ("make install") ...
>
>  # make build && make deinstall && make install
>
>... or, wait for "make install" to fail as the port had already been
>installed. Then you could remove it either via pkg-delete(8) or via
>"deinstall" make(1) target; run the "install" target again.

Thank you.  As it turns out my question about replacing an installed packa=
ge
with a (built) port was not really curcial to what I am attempting to do.
But it is Good to have this information for future reference anyway.

My real problem, at present, is different.

I tried to build the ffmpeg port with the (better but non-free) Fraunhofer
FDK AAC codec, and in the configuration screen at build time the checkbox
to enable the Fraunhofer FDK AAC codec (aka "fdk-aac") for ffmpeg *was*
checked, but after the build, when I run the resulting ffmpeg binary it
is complaining when I try to use the following command line (in a simple
script):

    ffmpeg -i $ifile -c:v copy -c:a libfdk_aac -b:a 128k $ofile.mkv

I am getting an error that says that ffmpeg doesn't know about anything
about any codec called libfdk_aac.

This is really pissing me off.  I have built ffmpeg with the Fraunhofer
FDK AAC codec in the past (and I have used the same small script in the
past) and I never had any problems.  Now however it is just as if I had
never even selected that (fdk-aac) option in the ffmpeg port build
configuration menu!

Any advice appreciated.


Regards,
rfg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67467.1641887744>