RHEL7.2 build FFMPEG/n3.0.10 and ffplay(Based on SDL1.x)

59 篇文章 0 订阅
9 篇文章 0 订阅


RHEL7.2/Kernel4.13/X86_64bit
lake@localhost:~$ cat  /proc/version 
Linux version 4.13.0+ (lake@localhost.localdomain) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)) #5 SMP Mon Apr 23 04:09:02 EDT 2018
lake@localhost:~$ uname -a 
Linux localhost.localdomain 4.13.0+ #5 SMP Mon Apr 23 04:09:02 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux


lake@localhost:~/software_x86_x64/ffmpeg$ rpm -qa  |grep SDL
SDL-1.2.15-14.el7.i686
SDL-devel-1.2.15-14.el7.x86_64
SDL-1.2.15-14.el7.x86_64
lake@localhost:~/software_x86_x64/ffmpeg$ 

### note ffmpeg drops support to SDL1.x from n3.2 version  ........


1. yasm 

  wget  http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz 
  tar zxf yasm-1.3.0.tar.gz 
  cd yasm-1.3.0/ 
  ./configure   --prefix=/usr 
  make  -j32
  sudo  make  -j32   install 
 
lake@localhost:~/software_x86_x64/ffmpeg$ which yasm 
/usr/bin/yasm
lake@localhost:~/software_x86_x64/ffmpeg$  
lake@localhost:~/software_x86_x64/ffmpeg$ yasm   --version 
yasm 1.3.0
Compiled on Aug  6 2018.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
lake@localhost:~/software_x86_x64/ffmpeg$ 
 


 lake@localhost:~/software_x86_x64$ git clone https://git.ffmpeg.org/ffmpeg.git  
 


############ 
### note ffmpeg drops support to SDL1.x from n3.2 version  ........
###  Build n3.1 if you want ffplay based on SDL1.x lib on Linux
##############

 lake@localhost:~/software_x86_x64/ffmpeg$ git checkout  n3.2.12    <<<< July 18,2018 

lake@localhost:~/software_x86_x64/ffmpeg$ git log 
commit a911f234e26e488198dff8aec8a5ff3c2e052cc4
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Wed Jul 18 23:04:10 2018 +0200

    Update for 3.2.12
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

 lake@localhost:~/software_x86_x64/ffmpeg$ ./configure   --prefix=/usr   --enable-shared --disable-static  
install prefix            /usr
source path               .
C compiler                gcc
C library                 glibc
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AESNI enabled             yes
AVX enabled               yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    no
shared                    yes
postprocessing support    no
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL2 support              no
opencl enabled            no
JNI support               no
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    yes

Enabled programs:
ffmpeg               ffprobe              ffserver

External libraries:
bzlib               libxcb              libxcb_shm         xlib                zlib
iconv               libxcb_shape              libxcb_xfixes

External libraries providing hardware acceleration:
nvenc

Libraries:
avcodec               avfilter              avutil             swresample            swscale
avdevice           avformat

Enabled decoders:
aac               avrn                  fic             mp3adufloat            pgmyuv
aac_fixed           avrp                  flac             mp3float            pgssub
aac_latm           avs                  flashsv             mp3on4                pictor
aasc               avui                  flashsv2             mp3on4float            pjs
ac3               ayuv                  flic             mpc7                png
ac3_fixed           bethsoftvid              flv             mpc8                ppm
adpcm_4xm           bfi                  fourxm             mpeg1video            prores
adpcm_adx           bink                  fraps             mpeg2video            prores_lgpl
adpcm_afc           binkaudio_dct          frwu             mpeg4                ptx
adpcm_aica           binkaudio_rdft          g2m             mpegvideo            qcelp
adpcm_ct           bintext              g723_1             mpl2                qdm2
adpcm_dtk           bmp                  g729             msa1                qdraw
adpcm_ea           bmv_audio              gif             msmpeg4v1            qpeg
adpcm_ea_maxis_xa       bmv_video              gsm             msmpeg4v2            qtrle
adpcm_ea_r1           brender_pix              gsm_ms             msmpeg4v3            r10k
adpcm_ea_r2           c93                  h261             msrle                r210
adpcm_ea_r3           cavs                  h263             mss1                ra_144
adpcm_ea_xas           ccaption              h263i             mss2                ra_288
adpcm_g722           cdgraphics              h263p             msvideo1            ralf
adpcm_g726           cdxl                  h264             mszh                rawvideo
adpcm_g726le           cfhd                  hap             mts2                realtext
adpcm_ima_amv           cinepak              hevc             mvc1                rl2
adpcm_ima_apc           cljr                  hnm4_video         mvc2                roq
adpcm_ima_dat4           cllc                  hq_hqa             mxpeg                roq_dpcm
adpcm_ima_dk3           comfortnoise              hqx             nellymoser            rpza
adpcm_ima_dk4           cook                  huffyuv             nuv                rscc
adpcm_ima_ea_eacs       cpia                  iac             on2avc                rv10
adpcm_ima_ea_sead       cscd                  idcin             opus                rv20
adpcm_ima_iss           cyuv                  idf             paf_audio            rv30
adpcm_ima_oki           dca                  iff_ilbm             paf_video            rv40
adpcm_ima_qt           dds                  imc             pam                s302m
adpcm_ima_rad           dfa                  indeo2             pbm                sami
adpcm_ima_smjpeg       dirac              indeo3             pcm_alaw            sanm
adpcm_ima_wav           dnxhd              indeo4             pcm_bluray            screenpresso
adpcm_ima_ws           dpx                  indeo5             pcm_dvd            sdx2_dpcm
adpcm_ms           dsd_lsbf              interplay_acm         pcm_f32be            sgi
adpcm_mtaf           dsd_lsbf_planar          interplay_dpcm         pcm_f32le            sgirle
adpcm_psx           dsd_msbf              interplay_video         pcm_f64be            sheervideo
adpcm_sbpro_2           dsd_msbf_planar          jacosub             pcm_f64le            shorten
adpcm_sbpro_3           dsicinaudio              jpeg2000             pcm_lxf            sipr
adpcm_sbpro_4           dsicinvideo              jpegls             pcm_mulaw            smackaud
adpcm_swf           dss_sp              jv             pcm_s16be            smacker
adpcm_thp           dst                  kgv1             pcm_s16be_planar        smc
adpcm_thp_le           dvaudio              kmvc             pcm_s16le            smvjpeg
adpcm_vima           dvbsub              lagarith             pcm_s16le_planar        snow
adpcm_xa           dvdsub              loco             pcm_s24be            sol_dpcm
adpcm_yamaha           dvvideo              m101             pcm_s24daud            sonic
aic               dxa                  mace3             pcm_s24le            sp5x
alac               dxtory              mace6             pcm_s24le_planar        srt
alias_pix           dxv                  magicyuv             pcm_s32be            ssa
als               eac3                  mdec             pcm_s32le            stl
amrnb               eacmv              metasound             pcm_s32le_planar        subrip
amrwb               eamad              microdvd             pcm_s64be            subviewer
amv               eatgq              mimic             pcm_s64le            subviewer1
anm               eatgv              mjpeg             pcm_s8                sunrast
ansi               eatqi              mjpegb             pcm_s8_planar            svq1
ape               eightbps              mlp             pcm_u16be            svq3
apng               eightsvx_exp              mmvideo             pcm_u16le            tak
ass               eightsvx_fib              motionpixels         pcm_u24be            targa
asv1               escape124              movtext             pcm_u24le            targa_y216
asv2               escape130              mp1             pcm_u32be            tdsc
atrac1               evrc                  mp1float             pcm_u32le            text
atrac3               exr                  mp2             pcm_u8                theora
atrac3p               ffv1                  mp2float             pcm_zork            thp
aura               ffvhuff              mp3             pcx                tiertexseqvideo
aura2               ffwavesynth              mp3adu             pgm                tiff
tmv               v210x              vp5             wmav1                xface
truehd               v308                  vp6             wmav2                xl
truemotion1           v408                  vp6a             wmavoice            xma1
truemotion2           v410                  vp6f             wmv1                xma2
truemotion2rt           vb                  vp7             wmv2                xsub
truespeech           vble                  vp8             wmv3                xwd
tscc               vc1                  vp9             wmv3image            y41p
tscc2               vc1image              vplayer             wnv1                ylc
tta               vcr1                  vqa             ws_snd1            yop
twinvq               vmdaudio              wavpack             xan_dpcm            yuv4
txd               vmdvideo              webp             xan_wc3            zero12v
ulti               vmnc                  webvtt             xan_wc4            zerocodec
utvideo               vorbis              wmalossless         xbin                zlib
v210               vp3                  wmapro             xbm                zmbv

Enabled encoders:
a64multi           dvbsub              msmpeg4v3             pcm_u16le            subrip
a64multi5           dvdsub              msvideo1             pcm_u24be            sunrast
aac               dvvideo              nellymoser         pcm_u24le            svq1
ac3               eac3                  nvenc             pcm_u32be            targa
ac3_fixed           ffv1                  nvenc_h264         pcm_u32le            text
adpcm_adx           ffvhuff              nvenc_hevc         pcm_u8                tiff
adpcm_g722           flac                  pam             pcx                truehd
adpcm_g726           flashsv              pbm             pgm                tta
adpcm_ima_qt           flashsv2              pcm_alaw             pgmyuv                utvideo
adpcm_ima_wav           flv                  pcm_f32be             png                v210
adpcm_ms           g723_1              pcm_f32le             ppm                v308
adpcm_swf           gif                  pcm_f64be             prores                v408
adpcm_yamaha           h261                  pcm_f64le             prores_aw            v410
alac               h263                  pcm_mulaw             prores_ks            vc2
alias_pix           h263p              pcm_s16be             qtrle                vorbis
amv               h264_nvenc              pcm_s16be_planar         r10k                wavpack
apng               hevc_nvenc              pcm_s16le             r210                webvtt
ass               huffyuv              pcm_s16le_planar         ra_144                wmav1
asv1               jpeg2000              pcm_s24be             rawvideo            wmav2
asv2               jpegls              pcm_s24daud         roq                wmv1
avrp               ljpeg              pcm_s24le             roq_dpcm            wmv2
avui               mjpeg              pcm_s24le_planar         rv10                wrapped_avframe
ayuv               mlp                  pcm_s32be             rv20                xbm
bmp               movtext              pcm_s32le             s302m                xface
cinepak               mp2                  pcm_s32le_planar         sgi                xsub
cljr               mp2fixed              pcm_s64be             snow                xwd
comfortnoise           mpeg1video              pcm_s64le             sonic                y41p
dca               mpeg2video              pcm_s8             sonic_ls            yuv4
dnxhd               mpeg4              pcm_s8_planar         srt                zlib
dpx               msmpeg4v2              pcm_u16be             ssa                zmbv

Enabled hwaccels:

Enabled parsers:
aac               dirac              g729             mpeg4video            rv40
aac_latm           dnxhd              gsm             mpegaudio            tak
ac3               dpx                  h261             mpegvideo            vc1
adx               dvaudio              h263             opus                vorbis
bmp               dvbsub              h264             png                vp3
cavsvideo           dvd_nav              hevc             pnm                vp8
cook               dvdsub              mjpeg             rv30                vp9
dca               flac                  mlp

Enabled demuxers:
aa               dtshd              image_png_pipe         nsv                smjpeg
aac               dv                  image_ppm_pipe         nut                smush
ac3               dvbsub              image_qdraw_pipe         nuv                sol
acm               dvbtxt              image_sgi_pipe         ogg                sox
act               dxa                  image_sunrast_pipe     oma                spdif
adf               ea                  image_tiff_pipe         paf                srt
adp               ea_cdata              image_webp_pipe         pcm_alaw            stl
ads               eac3                  ingenient             pcm_f32be            str
adx               epaf                  ipmovie             pcm_f32le            subviewer
aea               ffm                  ircam             pcm_f64be            subviewer1
afc               ffmetadata              iss             pcm_f64le            sup
aiff               filmstrip              iv8             pcm_mulaw            svag
aix               flac                  ivf             pcm_s16be            swf
amr               flic                  ivr             pcm_s16le            tak
anm               flv                  jacosub             pcm_s24be            tedcaptions
apc               fourxm              jv             pcm_s24le            thp
ape               frm                  live_flv             pcm_s32be            threedostr
apng               fsb                  lmlm4             pcm_s32le            tiertexseq
aqtitle               g722                  loas             pcm_s8                tmv
asf               g723_1              lrc             pcm_u16be            truehd
asf_o               g729                  lvf             pcm_u16le            tta
ass               genh                  lxf             pcm_u24be            tty
ast               gif                  m4v             pcm_u24le            txd
au               gsm                  matroska             pcm_u32be            v210
avi               gxf                  mgsts             pcm_u32le            v210x
avr               h261                  microdvd             pcm_u8                vag
avs               h263                  mjpeg             pjs                vc1
bethsoftvid           h264                  mlp             pmp                vc1t
bfi               hevc                  mlv             pva                vivo
bfstm               hls                  mm             pvf                vmd
bink               hnm                  mmf             qcp                vobsub
bintext               ico                  mov             r3d                voc
bit               idcin              mp3             rawvideo            vpk
bmv               idf                  mpc             realtext            vplayer
boa               iff                  mpc8             redspark            vqf
brstm               ilbc                  mpegps             rl2                w64
c93               image2              mpegts             rm                wav
caf               image2_alias_pix          mpegtsraw             roq                wc3
cavsvideo           image2_brender_pix          mpegvideo             rpl                webm_dash_manifest
cdg               image2pipe              mpjpeg             rsd                webvtt
cdxl               image_bmp_pipe          mpl2             rso                wsaud
cine               image_dds_pipe          mpsub             rtp                wsd
concat               image_dpx_pipe          msf             rtsp                wsvqa
data               image_exr_pipe          msnwc_tcp             sami                wtv
daud               image_j2k_pipe          mtaf             sap                wv
dcstr               image_jpeg_pipe          mtv             sbg                wve
dfa               image_jpegls_pipe          musx             sdp                xa
dirac               image_pam_pipe          mv             sdr2                xbin
dnxhd               image_pbm_pipe          mvi             segafilm            xmv
dsf               image_pcx_pipe          mxf             shorten            xvag
dsicin               image_pgm_pipe          mxg             siff                xwma
dss               image_pgmyuv_pipe          nc             sln                yop
dts               image_pictor_pipe          nistsphere         smacker            yuv4mpegpipe

Enabled muxers:
a64               filmstrip              matroska             opus                segment
ac3               flac                  matroska_audio         pcm_alaw            singlejpeg
adts               flv                  md5             pcm_f32be            smjpeg
adx               framecrc              microdvd             pcm_f32le            smoothstreaming
aiff               framehash              mjpeg             pcm_f64be            sox
amr               framemd5              mkvtimestamp_v2         pcm_f64le            spdif
apng               g722                  mlp             pcm_mulaw            spx
asf               g723_1              mmf             pcm_s16be            srt
asf_stream           gif                  mov             pcm_s16le            stream_segment
ass               gsm                  mp2             pcm_s24be            swf
ast               gxf                  mp3             pcm_s24le            tee
au               h261                  mp4             pcm_s32be            tg2
avi               h263                  mpeg1system         pcm_s32le            tgp
avm2               h264                  mpeg1vcd             pcm_s8                truehd
bit               hash                  mpeg1video         pcm_u16be            tta
caf               hds                  mpeg2dvd             pcm_u16le            uncodedframecrc
cavsvideo           hevc                  mpeg2svcd             pcm_u24be            vc1
crc               hls                  mpeg2video         pcm_u24le            vc1t
dash               ico                  mpeg2vob             pcm_u32be            voc
data               ilbc                  mpegts             pcm_u32le            w64
daud               image2              mpjpeg             pcm_u8                wav
dirac               image2pipe              mxf             psp                webm
dnxhd               ipod                  mxf_d10             rawvideo            webm_chunk
dts               ircam              mxf_opatom         rm                webm_dash_manifest
dv               ismv                  null             roq                webp
eac3               ivf                  nut             rso                webvtt
f4v               jacosub              oga             rtp                wtv
ffm               latm                  ogg             rtp_mpegts            wv
ffmetadata           lrc                  ogv             rtsp                yuv4mpegpipe
fifo               m4v                  oma             sap

Enabled protocols:
async               file                  icecast             rtmp                tcp
cache               ftp                  md5             rtmpt                tee
concat               gopher              mmsh             rtp                udp
crypto               hls                  mmst             srtp                udplite
data               http                  pipe             subfile            unix
ffrtmphttp           httpproxy

Enabled filters:
abench               astreamselect          drawgrid             mandelbrot            showspectrum
acompressor           atadenoise              dynaudnorm         maskedclamp            showspectrumpic
acrossfade           atempo              earwax             maskedmerge            showvolume
acrusher           atrim              edgedetect         mergeplanes            showwaves
adelay               avectorscope              elbg             mestimate            showwavespic
adrawgraph           avgblur              equalizer             metadata            shuffleframes
aecho               bandpass              erosion             minterpolate            shuffleplanes
aemphasis           bandreject              extractplanes         movie                sidechaincompress
aeval               bass                  extrastereo         negate                sidechaingate
aevalsrc           bbox                  fade             nlmeans            sidedata
afade               bench              fftfilt             noformat            signalstats
afftfilt           biquad              field             noise                silencedetect
aformat               bitplanenoise          fieldhint             null                silenceremove
agate               blackdetect              fieldmatch         nullsink            sine
ahistogram           blend              fieldorder         nullsrc            smptebars
ainterleave           bwdif              firequalizer         overlay            smptehdbars
alimiter           cellauto              flanger             pad                sobel
allpass               channelmap              format             palettegen            spectrumsynth
allrgb               channelsplit              fps             paletteuse            split
allyuv               chorus              framepack             pan                ssim
aloop               chromakey              framerate             perms                stereotools
alphaextract           ciescope              framestep             pixdesctest            stereowiden
alphamerge           codecview              gblur             prewitt            streamselect
amerge               color              gradfun             psnr                swaprect
ametadata           colorbalance              haldclut             qp                swapuv
amix               colorchannelmixer          haldclutsrc         random                tblend
amovie               colorkey              hdcd             readvitc            telecine
anequalizer           colorlevels              hflip             realtime            testsrc
anoisesrc           colorspace              highpass             remap                testsrc2
anull               compand              histogram             removegrain            thumbnail
anullsink           compensationdelay          hqx             removelogo            tile
anullsrc           concat              hstack             replaygain            transpose
apad               convolution              hue             reverse            treble
aperms               copy                  hwdownload         rgbtestsrc            tremolo
aphasemeter           crop                  hwupload             rotate                trim
aphaser               crystalizer              hysteresis         scale                unsharp
apulsator           curves              idet             scale2ref            vectorscope
arealtime           datascope              il             select                vflip
aresample           dcshift              inflate             selectivecolor            vibrato
areverse           dctdnoiz              interleave         sendcmd            vignette
aselect               deband              join             separatefields            volume
asendcmd           decimate              lenscorrection         setdar                volumedetect
asetnsamples           deflate              life             setfield            vstack
asetpts               dejudder              loop             setpts                w3fdif
asetrate           deshake              lowpass             setsar                waveform
asettb               detelecine              lut             settb                weave
ashowinfo           dilation              lut2             showcqt            xbr
asidedata           displace              lut3d             showfreqs            yadif
asplit               drawbox              lutrgb             showinfo            yuvtestsrc
astats               drawgraph              lutyuv             showpalette            zoompan

Enabled bsfs:
aac_adtstoasc           h264_mp4toannexb          mjpeg2jpeg         mp3_header_decompress        remove_extradata
chomp               hevc_mp4toannexb          mjpega_dump_header     mpeg4_unpack_bframes        text2movsub
dca_core           imx_dump_header          mov2textsub         noise                vp9_superframe
dump_extradata

Enabled indevs:
alsa               fbdev              oss             v4l2                x11grab_xcb
dv1394               lavfi

Enabled outdevs:
alsa               fbdev              oss             v4l2                xv

License: LGPL version 2.1 or later
Creating config.mak, config.h, and doc/config.texi...
config.h is unchanged
config.asm is unchanged
libavutil/avconfig.h is unchanged
libavcodec/bsf_list.c is unchanged
libavformat/protocol_list.c is unchanged
lake@localhost:~/software_x86_x64/ffmpeg$ 
lake@localhost:~/software_x86_x64/ffmpeg$ make  -j32 
 


lake@localhost:~/software_x86_x64/ffmpeg$ ls -l ff* |grep rwx
-rwxr-xr-x 1 lake sys 234704 Aug  6 03:26 ffmpeg
-rwxr-xr-x 1 lake sys 883763 Aug  6 03:26 ffmpeg_g
-rwxr-xr-x 1 lake sys 139168 Aug  6 03:26 ffprobe
-rwxr-xr-x 1 lake sys 577891 Aug  6 03:26 ffprobe_g
-rwxr-xr-x 1 lake sys 136688 Aug  6 03:26 ffserver
-rwxr-xr-x 1 lake sys 534923 Aug  6 03:26 ffserver_g
lake@localhost:~/software_x86_x64/ffmpeg$ file    ffmpeg 
ffmpeg: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=666ba4e0f835b4a54caa5a7e829df845b7a5865d, stripped
lake@localhost:~/software_x86_x64/ffmpeg$ file  ffserver  ffserver_g
ffserver:   ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=bebc6dd1e99f9f0d200b8b2c3746760e54d7e88b, stripped
ffserver_g: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=bebc6dd1e99f9f0d200b8b2c3746760e54d7e88b, not stripped
lake@localhost:~/software_x86_x64/ffmpeg$ 

############ 
### note ffmpeg drops support to SDL1.x from n3.2 version  ........
###  Build n3.1 if you want ffplay based on SDL1.x lib on Linux
##############


lake@localhost:~/software_x86_x64/ffmpeg$ git checkout n3.1 
Previous HEAD position was ebf8ec5... avisynth: fix Planar RGB output
HEAD is now at 18ce5a4... configure: use c++98 for c++ files
lake@localhost:~/software_x86_x64/ffmpeg$ ./configure   --prefix=/usr   --enable-shared --disable-static   --enable-ffplay
install prefix            /usr
source path               .
C compiler                gcc
C library                 glibc
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AESNI enabled             yes
AVX enabled               yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    no
shared                    yes
postprocessing support    no
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL support               yes
opencl enabled            no
JNI support               no
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
.............


## make 


gitprojects / ffmpeg.git / tags
############ 
### note ffmpeg drops support to SDL1.x from n3.2 version  ........
###  Build n3.1 if you want ffplay based on SDL1.x lib on Linux
##############

summary | shortlog | log | commit | commitdiff | tree
tags | heads
ffmpeg.git
2 weeks ago    n3.2.12    FFmpeg 3.2.12 release    tag    | commit | shortlog | log
2 weeks ago    n3.4.4    FFmpeg 3.4.4 release    tag    | commit | shortlog | log
2 weeks ago    n4.0.2    FFmpeg 4.0.2 release    tag    | commit | shortlog | log
2 weeks ago    n3.3.8    FFmpeg 3.3.8 release    tag    | commit | shortlog | log
2 weeks ago    n2.8.15    FFmpeg 2.8.15 release    tag    | commit | shortlog | log
3 weeks ago    n3.2.11    FFmpeg 3.2.11 release    tag    | commit | shortlog | log
4 weeks ago    n3.4.3    FFmpeg 3.4.3 release    tag    | commit | shortlog | log
7 weeks ago    n4.0.1    FFmpeg 4.0.1 release    tag    | commit | shortlog | log
3 months ago    n4.1-dev    Main development, master branch...    tag    | commit | shortlog | log
3 months ago    n4.0    FFmpeg 4.0 release    tag    | commit | shortlog | log
3 months ago    n3.3.7    FFmpeg 3.3.7 release    tag    | commit | shortlog | log
5 months ago    n3.0.11    FFmpeg 3.0.11 release    tag    | commit | shortlog | log
5 months ago    n2.8.14    FFmpeg 2.8.14 release    tag    | commit | shortlog | log
5 months ago    n3.4.2    FFmpeg 3.4.2 release    tag    | commit | shortlog | log
6 months ago    n3.2.10    FFmpeg 3.2.10 release    tag    | commit | shortlog | log
7 months ago    n3.3.6    FFmpeg 3.3.6 release    tag    | commit | shortlog | log
7 months ago    n2.4.14    FFmpeg 2.4.14 release    tag    | commit | shortlog | log
7 months ago    n3.4.1    FFmpeg 3.4.1 release    tag    | commit | shortlog | log
8 months ago    n3.0.10    FFmpeg 3.0.10 release    tag    | commit | shortlog | log    *************************
9 months ago    n3.2.9    FFmpeg 3.2.9 release    tag    | commit | shortlog | log
9 months ago    n3.5-dev    Main development, master branch...    tag    | commit | shortlog | log
9 months ago    n3.3.5    FFmpeg 3.3.5 release    tag    | commit | shortlog | log
9 months ago    n3.4    FFmpeg 3.4 release    tag    | commit | shortlog | log
10 months ago    n3.1.11    FFmpegg 3.1.11 release    tag    | commit | shortlog | log  

#################

8 months ago    n3.0.10    FFmpeg 3.0.10 release    tag    | commit | shortlog | log

lake@localhost:~/software_x86_x64/ffmpeg$ git checkout  n3.0.10
HEAD is now at 2bc6b9b... Changelog: update
lake@localhost:~/software_x86_x64/ffmpeg$ git log 
commit 2bc6b9b2a9c9f22b26ce2207f73f6e7a5aa7c0b9
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Sat Dec 2 00:30:18 2017 +0100

    Changelog: update
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>


lake@localhost:~/software_x86_x64/ffmpeg$ ls -l ff* |grep rwx
-rwxr-xr-x 1 lake sys 222216 Aug  7 06:02 ffmpeg
-rwxr-xr-x 1 lake sys 849996 Aug  7 06:02 ffmpeg_g
-rwxr-xr-x 1 lake sys 119296 Aug  7 06:02 ffplay
-rwxr-xr-x 1 lake sys 468537 Aug  7 06:02 ffplay_g
-rwxr-xr-x 1 lake sys 139136 Aug  7 06:02 ffprobe
-rwxr-xr-x 1 lake sys 564828 Aug  7 06:02 ffprobe_g
-rwxr-xr-x 1 lake sys 136688 Aug  7 06:02 ffserver
-rwxr-xr-x 1 lake sys 531780 Aug  7 06:02 ffserver_g
lake@localhost:~/software_x86_x64/ffmpeg$  
lake@localhost:~/software_x86_x64/ffmpeg$ ./configure   --prefix=/usr   --enable-shared --disable-static   --enable-ffplay 
lake@localhost:~/software_x86_x64/ffmpeg$ make  


lake@localhost:~/software_x86_x64/ffmpeg$ sudo  make  install  =====> /usr 

lake@localhost:~/software_x86_x64/ffmpeg$ which ffmpeg
/usr/bin/ffmpeg
lake@localhost:~/software_x86_x64/ffmpeg$ 
lake@localhost:~/software_x86_x64/ffmpeg$ which ffplay 
/usr/bin/ffplay    
lake@localhost:~/software_x86_x64/ffmpeg$ ffplay   ~/Documents/DMM.mp4 
ffplay: error while loading shared libraries: libavdevice.so.57: cannot open shared object file: No such file or directory

lake@localhost:~/software_x86_x64/ffmpeg$ ldconfig 
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
lake@localhost:~/software_x86_x64/ffmpeg$ 
lake@localhost:~/software_x86_x64/ffmpeg$ sudo  ldconfig   ###############  Reload shared so cache!!!
lake@localhost:~/software_x86_x64/ffmpeg$ ffplay   ~/Documents/DMM.mp4 
ffplay version n3.0.10 Copyright (c) 2003-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  configuration: --prefix=/usr --enable-shared --disable-static --enable-ffplay
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/lake/Documents/DMM  Don.mp4':
  Metadata:
    major_brand     : M4V 
    minor_version   : 1
    compatible_brands: isomM4A M4V mp42
    creation_time   : 2018-08-02 09:32:47
  Duration: 01:11:12.53, start: 0.000000, bitrate: 2128 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 1999 kb/s, 25 fps, 25 tbr, 25k tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2018-08-02 09:32:47
      handler_name    : avi#video:fps=25:par=32:27@GPAC0.5.2-DEV-rev998-gbdda2ee-master
    Stream #0:1(und): Audio: mp3 (.mp3 / 0x33706D2E), 48000 Hz, stereo, s16p, 128 kb/s (default)
    Metadata:
      creation_time   : 2018-08-02 09:33:12
      handler_name    : mp3#audio@GPAC0.5.2-DEV-rev998-gbdda2ee-master
   3.80 A-V:  0.039 fd=   0 aq=   24KB vq=  256KB sq=    0B f=0/0   
lake@localhost:~/software_x86_x64/ffmpeg$ 
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值