Bug#672561: libavcodec-dev: Missing /usr/include/libavcodec/audioconvert.h

Rogério Brito rbrito at ime.usp.br
Sat May 12 06:22:57 UTC 2012


Hi there.

On Sat, May 12, 2012 at 3:07 AM, Andres Mejia <amejia004 at gmail.com> wrote:
> On Sat, May 12, 2012 at 1:39 AM, Rogério Brito <rbrito at ime.usp.br> wrote:
>> Package: libavcodec-dev
>> Severity: important
>>
>> Hi.
>>
>> The libavcodec-dev package is missing </usr/include/libavcodec/audioconvert.h>.
>
> Audioconvert is not a public header in either libav or ffmpeg. What is
> suppose to be used for this functionality is libavresample or
> libswresample.

I'm just getting it to compile, at first, and they use that. They
probably need a cluebat, then, if that is not a public interface. The
problem here is that they use AVAudioConvert, which is present only in
that header.

I'm not exactly sure if I want to patch this so heavily as to fix the
use of that interface.

>> This file is needed by handbrake. If I clone the libav git tree,
>> checkout the v0.8.2 tag and copy that file to /usr/include/avcodec,
>> then I am able to successfully compile handbrake with Debian's libav,
>> without needing to download things from outside.
>>
>> BTW, regarding handbrake, I am down to few packages now that need to
>> be taken from outside debian for it to compile, namely:
>>
>> * MODULES += contrib/libdvdread
>> * MODULES += contrib/libdvdnav
>> * MODULES += contrib/mpeg2dec
>
> Does handbrake used patched versions of these libs or can it use these
> libs as released upstream?

I have yet to see which patches can be dropped and which don't. OTOH,
the basics compile and a brief test here works. :)

>> Everything else works with packages in Debian *or* with packages in
>> the pkg-multimedia git repositories (e.g., libmkv, faac, libmp4v2).
>
> Ping Fabian. Was libmkv ready for upload?

I think it is fine as is. Not sure if the legal stuff
(debian/copyright etc.) is all in place for an upload to unstable.

> Could vo-aacenc be used instead of faac?

I still have to study that to see what can be done and how similar the
interfaces are.

> Also, as I mentioned in another email, libmp4v2 should be replaced with libav. mp4v2 is seeing
> less and less development and it's probably better to look into
> replacing use of mp4v2 anyway.

That's the same story as with vo-aacenc/faac.

> Also next time, please leave out things unrelated to a bug in it's bug report.

OK, but the excitement is really huge and I couldn't help sending some
side comments. :) Feel free to reply to the bug only the parts
pertaining to the bug and to the mailing list the other parts (please,
keep me CCed).



Thanks.

P.S.: Now, it compiles with Debian's mpeg2, which is one fewer embedded library.
-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br





More information about the pkg-multimedia-maintainers mailing list