Tuesday, October 19, 2010

So I had to go back to Lucid from Maverick...oh well. Here is ffmpeg from source working

apt-get build-dep ffmpeg
apt-get source ffmpeg

apt-get install libdirac-dev libfaac-dev libmp3lame0 libmp3lame-dev libopencore-amrnb0 libopencore-amrwb0 libopencore-amrnb-dev libopencore-amrwb-dev libopenjpeg2 libopenjpeg-dev libssl-dev libvpx0 libvpx-dev libx264-85 libx264-dev libfaad-dev libfaad2 libxvidcore-dev libxvidcore4

#did this part trying to build svn, but i would have to pull packages from maverick...i'll wait for the backport
svn co svn://svn.mplayerhq.hu/rtmpdump/trunk rtmpdump
cd rtmpdump/librtmp
make
sudo make install
cd ../..
#end

svn co svn://svn.mplayerhq.hu/nut/src/trunk nut
cd nut
make
sudo make install

###libraries in 10.04 aren't new enough for svn
###svn co svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg-"version"
./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libnut --enable-swscale --enable-vdpau --enable-postproc --enable-avfilter

#gives us this:
install prefix            /usr/local
source path               /home/adev/src/ffmpeg-0.5.1
C compiler                gcc
.align is power-of-two    no
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     no
yasm                      yes
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              no
CMOV is fast              no
EBX available             yes
EBP available             no
10 operands supported     yes
gprof enabled             no
debug symbols             yes
strip symbols             yes
optimizations             yes
static                    yes
shared                    yes
postprocessing support    yes
software scaler enabled   yes
new filter support        yes
filters using lavformat   yes
video hooking             yes
Imlib2 support            yes
FreeType support          yes
network support           yes
IPv6 support              yes
threading support         pthreads
SDL support               yes
Sun medialib support      no
AVISynth enabled          no
libamr-nb support         no
libamr-wb support         no
libdc1394 support         yes
libdirac enabled          yes
libfaac enabled           yes
libfaad enabled           yes
libfaad dlopened          yes
libgsm enabled            yes
libmp3lame enabled        yes
libnut enabled            yes
libopencore-amrnb support yes
libopencore-amrwb support yes
libopenjpeg enabled       yes
libschroedinger enabled   yes
libspeex enabled          yes
libtheora enabled         yes
libvorbis enabled         yes
libx264 enabled           yes
libxvid enabled           yes
vdpau enabled             yes
zlib enabled              yes
bzlib enabled             yes

Enabled decoders:
aac            ffvhuff            pcm_f64be
aasc            flac            pcm_f64le
ac3            flashsv            pcm_mulaw
adpcm_4xm        flic            pcm_s16be
adpcm_adx        flv            pcm_s16le
adpcm_ct        fourxm            pcm_s16le_planar
adpcm_ea        fraps            pcm_s24be
adpcm_ea_maxis_xa    gif            pcm_s24daud
adpcm_ea_r1        h261            pcm_s24le
adpcm_ea_r2        h263            pcm_s32be
adpcm_ea_r3        h263i            pcm_s32le
adpcm_ea_xas        h264            pcm_s8
adpcm_g726        h264_vdpau        pcm_u16be
adpcm_ima_amv        huffyuv            pcm_u16le
adpcm_ima_dk3        idcin            pcm_u24be
adpcm_ima_dk4        imc            pcm_u24le
adpcm_ima_ea_eacs    indeo2            pcm_u32be
adpcm_ima_ea_sead    indeo3            pcm_u32le
adpcm_ima_iss        interplay_dpcm        pcm_u8
adpcm_ima_qt        interplay_video        pcm_zork
adpcm_ima_smjpeg    jpegls            pcx
adpcm_ima_wav        kmvc            png
adpcm_ima_ws        libfaad            ptx
adpcm_ms        libgsm            qcelp
adpcm_sbpro_2        libgsm_ms        qdm2
adpcm_sbpro_3        libopencore_amrnb    qdraw
adpcm_sbpro_4        libopencore_amrwb    qpeg
adpcm_swf        libopenjpeg        qtrle
adpcm_thp        libschroedinger        ra_144
adpcm_xa        libspeex        ra_288
adpcm_yamaha        loco            rawvideo
alac            mace3            rl2
amv            mace6            roq
ape            mdec            roq_dpcm
asv1            mimic            rpza
asv2            mjpeg            rv10
atrac3            mjpegb            rv20
avs            mlp            rv30
bethsoftvid        mmvideo            rv40
bfi            motionpixels        sgi
bmp            mp1            shorten
c93            mp2            smackaud
cavs            mp3            smacker
cinepak            mp3adu            smc
cljr            mp3on4            snow
cook            mpc7            sol_dpcm
cscd            mpc8            sonic
cyuv            mpeg1_vdpau        sp5x
dca            mpeg1video        sunrast
dnxhd            mpeg2video        svq1
dsicinaudio        mpeg4            svq3
dsicinvideo        mpeg_vdpau        targa
dvbsub            mpeg_xvmc        theora
dvdsub            mpegvideo        thp
dvvideo            msmpeg4v1        tiertexseqvideo
dxa            msmpeg4v2        tiff
eac3            msmpeg4v3        truemotion1
eacmv            msrle            truemotion2
eatgq            msvideo1        truespeech
eatgv            mszh            tscc
eatqi            nellymoser        tta
eightbps        nuv            txd
eightsvx_exp        pcm_alaw        ulti
eightsvx_fib        pcm_dvd            vb
escape124        pcm_f32be        vc1
ffv1            pcm_f32le        vc1_vdpau
vcr1            vp6f            wnv1
vmdaudio        vqa            ws_snd1
vmdvideo        wavpack            xan_dpcm
vmnc            wmav1            xan_wc3
vorbis            wmav2            xl
vp3            wmv1            xsub
vp5            wmv2            zlib
vp6            wmv3            zmbv
vp6a            wmv3_vdpau

Enabled encoders:
ac3            libopencore_amrnb    pcm_u16be
adpcm_adx        libschroedinger        pcm_u16le
adpcm_g726        libtheora        pcm_u24be
adpcm_ima_qt        libvorbis        pcm_u24le
adpcm_ima_wav        libx264            pcm_u32be
adpcm_ms        libxvid            pcm_u32le
adpcm_swf        ljpeg            pcm_u8
adpcm_yamaha        mjpeg            pcm_zork
alac            mp2            pgm
asv1            mpeg1video        pgmyuv
asv2            mpeg2video        png
bmp            mpeg4            ppm
dnxhd            msmpeg4v1        qtrle
dvbsub            msmpeg4v2        rawvideo
dvdsub            msmpeg4v3        roq
dvvideo            nellymoser        roq_dpcm
ffv1            pam            rv10
ffvhuff            pbm            rv20
flac            pcm_alaw        sgi
flashsv            pcm_f32be        snow
flv            pcm_f32le        sonic
gif            pcm_f64be        sonic_ls
h261            pcm_f64le        svq1
h263            pcm_mulaw        targa
h263p            pcm_s16be        tiff
huffyuv            pcm_s16le        vorbis
jpegls            pcm_s24be        wmav1
libdirac        pcm_s24daud        wmav2
libfaac            pcm_s24le        wmv1
libgsm            pcm_s32be        wmv2
libgsm_ms        pcm_s32le        zlib
libmp3lame        pcm_s8            zmbv

Enabled parsers:
aac            dvdsub            mpeg4video
ac3            h261            mpegaudio
cavsvideo        h263            mpegvideo
dca            h264            pnm
dirac            mjpeg            vc1
dnxhd            mlp            vp3
dvbsub

Enabled demuxers:
aac            ipmovie            pcm_s8
ac3            iss            pcm_u16be
aiff            libnut            pcm_u16le
amr            lmlm4            pcm_u24be
apc            m4v            pcm_u24le
ape            matroska        pcm_u32be
asf            mjpeg            pcm_u32le
ass            mlp            pcm_u8
au            mm            pva
avi            mmf            r3d
avs            mov            rawvideo
bethsoftvid        mp3            redir
bfi            mpc            rl2
c93            mpc8            rm
cavsvideo        mpegps            roq
daud            mpegts            rpl
dirac            mpegtsraw        rtsp
dnxhd            mpegvideo        sdp
dsicin            msnwc_tcp        segafilm
dts            mtv            shorten
dv            mvi            siff
dxa            mxf            smacker
ea            nc            sol
ea_cdata        nsv            str
eac3            nut            swf
ffm            nuv            thp
flac            ogg            tiertexseq
flic            oma            tta
flv            pcm_alaw        txd
fourxm            pcm_f32be        vc1
gsm            pcm_f32le        vc1t
gxf            pcm_f64be        vmd
h261            pcm_f64le        voc
h263            pcm_mulaw        wav
h264            pcm_s16be        wc3
idcin            pcm_s16le        wsaud
iff            pcm_s24be        wsvqa
image2            pcm_s24le        wv
image2pipe        pcm_s32be        xa
ingenient        pcm_s32le        yuv4mpegpipe

Enabled muxers:
ac3            libnut            pcm_f64le
adts            m4v            pcm_mulaw
aiff            matroska        pcm_s16be
amr            matroska_audio        pcm_s16le
asf            mjpeg            pcm_s24be
asf_stream        mmf            pcm_s24le
ass            mov            pcm_s32be
au            mp2            pcm_s32le
avi            mp3            pcm_s8
avm2            mp4            pcm_u16be
crc            mpeg1system        pcm_u16le
daud            mpeg1vcd        pcm_u24be
dirac            mpeg1video        pcm_u24le
dnxhd            mpeg2dvd        pcm_u32be
dts            mpeg2svcd        pcm_u32le
dv            mpeg2video        pcm_u8
eac3            mpeg2vob        psp
ffm            mpegts            rawvideo
flac            mpjpeg            rm
flv            mxf            roq
framecrc        mxf_d10            rtp
gif            null            swf
gxf            nut            tg2
h261            ogg            tgp
h263            pcm_alaw        vc1t
h264            pcm_f32be        voc
image2            pcm_f32le        wav
image2pipe        pcm_f64be        yuv4mpegpipe
ipod

Enabled protocols:
file            pipe            tcp
gopher            rtp            udp
http

Enabled filters:
crop

Enabled bsfs:
dump_extradata        mov2textsub        noise
h264_mp4toannexb    mp3_header_compress    remove_extradata
imx_dump_header        mp3_header_decompress    text2movsub
mjpega_dump_header

Enabled indevs:
alsa            oss            v4l2
dv1394            v4l            x11_grab_device
libdc1394

Enabled outdevs:
alsa            oss

License: nonfree and unredistributable
Creating config.mak and config.h...
---end output---

#opencore-amr is used instead of libamr and libx264 isn't new enough from repo...anyway we have h264 support from somewhere? a decent set of options don't you think?

No comments:

Post a Comment