Unstripped ffmpeg

Reinhard Tartler siretart at tauware.de
Mon Aug 31 06:19:50 UTC 2009


Felipe Sateler <fsateler at gmail.com> writes:

> On Sunday 30 August 2009 14:59:26 Reinhard Tartler wrote:
>> Felipe Sateler <fsateler at gmail.com> writes:
>> > How is one supposed to build unstripped ffmpeg binaries?
>>
>> By building the package ffmpeg-extra
>
> That's ffmpeg.extra, right? If so, what's ffmpeg.unstripped for?

ffmpeg.unstripped is the former name, it was renamed to ffmpeg.extra and
I didn't get to remove it from our repo yet. sorry, I'm really in a
hurry now as tomorrow starts my honeymoon.

>> > I built from the master.unstripped branch but still have missing
>> > codecs.
>>
>> Seems like a bug. which ones are missing?
>
> mpeg4 and mp3, at least. What confuses me is that ffmpeg says it was built 
> without mpeg4 support, but shows as available, but does not work:

ffmpeg has no mp3 encoder, but uses lame. so try liblame or something. 

> % ffmpeg -formats | grep mpeg4
> FFmpeg version SVN-r18630-4:0.5+svn20090420-2, Copyright (c) 2000-2009 Fabrice 
> Bellard, et al.
>   configuration: --disable-encoder=h263 --disable-encoder=h263p --disable-
> encoder=mpeg2video --disable-encoder=mpeg4 --disable-encoder=msmpeg4v1 --
> disable-encoder=msmpeg4v2 --disable-encoder=msmpeg4v3 --extra-
> version=4:0.5+svn20090420-2 --prefix=/usr --enable-avfilter --enable-avfilter-
> lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-
> libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-
> vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --
> enable-libfaad --enable-libdc1394 --enable-shared --disable-static
>   libavutil     49.15. 0 / 49.15. 0
>   libavcodec    52.20. 0 / 52.20. 0
>   libavformat   52.31. 0 / 52.31. 0
>   libavdevice   52. 1. 0 / 52. 1. 0
>   libavfilter    0. 4. 0 /  0. 4. 0
>   libswscale     0. 7. 1 /  0. 7. 1
>   libpostproc   51. 2. 0 / 51. 2. 0
>   built on May  8 2009 06:31:25, gcc: 4.3.3
>  DEVSDT mpeg4           MPEG-4 part 2
>  DEVSD  msmpeg4         MPEG-4 part 2 Microsoft variant version 3
>  DEVSD  msmpeg4v1       MPEG-4 part 2 Microsoft variant version 1
>  DEVSD  msmpeg4v2       MPEG-4 part 2 Microsoft variant version 2

so these should do. hm. do they work if you compile statically from
hand?

btw, for encoding to mpeg4 I'd recommend to use the libx264 encoder,
ffmpeg-extra provides a wrapper.

>> > Also, I note that master.{extra,unstripped} do not build a
>> > ffmpeg package, they only build the -{unstripped,extra} libraries. Why
>> > is this so?
>>
>> They install replacement libraries in /usr/lib. There is no need to
>> rebuild 'ffmpeg', as they dynamically link against libavcodec.
>
> Hmm ok. I guess building a ffmpeg-unstripped metapackage that pulls all 
> unstripped libs might be a good idea.

In ubuntu there is a metapackage 'ubuntu-restricted-extras' for
this. Maybe it makes sense to have something like that in debimedia as
well.

BTW, totally unannounced, Fabian, feel free to announce at your
discretion on the wiki or something or wait 2-3 weeks until I return, I
don't mind. The local admins of the mirror seem ok with it. The
debimedia repo can be seen here:

http://debian.informatik.uni-erlangen.de/debimedia/

updated daily, Fabian can sponsor uploads if necessary.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list