FFMPEG에 내장된건진 모르겠지만..

mplayer에 컴파일 옵션중

ffac ffad 라는 녀석이 있는데

Freeware 이긴 하나 상업적으로 이용하려면 구매해야 할 것으로 보인다.


[링크 : http://en.wikipedia.org/wiki/FAAC]


No binary distributions are available here, because they require a patent license. You might find binaries at RareWares.

[링크 : http://www.audiocoding.com/faac.html]


For commercial licensing of the FAAD2 AAC decoder library, please contact: Mpeg4AAClicense@nero.com

[링크 : http://www.audiocoding.com/faad2.html]

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

ffmpeg arm 아키텍쳐별 최적화 코덱  (0) 2015.01.26
mplayer status line  (0) 2015.01.26
pulseaudio / ffmpeg esd protocol  (0) 2014.11.18
ffserver.conf 설정법  (0) 2014.11.06
Mplayer 캐시 설정  (0) 2014.11.06
Posted by 구차니
MPLAYER 쪽에서는 ESD, PULSE, JACK을 켜주면 가능할 것 같다

Audio output:
  --disable-alsa         disable ALSA audio output [autodetect]
  --disable-ossaudio     disable OSS audio output [autodetect]
  --disable-arts         disable aRts audio output [autodetect]
  --disable-esd          disable esd audio output [autodetect]
  --disable-pulse        disable Pulseaudio audio output [autodetect]
  --disable-jack         disable JACK audio output [autodetect]
  --disable-openal       disable OpenAL audio output [autodetect]
  --disable-nas          disable NAS audio output [autodetect]
  --disable-sgiaudio     disable SGI audio output [autodetect]
  --disable-sunaudio     disable Sun audio output [autodetect]
  --disable-kai          disable KAI audio output [autodetect]
  --disable-dart         disable DART audio output [autodetect]
  --disable-win32waveout disable Windows waveout audio output [autodetect]
  --disable-coreaudio    disable CoreAudio audio output [autodetect]
  --disable-select       disable using select() on the audio device [enable] 


[링크 : http://blog.wonderwall.me/?p=272]
[링크 : http://mpd.wikia.com/wiki/PulseAudio]

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

mplayer status line  (0) 2015.01.26
FAAD / FAAC  (0) 2015.01.23
ffserver.conf 설정법  (0) 2014.11.06
Mplayer 캐시 설정  (0) 2014.11.06
Mplayer 1.1 / ffmpeg 0.10.2 git  (0) 2014.10.22
Posted by 구차니
format은 컨테이너
audiocodec은 코덱을 넣어 주면 될 듯 하다.

$ ffmpeg -formats
ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 23 2013 11:01:02 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
  configuration: --prefix=/usr --extra-ldflags=-L/usr/lib --extra-cflags=-I/usr/include
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
File formats:
 D. = Demuxing supported
 .E = Muxing supported
 --
  E 3g2             3GP2 (3GPP2 file format)
  E 3gp             3GP (3GPP file format)
 D  4xm             4X Technologies
  E a64             a64 - video for Commodore 64
 D  aac             raw ADTS AAC (Advanced Audio Coding)
 DE ac3             raw AC-3
 D  act             ACT Voice file format
 D  adf             Artworx Data Format
 D  adp             ADP
  E adts            ADTS AAC (Advanced Audio Coding)
 DE adx             CRI ADX
 D  aea             MD STUDIO audio
 D  afc             AFC
 DE aiff            Audio IFF
 DE alaw            PCM A-law
 DE alsa            ALSA audio output
 DE amr             3GPP AMR
 D  anm             Deluxe Paint Animation
 D  apc             CRYO APC
 D  ape             Monkey's Audio
 D  aqtitle         AQTitle subtitles
 DE asf             ASF (Advanced / Active Streaming Format)
  E asf_stream      ASF (Advanced / Active Streaming Format)
 DE ass             SSA (SubStation Alpha) subtitle
 DE ast             AST (Audio Stream)
 DE au              Sun AU
 DE avi             AVI (Audio Video Interleaved)
  E avm2            SWF (ShockWave Flash) (AVM2)
 D  avr             AVR (Audio Visual Research)
 D  avs             AVS
 D  bethsoftvid     Bethesda Softworks VID
 D  bfi             Brute Force & Ignorance
 D  bin             Binary text
 D  bink            Bink
 DE bit             G.729 BIT file format
 D  bmv             Discworld II BMV
 D  boa             Black Ops Audio
 D  brstm           BRSTM (Binary Revolution Stream)
 D  c93             Interplay C93
 DE caf             Apple CAF (Core Audio Format)
 DE cavsvideo       raw Chinese AVS (Audio Video Standard) video
 D  cdg             CD Graphics
 D  cdxl            Commodore CDXL video
 D  concat          Virtual concatenation script
  E crc             CRC testing
 DE data            raw data
 DE daud            D-Cinema audio
 D  dfa             Chronomaster DFA
 DE dirac           raw Dirac
 DE dnxhd           raw DNxHD (SMPTE VC-3)
 D  dsicin          Delphine Software International CIN
 DE dts             raw DTS
 D  dtshd           raw DTS-HD
 DE dv              DV (Digital Video)
 D  dv1394          DV1394 A/V grab
  E dvd             MPEG-2 PS (DVD VOB)
 D  dxa             DXA
 D  ea              Electronic Arts Multimedia
 D  ea_cdata        Electronic Arts cdata
 DE eac3            raw E-AC-3
 D  epaf            Ensoniq Paris Audio File
 DE f32be           PCM 32-bit floating-point big-endian
 DE f32le           PCM 32-bit floating-point little-endian
  E f4v             F4V Adobe Flash Video
 DE f64be           PCM 64-bit floating-point big-endian
 DE f64le           PCM 64-bit floating-point little-endian
 D  fbdev           Linux framebuffer
 DE ffm             FFM (FFserver live feed)
 DE ffmetadata      FFmpeg metadata in text
 D  film_cpk        Sega FILM / CPK
 DE filmstrip       Adobe Filmstrip
 DE flac            raw FLAC
 D  flic            FLI/FLC/FLX animation
 DE flv             FLV (Flash Video)
  E framecrc        framecrc testing
  E framemd5        Per-frame MD5 testing
 D  frm             Megalux Frame
 DE g722            raw G.722
 DE g723_1          raw G.723.1
 D  g729            G.729 raw format demuxer
 DE gif             GIF Animation
 D  gsm             raw GSM
 DE gxf             GXF (General eXchange Format)
 DE h261            raw H.261
 DE h263            raw H.263
 DE h264            raw H.264 video
  E hls             Apple HTTP Live Streaming
 D  hls,applehttp   Apple HTTP Live Streaming
 DE ico             Microsoft Windows ICO
 D  idcin           id Cinematic
 D  idf             iCE Draw File
 D  iff             IFF (Interchange File Format)
 DE ilbc            iLBC storage
 DE image2          image2 sequence
 DE image2pipe      piped image2 sequence
 D  ingenient       raw Ingenient MJPEG
 D  ipmovie         Interplay MVE
  E ipod            iPod H.264 MP4 (MPEG-4 Part 14)
 DE ircam           Berkeley/IRCAM/CARL Sound Format
  E ismv            ISMV/ISMA (Smooth Streaming)
 D  iss             Funcom ISS
 D  iv8             IndigoVision 8000 video
 DE ivf             On2 IVF
 DE jacosub         JACOsub subtitle format
 D  jv              Bitmap Brothers JV
 DE latm            LOAS/LATM
 D  lavfi           Libavfilter virtual input device
 D  lmlm4           raw lmlm4
 D  loas            LOAS AudioSyncStream
 D  lvf             LVF
 D  lxf             VR native stream (LXF)
 DE m4v             raw MPEG-4 video
  E matroska        Matroska
 D  matroska,webm   Matroska / WebM
  E md5             MD5 testing
 D  mgsts           Metal Gear Solid: The Twin Snakes
 DE microdvd        MicroDVD subtitle format
 DE mjpeg           raw MJPEG video
  E mkvtimestamp_v2 extract pts as timecode v2 format, as defined by mkvtoolnix
 DE mlp             raw MLP
 D  mm              American Laser Games MM
 DE mmf             Yamaha SMAF
  E mov             QuickTime / MOV
 D  mov,mp4,m4a,3gp,3g2,mj2 QuickTime / MOV
  E mp2             MP2 (MPEG audio layer 2)
 DE mp3             MP3 (MPEG audio layer 3)
  E mp4             MP4 (MPEG-4 Part 14)
 D  mpc             Musepack
 D  mpc8            Musepack SV8
 DE mpeg            MPEG-1 Systems / MPEG program stream
  E mpeg1video      raw MPEG-1 video
  E mpeg2video      raw MPEG-2 video
 DE mpegts          MPEG-TS (MPEG-2 Transport Stream)
 D  mpegtsraw       raw MPEG-TS (MPEG-2 Transport Stream)
 D  mpegvideo       raw MPEG video
  E mpjpeg          MIME multipart JPEG
 D  mpl2            MPL2 subtitles
 D  mpsub           MPlayer subtitles
 D  msnwctcp        MSN TCP Webcam stream
 D  mtv             MTV
 DE mulaw           PCM mu-law
 D  mv              Silicon Graphics Movie
 D  mvi             Motion Pixels MVI
 DE mxf             MXF (Material eXchange Format)
  E mxf_d10         MXF (Material eXchange Format) D-10 Mapping
 D  mxg             MxPEG clip
 D  nc              NC camera feed
 D  nistsphere      NIST SPeech HEader REsources
 D  nsv             Nullsoft Streaming Video
  E null            raw null video
 DE nut             NUT
 D  nuv             NuppelVideo
 DE ogg             Ogg
 DE oma             Sony OpenMG audio
 DE oss             OSS (Open Sound System) playback
 D  paf             Amazing Studio Packed Animation File
 D  pjs             PJS (Phoenix Japanimation Society) subtitles
 D  pmp             Playstation Portable PMP
  E psp             PSP MP4 (MPEG-4 Part 14)
 D  psxstr          Sony Playstation STR
 D  pva             TechnoTrend PVA
 D  pvf             PVF (Portable Voice Format)
 D  qcp             QCP
 D  r3d             REDCODE R3D
 DE rawvideo        raw video
 D  realtext        RealText subtitle format
 D  redspark        RedSpark
 D  rl2             RL2
 DE rm              RealMedia
 DE roq             raw id RoQ
 D  rpl             RPL / ARMovie
 D  rsd             GameCube RSD
 DE rso             Lego Mindstorms RSO
 DE rtp             RTP output
 DE rtsp            RTSP output
 DE s16be           PCM signed 16-bit big-endian
 DE s16le           PCM signed 16-bit little-endian
 DE s24be           PCM signed 24-bit big-endian
 DE s24le           PCM signed 24-bit little-endian
 DE s32be           PCM signed 32-bit big-endian
 DE s32le           PCM signed 32-bit little-endian
 DE s8              PCM signed 8-bit
 D  sami            SAMI subtitle format
 DE sap             SAP output
 D  sbg             SBaGen binaural beats script
 D  sdp             SDP
  E segment         segment
 D  shn             raw Shorten
 D  siff            Beam Software SIFF
 DE smjpeg          Loki SDL MJPEG
 D  smk             Smacker
  E smoothstreaming Smooth Streaming Muxer
 D  smush           LucasArts Smush
 D  sol             Sierra SOL
 DE sox             SoX native
 DE spdif           IEC 61937 (used on S/PDIF - IEC958)
 DE srt             SubRip subtitle
  E stream_segment,ssegment streaming segment muxer
 D  subviewer       SubViewer subtitle format
 D  subviewer1      SubViewer v1 subtitle format
  E svcd            MPEG-2 PS (SVCD)
 DE swf             SWF (ShockWave Flash)
 D  tak             raw TAK
 D  tedcaptions     TED Talks captions
  E tee             Multiple muxer tee
 D  thp             THP
 D  tiertexseq      Tiertex Limited SEQ
 D  tmv             8088flex TMV
 DE truehd          raw TrueHD
 D  tta             TTA (True Audio)
 D  tty             Tele-typewriter
 D  txd             Renderware TeXture Dictionary
 DE u16be           PCM unsigned 16-bit big-endian
 DE u16le           PCM unsigned 16-bit little-endian
 DE u24be           PCM unsigned 24-bit big-endian
 DE u24le           PCM unsigned 24-bit little-endian
 DE u32be           PCM unsigned 32-bit big-endian
 DE u32le           PCM unsigned 32-bit little-endian
 DE u8              PCM unsigned 8-bit
  E v4l2            Video4Linux2 output device
 DE vc1             raw VC-1 video
 DE vc1test         VC-1 test bitstream
  E vcd             MPEG-1 Systems / MPEG program stream (VCD)
 D  video4linux2,v4l2 Video4Linux2 device grab
 D  vivo            Vivo
 D  vmd             Sierra VMD
  E vob             MPEG-2 PS (VOB)
 D  vobsub          VobSub subtitle format
 DE voc             Creative Voice
 D  vplayer         VPlayer subtitles
 D  vqf             Nippon Telegraph and Telephone Corporation (NTT) TwinVQ
 DE w64             Sony Wave64
 DE wav             WAV / WAVE (Waveform Audio)
 D  wc3movie        Wing Commander III movie
  E webm            WebM
 DE webvtt          WebVTT subtitle
 D  wsaud           Westwood Studios audio
 D  wsvqa           Westwood Studios VQA
 DE wtv             Windows Television (WTV)
 DE wv              raw WavPack
 D  xa              Maxis XA
 D  xbin            eXtended BINary text (XBIN)
 D  xmv             Microsoft XMV
 D  xwma            Microsoft xWMA
 D  yop             Psygnosis YOP
 DE yuv4mpegpipe    YUV4MPEG pipe

$ ffmpeg -codecs
ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 23 2013 11:01:02 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
  configuration: --prefix=/usr --extra-ldflags=-L/usr/lib --extra-cflags=-I/usr/include
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
Codecs:
 D..... = Decoding supported
 .E.... = Encoding supported
 ..V... = Video codec
 ..A... = Audio codec
 ..S... = Subtitle codec
 ...I.. = Intra frame-only codec
 ....L. = Lossy compression
 .....S = Lossless compression
 -------
 D.VI.. 012v                 Uncompressed 4:2:2 10-bit
 D.V.L. 4xm                  4X Movie
 D.VI.S 8bps                 QuickTime 8BPS video
 .EVIL. a64_multi            Multicolor charset for Commodore 64 (encoders: a64multi )
 .EVIL. a64_multi5           Multicolor charset for Commodore 64, extended with 5th color (colram) (encoders: a64multi5 )
 D.V..S aasc                 Autodesk RLE
 D.VIL. aic                  Apple Intermediate Codec
 DEVIL. amv                  AMV Video
 D.V.L. anm                  Deluxe Paint Animation
 D.V.L. ansi                 ASCII/ANSI art
 DEVIL. asv1                 ASUS V1
 DEVIL. asv2                 ASUS V2
 D.VIL. aura                 Auravision AURA
 D.VIL. aura2                Auravision Aura 2
 D.V... avrn                 Avid AVI Codec
 DEVI.. avrp                 Avid 1:1 10-bit RGB Packer
 D.V.L. avs                  AVS (Audio Video Standard) video
 DEVI.. avui                 Avid Meridien Uncompressed
 DEVI.. ayuv                 Uncompressed packed MS 4:4:4:4
 D.V.L. bethsoftvid          Bethesda VID video
 D.V.L. bfi                  Brute Force & Ignorance
 D.V.L. binkvideo            Bink video
 D.VI.. bintext              Binary text
 DEVI.S bmp                  BMP (Windows and OS/2 bitmap)
 D.V..S bmv_video            Discworld II BMV video
 D.VI.S brender_pix          BRender PIX image
 D.V.L. c93                  Interplay C93
 D.V.L. cavs                 Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)
 D.V.L. cdgraphics           CD Graphics video
 D.VIL. cdxl                 Commodore CDXL video
 D.V.L. cinepak              Cinepak
 DEVIL. cljr                 Cirrus Logic AccuPak
 D.VI.S cllc                 Canopus Lossless Codec
 D.V.L. cmv                  Electronic Arts CMV video (decoders: eacmv )
 D.V... cpia                 CPiA video format
 D.V..S cscd                 CamStudio (decoders: camstudio )
 D.VIL. cyuv                 Creative YUV (CYUV)
 D.V.L. dfa                  Chronomaster DFA
 D.V.LS dirac                Dirac
 DEVIL. dnxhd                VC3/DNxHD
 DEVI.S dpx                  DPX image
 D.V.L. dsicinvideo          Delphine Software International CIN video
 DEVIL. dvvideo              DV (Digital Video)
 D.V..S dxa                  Feeble Files/ScummVM DXA
 D.VI.S dxtory               Dxtory
 D.V.L. escape124            Escape 124
 D.V.L. escape130            Escape 130
 D.VILS exr                  OpenEXR image
 DEV..S ffv1                 FFmpeg video codec #1
 DEVI.S ffvhuff              Huffyuv FFmpeg variant
 DEV..S flashsv              Flash Screen Video v1
 DEV.L. flashsv2             Flash Screen Video v2
 D.V..S flic                 Autodesk Animator Flic video
 DEV.L. flv1                 FLV / Sorenson Spark / Sorenson H.263 (Flash Video) (decoders: flv ) (encoders: flv )
 D.V..S fraps                Fraps
 D.VI.S frwu                 Forward Uncompressed
 D.V.L. g2m                  Go2Meeting
 DEV..S gif                  GIF (Graphics Interchange Format)
 DEV.L. h261                 H.261
 DEV.L. h263                 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
 D.V.L. h263i                Intel H.263
 DEV.L. h263p                H.263+ / H.263-1998 / H.263 version 2
 D.V.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
 DEVI.S huffyuv              HuffYUV
 D.V.L. idcin                id Quake II CIN video (decoders: idcinvideo )
 D.VI.. idf                  iCEDraw text
 D.V.L. iff_byterun1         IFF ByteRun1 (decoders: iff )
 D.V.L. iff_ilbm             IFF ILBM (decoders: iff )
 D.V.L. indeo2               Intel Indeo 2
 D.V.L. indeo3               Intel Indeo 3
 D.V.L. indeo4               Intel Indeo Video Interactive 4
 D.V.L. indeo5               Intel Indeo Video Interactive 5
 D.V.L. interplayvideo       Interplay MVE video
 DEVILS jpeg2000             JPEG 2000
 DEVILS jpegls               JPEG-LS
 D.VIL. jv                   Bitmap Brothers JV video
 D.V.L. kgv1                 Kega Game Video
 D.V.L. kmvc                 Karl Morton's video codec
 D.VI.S lagarith             Lagarith lossless
 .EVI.S ljpeg                Lossless JPEG
 D.VI.S loco                 LOCO
 D.V.L. mad                  Electronic Arts Madcow Video (decoders: eamad )
 D.VIL. mdec                 Sony PlayStation MDEC (Motion DECoder)
 D.V.L. mimic                Mimic
 DEVIL. mjpeg                Motion JPEG
 D.VIL. mjpegb               Apple MJPEG-B
 D.V.L. mmvideo              American Laser Games MM Video
 D.V.L. motionpixels         Motion Pixels video
 DEV.L. mpeg1video           MPEG-1 video
 DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo )
 DEV.L. mpeg4                MPEG-4 part 2
 ..V.L. mpegvideo_xvmc       MPEG-1/2 video XvMC (X-Video Motion Compensation)
 D.V.L. msa1                 MS ATC Screen
 D.V.L. msmpeg4v1            MPEG-4 part 2 Microsoft variant version 1
 DEV.L. msmpeg4v2            MPEG-4 part 2 Microsoft variant version 2
 DEV.L. msmpeg4v3            MPEG-4 part 2 Microsoft variant version 3 (decoders: msmpeg4 ) (encoders: msmpeg4 )
 D.V..S msrle                Microsoft RLE
 D.V.L. mss1                 MS Screen 1
 D.VIL. mss2                 MS Windows Media Video V9 Screen
 DEV.L. msvideo1             Microsoft Video 1
 D.VI.S mszh                 LCL (LossLess Codec Library) MSZH
 D.V.L. mts2                 MS Expression Encoder Screen
 D.VIL. mvc1                 Silicon Graphics Motion Video Compressor 1
 D.VIL. mvc2                 Silicon Graphics Motion Video Compressor 2
 D.V.L. mxpeg                Mobotix MxPEG video
 D.V.L. nuv                  NuppelVideo/RTJPEG
 D.V.L. paf_video            Amazing Studio Packed Animation File Video
 DEVI.S pam                  PAM (Portable AnyMap) image
 DEVI.S pbm                  PBM (Portable BitMap) image
 DEVI.S pcx                  PC Paintbrush PCX image
 DEVI.S pgm                  PGM (Portable GrayMap) image
 DEVI.S pgmyuv               PGMYUV (Portable GrayMap YUV) image
 D.VIL. pictor               Pictor/PC Paint
 DEV..S png                  PNG (Portable Network Graphics) image
 DEVI.S ppm                  PPM (Portable PixelMap) image
 DEVIL. prores               Apple ProRes (iCodec Pro) (decoders: prores prores_lgpl ) (encoders: prores prores_aw prores_ks )
 D.VIL. ptx                  V.Flash PTX image
 D.VI.S qdraw                Apple QuickDraw
 D.V.L. qpeg                 Q-team QPEG
 DEV..S qtrle                QuickTime Animation (RLE) video
 DEVI.S r10k                 AJA Kona 10-bit RGB Codec
 DEVI.S r210                 Uncompressed RGB 10-bit
 DEVI.S rawvideo             raw video
 D.VIL. rl2                  RL2 video
 DEV.L. roq                  id RoQ video (decoders: roqvideo ) (encoders: roqvideo )
 D.V.L. rpza                 QuickTime video (RPZA)
 DEV.L. rv10                 RealVideo 1.0
 DEV.L. rv20                 RealVideo 2.0
 D.V.L. rv30                 RealVideo 3.0
 D.V.L. rv40                 RealVideo 4.0
 D.V.L. sanm                 LucasArts SMUSH video
 DEVI.S sgi                  SGI image
 D.VI.S sgirle               SGI RLE 8-bit
 D.V.L. smackvideo           Smacker video (decoders: smackvid )
 D.V.L. smc                  QuickTime Graphics (SMC)
 D.V... smv                  Sigmatel Motion Video (decoders: smvjpeg )
 DEV.LS snow                 Snow
 D.VIL. sp5x                 Sunplus JPEG (SP5X)
 DEVI.S sunrast              Sun Rasterfile image
 DEV.L. svq1                 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
 D.V.L. svq3                 Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3
 DEVI.S targa                Truevision Targa image
 D.VI.. targa_y216           Pinnacle TARGA CineWave YUV16
 D.V.L. tgq                  Electronic Arts TGQ video (decoders: eatgq )
 D.V.L. tgv                  Electronic Arts TGV video (decoders: eatgv )
 D.V.L. theora               Theora
 D.VIL. thp                  Nintendo Gamecube THP video
 D.V.L. tiertexseqvideo      Tiertex Limited SEQ video
 DEVI.S tiff                 TIFF image
 D.VIL. tmv                  8088flex TMV
 D.V.L. tqi                  Electronic Arts TQI video (decoders: eatqi )
 D.V.L. truemotion1          Duck TrueMotion 1.0
 D.V.L. truemotion2          Duck TrueMotion 2.0
 D.V..S tscc                 TechSmith Screen Capture Codec (decoders: camtasia )
 D.V.L. tscc2                TechSmith Screen Codec 2
 D.VIL. txd                  Renderware TXD (TeXture Dictionary) image
 D.V.L. ulti                 IBM UltiMotion (decoders: ultimotion )
 DEVI.S utvideo              Ut Video
 DEVI.S v210                 Uncompressed 4:2:2 10-bit
 D.VI.S v210x
 DEVI.. v308                 Uncompressed packed 4:4:4
 DEVI.. v408                 Uncompressed packed QT 4:4:4:4
 DEVI.S v410                 Uncompressed 4:4:4 10-bit
 D.V.L. vb                   Beam Software VB
 D.VI.S vble                 VBLE Lossless Codec
 D.V.L. vc1                  SMPTE VC-1
 D.V.L. vc1image             Windows Media Video 9 Image v2
 D.VIL. vcr1                 ATI VCR1
 D.VIL. vixl                 Miro VideoXL (decoders: xl )
 D.V.L. vmdvideo             Sierra VMD video
 D.V..S vmnc                 VMware Screen Codec / VMware Video
 D.V.L. vp3                  On2 VP3
 D.V.L. vp5                  On2 VP5
 D.V.L. vp6                  On2 VP6
 D.V.L. vp6a                 On2 VP6 (Flash version, with alpha channel)
 D.V.L. vp6f                 On2 VP6 (Flash version)
 D.V.L. vp8                  On2 VP8
 ..V.L. vp9                  Google VP9
 D.V.L. webp                 WebP
 DEV.L. wmv1                 Windows Media Video 7
 DEV.L. wmv2                 Windows Media Video 8
 D.V.L. wmv3                 Windows Media Video 9
 D.V.L. wmv3image            Windows Media Video 9 Image
 D.VIL. wnv1                 Winnov WNV1
 D.V.L. ws_vqa               Westwood Studios VQA (Vector Quantized Animation) video (decoders: vqavideo )
 D.V.L. xan_wc3              Wing Commander III / Xan
 D.V.L. xan_wc4              Wing Commander IV / Xxan
 D.VI.. xbin                 eXtended BINary text
 DEVI.S xbm                  XBM (X BitMap) image
 DEVIL. xface                X-face image
 DEVI.S xwd                  XWD (X Window Dump) image
 DEVI.. y41p                 Uncompressed YUV 4:1:1 12-bit
 D.V.L. yop                  Psygnosis YOP Video
 DEVI.. yuv4                 Uncompressed packed 4:2:0
 D.V..S zerocodec            ZeroCodec Lossless Video
 DEVI.S zlib                 LCL (LossLess Codec Library) ZLIB
 DEV..S zmbv                 Zip Motion Blocks Video
 D.A.L. 8svx_exp             8SVX exponential
 D.A.L. 8svx_fib             8SVX fibonacci
 DEA.L. aac                  AAC (Advanced Audio Coding)
 D.A.L. aac_latm             AAC LATM (Advanced Audio Coding LATM syntax)
 DEA.L. ac3                  ATSC A/52A (AC-3) (encoders: ac3 ac3_fixed )
 D.A.L. adpcm_4xm            ADPCM 4X Movie
 DEA.L. adpcm_adx            SEGA CRI ADX ADPCM
 D.A.L. adpcm_afc            ADPCM Nintendo Gamecube AFC
 D.A.L. adpcm_ct             ADPCM Creative Technology
 D.A.L. adpcm_dtk            ADPCM Nintendo Gamecube DTK
 D.A.L. adpcm_ea             ADPCM Electronic Arts
 D.A.L. adpcm_ea_maxis_xa    ADPCM Electronic Arts Maxis CDROM XA
 D.A.L. adpcm_ea_r1          ADPCM Electronic Arts R1
 D.A.L. adpcm_ea_r2          ADPCM Electronic Arts R2
 D.A.L. adpcm_ea_r3          ADPCM Electronic Arts R3
 D.A.L. adpcm_ea_xas         ADPCM Electronic Arts XAS
 DEA.L. adpcm_g722           G.722 ADPCM (decoders: g722 ) (encoders: g722 )
 DEA.L. adpcm_g726           G.726 ADPCM (decoders: g726 ) (encoders: g726 )
 D.A.L. adpcm_ima_amv        ADPCM IMA AMV
 D.A.L. adpcm_ima_apc        ADPCM IMA CRYO APC
 D.A.L. adpcm_ima_dk3        ADPCM IMA Duck DK3
 D.A.L. adpcm_ima_dk4        ADPCM IMA Duck DK4
 D.A.L. adpcm_ima_ea_eacs    ADPCM IMA Electronic Arts EACS
 D.A.L. adpcm_ima_ea_sead    ADPCM IMA Electronic Arts SEAD
 D.A.L. adpcm_ima_iss        ADPCM IMA Funcom ISS
 D.A.L. adpcm_ima_oki        ADPCM IMA Dialogic OKI
 DEA.L. adpcm_ima_qt         ADPCM IMA QuickTime
 D.A.L. adpcm_ima_rad        ADPCM IMA Radical
 D.A.L. adpcm_ima_smjpeg     ADPCM IMA Loki SDL MJPEG
 DEA.L. adpcm_ima_wav        ADPCM IMA WAV
 D.A.L. adpcm_ima_ws         ADPCM IMA Westwood
 DEA.L. adpcm_ms             ADPCM Microsoft
 D.A.L. adpcm_sbpro_2        ADPCM Sound Blaster Pro 2-bit
 D.A.L. adpcm_sbpro_3        ADPCM Sound Blaster Pro 2.6-bit
 D.A.L. adpcm_sbpro_4        ADPCM Sound Blaster Pro 4-bit
 DEA.L. adpcm_swf            ADPCM Shockwave Flash
 D.A.L. adpcm_thp            ADPCM Nintendo Gamecube THP
 D.A.L. adpcm_xa             ADPCM CDROM XA
 DEA.L. adpcm_yamaha         ADPCM Yamaha
 DEA..S alac                 ALAC (Apple Lossless Audio Codec)
 D.A.L. amr_nb               AMR-NB (Adaptive Multi-Rate NarrowBand) (decoders: amrnb )
 D.A.L. amr_wb               AMR-WB (Adaptive Multi-Rate WideBand) (decoders: amrwb )
 D.A..S ape                  Monkey's Audio
 D.A.L. atrac1               Atrac 1 (Adaptive TRansform Acoustic Coding)
 D.A.L. atrac3               Atrac 3 (Adaptive TRansform Acoustic Coding 3)
 ..A.L. atrac3p              Sony ATRAC3+
 D.A.L. binkaudio_dct        Bink Audio (DCT)
 D.A.L. binkaudio_rdft       Bink Audio (RDFT)
 D.A.L. bmv_audio            Discworld II BMV audio
 ..A.L. celt                 Constrained Energy Lapped Transform (CELT)
 DEA.L. comfortnoise         RFC 3389 Comfort Noise
 D.A.L. cook                 Cook / Cooker / Gecko (RealAudio G2)
 D.A.L. dsicinaudio          Delphine Software International CIN audio
 DEA.LS dts                  DCA (DTS Coherent Acoustics) (decoders: dca ) (encoders: dca )
 ..A.L. dvaudio
 DEA.L. eac3                 ATSC A/52B (AC-3, E-AC-3)
 D.A.L. evrc                 EVRC (Enhanced Variable Rate Codec)
 DEA..S flac                 FLAC (Free Lossless Audio Codec)
 DEA.L. g723_1               G.723.1
 D.A.L. g729                 G.729
 D.A.L. gsm                  GSM
 D.A.L. gsm_ms               GSM Microsoft variant
 D.A.L. iac                  IAC (Indeo Audio Coder)
 ..A.L. ilbc                 iLBC (Internet Low Bitrate Codec)
 D.A.L. imc                  IMC (Intel Music Coder)
 D.A.L. interplay_dpcm       DPCM Interplay
 D.A.L. mace3                MACE (Macintosh Audio Compression/Expansion) 3:1
 D.A.L. mace6                MACE (Macintosh Audio Compression/Expansion) 6:1
 D.A..S mlp                  MLP (Meridian Lossless Packing)
 D.A.L. mp1                  MP1 (MPEG audio layer 1) (decoders: mp1 mp1float )
 DEA.L. mp2                  MP2 (MPEG audio layer 2) (decoders: mp2 mp2float )
 D.A.L. mp3                  MP3 (MPEG audio layer 3) (decoders: mp3 mp3float )
 D.A.L. mp3adu               ADU (Application Data Unit) MP3 (MPEG audio layer 3) (decoders: mp3adu mp3adufloat )
 D.A.L. mp3on4               MP3onMP4 (decoders: mp3on4 mp3on4float )
 D.A..S mp4als               MPEG-4 Audio Lossless Coding (ALS) (decoders: als )
 D.A.L. musepack7            Musepack SV7 (decoders: mpc7 )
 D.A.L. musepack8            Musepack SV8 (decoders: mpc8 )
 DEA.L. nellymoser           Nellymoser Asao
 ..A.L. opus                 Opus (Opus Interactive Audio Codec)
 D.A.L. paf_audio            Amazing Studio Packed Animation File Audio
 DEA.L. pcm_alaw             PCM A-law / G.711 A-law
 D.A..S pcm_bluray           PCM signed 16|20|24-bit big-endian for Blu-ray media
 D.A..S pcm_dvd              PCM signed 20|24-bit big-endian
 DEA..S pcm_f32be            PCM 32-bit floating point big-endian
 DEA..S pcm_f32le            PCM 32-bit floating point little-endian
 DEA..S pcm_f64be            PCM 64-bit floating point big-endian
 DEA..S pcm_f64le            PCM 64-bit floating point little-endian
 D.A..S pcm_lxf              PCM signed 20-bit little-endian planar
 DEA.L. pcm_mulaw            PCM mu-law / G.711 mu-law
 DEA..S pcm_s16be            PCM signed 16-bit big-endian
 DEA..S pcm_s16be_planar     PCM signed 16-bit big-endian planar
 DEA..S pcm_s16le            PCM signed 16-bit little-endian
 DEA..S pcm_s16le_planar     PCM signed 16-bit little-endian planar
 DEA..S pcm_s24be            PCM signed 24-bit big-endian
 DEA..S pcm_s24daud          PCM D-Cinema audio signed 24-bit
 DEA..S pcm_s24le            PCM signed 24-bit little-endian
 DEA..S pcm_s24le_planar     PCM signed 24-bit little-endian planar
 DEA..S pcm_s32be            PCM signed 32-bit big-endian
 DEA..S pcm_s32le            PCM signed 32-bit little-endian
 DEA..S pcm_s32le_planar     PCM signed 32-bit little-endian planar
 DEA..S pcm_s8               PCM signed 8-bit
 DEA..S pcm_s8_planar        PCM signed 8-bit planar
 DEA..S pcm_u16be            PCM unsigned 16-bit big-endian
 DEA..S pcm_u16le            PCM unsigned 16-bit little-endian
 DEA..S pcm_u24be            PCM unsigned 24-bit big-endian
 DEA..S pcm_u24le            PCM unsigned 24-bit little-endian
 DEA..S pcm_u32be            PCM unsigned 32-bit big-endian
 DEA..S pcm_u32le            PCM unsigned 32-bit little-endian
 DEA..S pcm_u8               PCM unsigned 8-bit
 D.A.L. pcm_zork             PCM Zork
 D.A.L. qcelp                QCELP / PureVoice
 D.A.L. qdm2                 QDesign Music Codec 2
 ..A.L. qdmc                 QDesign Music
 DEA.L. ra_144               RealAudio 1.0 (14.4K) (decoders: real_144 ) (encoders: real_144 )
 D.A.L. ra_288               RealAudio 2.0 (28.8K) (decoders: real_288 )
 D.A..S ralf                 RealAudio Lossless
 DEA.L. roq_dpcm             DPCM id RoQ
 DEA..S s302m                SMPTE 302M
 D.A..S shorten              Shorten
 D.A.L. sipr                 RealAudio SIPR / ACELP.NET
 D.A.L. smackaudio           Smacker audio (decoders: smackaud )
 ..A.L. smv                  SMV (Selectable Mode Vocoder)
 D.A.L. sol_dpcm             DPCM Sol
 DEA... sonic                Sonic
 .EA... sonicls              Sonic lossless
 ..A.L. speex                Speex
 D.A..S tak                  TAK (Tom's lossless Audio Kompressor)
 D.A..S truehd               TrueHD
 D.A.L. truespeech           DSP Group TrueSpeech
 DEA..S tta                  TTA (True Audio)
 D.A.L. twinvq               VQF TwinVQ
 D.A.L. vima                 LucasArts VIMA audio
 D.A.L. vmdaudio             Sierra VMD audio
 DEA.L. vorbis               Vorbis
 ..A.L. voxware              Voxware RT29 Metasound
 D.A... wavesynth            Wave synthesis pseudo-codec
 D.A.LS wavpack              WavPack
 D.A.L. westwood_snd1        Westwood Audio (SND1) (decoders: ws_snd1 )
 D.A..S wmalossless          Windows Media Audio Lossless
 D.A.L. wmapro               Windows Media Audio 9 Professional
 DEA.L. wmav1                Windows Media Audio 1
 DEA.L. wmav2                Windows Media Audio 2
 D.A.L. wmavoice             Windows Media Audio Voice
 D.A.L. xan_dpcm             DPCM Xan
 ..D... dvd_nav_packet       DVD Nav packet
 ..D... klv                  SMPTE 336M Key-Length-Value (KLV) metadata
 DES... ass                  ASS (Advanced SSA) subtitle
 DES... dvb_subtitle         DVB subtitles (decoders: dvbsub ) (encoders: dvbsub )
 ..S... dvb_teletext         DVB teletext
 DES... dvd_subtitle         DVD subtitles (decoders: dvdsub ) (encoders: dvdsub )
 ..S... eia_608              EIA-608 closed captions
 D.S... hdmv_pgs_subtitle    HDMV Presentation Graphic Stream subtitles (decoders: pgssub )
 D.S... jacosub              JACOsub subtitle
 D.S... microdvd             MicroDVD subtitle
 DES... mov_text             MOV text
 D.S... mpl2                 MPL2 subtitle
 D.S... pjs                  PJS (Phoenix Japanimation Society) subtitle
 D.S... realtext             RealText subtitle
 D.S... sami                 SAMI subtitle
 DES... srt                  SubRip subtitle with embedded timing
 DES... ssa                  SSA (SubStation Alpha) subtitle
 DES... subrip               SubRip subtitle
 D.S... subviewer            SubViewer subtitle
 D.S... subviewer1           SubViewer v1 subtitle
 D.S... text                 raw UTF-8 text
 D.S... vplayer              VPlayer subtitle
 D.S... webvtt               WebVTT subtitle
 DES... xsub                 XSUB 


[링크 : http://www.ffmpeg.org/sample.html]
[링크 : https://trac.ffmpeg.org/wiki/Streaming%20media%20with%20ffserver

2009/11/03 - [프로그램 사용/ffmpeg / ffserver] - ffserver , ffserver.conf 
2009/11/24 - [프로그램 사용/ffmpeg / ffserver] - ffserver.conf 때려잡기 
Posted by 구차니
버전에 따라 다를수도 있지만
cache는 32KB 이상
cache-min은 0<=x<=99설정이 가능하다

$ mplayer -cache 64 -cache-min 20 http://192.168.1.75:8090/test.u
law
MPlayer 1.1-4.4.4 (C) 2000-2012 MPlayer Team

Playing http://192.168.1.75:8090/test.ulaw.
Connecting to server 192.168.1.75[192.168.1.75]: 8090...

Cache size set to 64 KBytes
Cache fill: 15.06% (9872 bytes)

[링크 : https://lists.mplayerhq.hu/pipermail/mplayer-users/2007-September/068927.html]
Posted by 구차니
대략.. 2012년 즈음의 버전인듯
아무튼.. 테스트 해보니.

Mplayer 내장 ffmpeg을 써도 cpu 점유율이 arm에서 낮아지지 않는다.
Mplayer에서 외계인을 구워삶았나...

[링크 : https://trac.ffmpeg.org/ticket/1376]

아마도.. 거의 정확하게는 2012월 3월 자?
MPlayer 1.1이 의외로 얼마 안된거구나..


[링크 : https://github.com/FFmpeg/FFmpeg/commits/release/0.10/VERSION]
Posted by 구차니
ffmpeg 을 static libaray로 링크해서 사용하는 프로그램을 작성중에
라이브러리 다시 컴파일 해서 바꿔치기 하는데 이런 에러 발생!!
 
/ffmpeg-1.0/libavformat/swfdec.c:116: undefined reference to `inflateInit_'
./lib/libavformat.a(swfdec.o): In function `zlib_refill':
/ffmpeg-1.0/libavformat/swfdec.c:84: undefined reference to `inflate'
./lib/libavformat.a(swfdec.o): In function `swf_read_close':
/ffmpeg-1.0/libavformat/swfdec.c:278: undefined reference to `inflateEnd'
./lib/libavcodec.a(cscd.o): In function `decode_frame':
/ffmpeg-1.0/libavcodec/cscd.c:95: undefined reference to `uncompress'
./lib/libavcodec.a(dxa.o): In function `decode_frame':
/ffmpeg-1.0/libavcodec/dxa.c:236: undefined reference to `uncompress'
./lib/libavcodec.a(exr.o): In function `decode_frame':
/ffmpeg-1.0/libavcodec/exr.c:551: undefined reference to `uncompress'
./lib/libavcodec.a(flashsv.o): In function `flashsv_decode_block':
/ffmpeg-1.0/libavcodec/flashsv.c:165: undefined reference to `inflateReset'
./lib/libavcodec.a(flashsv.o): In function `flashsv2_prime':
/ffmpeg-1.0/libavcodec/flashsv.c:138: undefined reference to `inflate'
/ffmpeg-1.0/libavcodec/flashsv.c:140: undefined reference to `deflateInit_'
/ffmpeg-1.0/libavcodec/flashsv.c:145: undefined reference to `deflate'
/ffmpeg-1.0/libavcodec/flashsv.c:146: undefined reference to `deflateEnd'
/ffmpeg-1.0/libavcodec/flashsv.c:148: undefined reference to `inflateReset'
/ffmpeg-1.0/libavcodec/flashsv.c:154: undefined reference to `inflate'
./lib/libavcodec.a(flashsv.o): In function `flashsv_decode_block':
/ffmpeg-1.0/libavcodec/flashsv.c:177: undefined reference to `inflate'
/ffmpeg-1.0/libavcodec/flashsv.c:180: undefined reference to `inflateSync'
/ffmpeg-1.0/libavcodec/flashsv.c:181: undefined reference to `inflate'
./lib/libavcodec.a(flashsv.o): In function `calc_deflate_block_size':
/ffmpeg-1.0/libavcodec/flashsv.c:222: undefined reference to `deflateInit_'
/ffmpeg-1.0/libavcodec/flashsv.c:224: undefined reference to `deflateBound'
/ffmpeg-1.0/libavcodec/flashsv.c:225: undefined reference to `deflateEnd'
./lib/libavcodec.a(flashsv.o): In function `flashsv_decode_end':
/ffmpeg-1.0/libavcodec/flashsv.c:443: undefined reference to `inflateEnd'
./lib/libavcodec.a(flashsv.o): In function `flashsv_decode_init':
/ffmpeg-1.0/libavcodec/flashsv.c:112: undefined reference to `inflateInit_'
./lib/libavcodec.a(flashsv2enc.o): In function `encode_zlib':
/ffmpeg-1.0/libavcodec/flashsv2enc.c:355: undefined reference to `compress2'
./lib/libavcodec.a(flashsv2enc.o): In function `encode_zlibprime':
/ffmpeg-1.0/libavcodec/flashsv2enc.c:367: undefined reference to `deflateInit_'
/ffmpeg-1.0/libavcodec/flashsv2enc.c:376: undefined reference to `deflate'
/ffmpeg-1.0/libavcodec/flashsv2enc.c:385: undefined reference to `deflate'
/ffmpeg-1.0/libavcodec/flashsv2enc.c:386: undefined reference to `deflateEnd'
./lib/libavcodec.a(flashsvenc.o): In function `encode_bitstream':
/ffmpeg-1.0/libavcodec/flashsvenc.c:170: undefined reference to `compress2'
./lib/libavcodec.a(flashsvenc.o): In function `flashsv_encode_end':
/ffmpeg-1.0/libavcodec/flashsvenc.c:269: undefined reference to `deflateEnd'
./lib/libavcodec.a(lcldec.o): In function `zlib_decomp':
/ffmpeg-1.0/libavcodec/lcldec.c:137: undefined reference to `inflateReset'
/ffmpeg-1.0/libavcodec/lcldec.c:146: undefined reference to `inflate'
/ffmpeg-1.0/libavcodec/lcldec.c:137: undefined reference to `inflateReset'
/ffmpeg-1.0/libavcodec/lcldec.c:146: undefined reference to `inflate'
/ffmpeg-1.0/libavcodec/lcldec.c:137: undefined reference to `inflateReset'
/ffmpeg-1.0/libavcodec/lcldec.c:146: undefined reference to `inflate'
./lib/libavcodec.a(lcldec.o): In function `decode_end':
/ffmpeg-1.0/libavcodec/lcldec.c:638: undefined reference to `inflateEnd'
./lib/libavcodec.a(lcldec.o): In function `decode_init':
/ffmpeg-1.0/libavcodec/lcldec.c:612: undefined reference to `inflateInit_'
./lib/libavcodec.a(lclenc.o): In function `encode_frame':
/ffmpeg-1.0/libavcodec/lclenc.c:82: undefined reference to `deflateBound'
/ffmpeg-1.0/libavcodec/lclenc.c:96: undefined reference to `deflateReset'
/ffmpeg-1.0/libavcodec/lclenc.c:107: undefined reference to `deflate'
/ffmpeg-1.0/libavcodec/lclenc.c:113: undefined reference to `deflate'
./lib/libavcodec.a(lclenc.o): In function `encode_end':
/ffmpeg-1.0/libavcodec/lclenc.c:181: undefined reference to `deflateEnd'
./lib/libavcodec.a(lclenc.o): In function `encode_init':
/ffmpeg-1.0/libavcodec/lclenc.c:162: undefined reference to `deflateInit_'
./lib/libavcodec.a(pngdec.o): In function `decode_frame':
/ffmpeg-1.0/libavcodec/pngdec.c:424: undefined reference to `inflateInit_'
./lib/libavcodec.a(pngdec.o): In function `png_decode_idat':
/ffmpeg-1.0/libavcodec/pngdec.c:373: undefined reference to `inflate'
./lib/libavcodec.a(pngdec.o): In function `decode_frame':
/ffmpeg-1.0/libavcodec/pngdec.c:708: undefined reference to `inflateEnd'
./lib/libavcodec.a(pngenc.o): In function `png_write_chunk':
/ffmpeg-1.0/libavcodec/pngenc.c:185: undefined reference to `crc32'
/ffmpeg-1.0/libavcodec/pngenc.c:187: undefined reference to `crc32'
/ffmpeg-1.0/libavcodec/pngenc.c:190: undefined reference to `crc32'
./lib/libavcodec.a(pngenc.o): In function `png_write_row':
/ffmpeg-1.0/libavcodec/pngenc.c:205: undefined reference to `deflate'
./lib/libavcodec.a(pngenc.o): In function `encode_frame':
/ffmpeg-1.0/libavcodec/pngenc.c:291: undefined reference to `deflateInit2_'
/ffmpeg-1.0/libavcodec/pngenc.c:296: undefined reference to `deflateBound'
/ffmpeg-1.0/libavcodec/pngenc.c:400: undefined reference to `deflate'
/ffmpeg-1.0/libavcodec/pngenc.c:425: undefined reference to `deflateEnd'
./lib/libavcodec.a(svq3.o): In function `svq3_decode_init':
/ffmpeg-1.0/libavcodec/svq3.c:915: undefined reference to `uncompress'
./lib/libavcodec.a(tiff.o): In function `tiff_uncompress':
/ffmpeg-1.0/libavcodec/tiff.c:339: undefined reference to `inflateInit_'
/ffmpeg-1.0/libavcodec/tiff.c:344: undefined reference to `inflate'
/ffmpeg-1.0/libavcodec/tiff.c:345: undefined reference to `inflateEnd'
./lib/libavcodec.a(tiffenc.o): In function `encode_strip':
/ffmpeg-1.0/libavcodec/tiffenc.c:177: undefined reference to `compress'
./lib/libavcodec.a(tscc.o): In function `decode_frame':
/ffmpeg-1.0/libavcodec/tscc.c:89: undefined reference to `inflateReset'
/ffmpeg-1.0/libavcodec/tscc.c:98: undefined reference to `inflate'
./lib/libavcodec.a(tscc.o): In function `decode_end':
/ffmpeg-1.0/libavcodec/tscc.c:198: undefined reference to `inflateEnd'
./lib/libavcodec.a(tscc.o): In function `decode_init':
/ffmpeg-1.0/libavcodec/tscc.c:174: undefined reference to `inflateInit_'
./lib/libavcodec.a(zerocodec.o): In function `zerocodec_decode_frame':
/ffmpeg-1.0/libavcodec/zerocodec.c:55: undefined reference to `inflateReset'
/ffmpeg-1.0/libavcodec/zerocodec.c:80: undefined reference to `inflate'
./lib/libavcodec.a(zerocodec.o): In function `zerocodec_decode_close':
/ffmpeg-1.0/libavcodec/zerocodec.c:115: undefined reference to `inflateEnd'
./lib/libavcodec.a(zerocodec.o): In function `zerocodec_decode_init':
/ffmpeg-1.0/libavcodec/zerocodec.c:142: undefined reference to `inflateInit_'
./lib/libavcodec.a(zmbv.o): In function `decode_frame':
/ffmpeg-1.0/libavcodec/zmbv.c:513: undefined reference to `inflate'
/ffmpeg-1.0/libavcodec/zmbv.c:484: undefined reference to `inflateReset'
./lib/libavcodec.a(zmbv.o): In function `decode_end':
/ffmpeg-1.0/libavcodec/zmbv.c:667: undefined reference to `inflateEnd'
./lib/libavcodec.a(zmbv.o): In function `decode_init':
/ffmpeg-1.0/libavcodec/zmbv.c:643: undefined reference to `inflateInit_'
./lib/libavcodec.a(zmbvenc.o): In function `encode_frame':
/ffmpeg-1.0/libavcodec/zmbvenc.c:226: undefined reference to `deflate'
/ffmpeg-1.0/libavcodec/zmbvenc.c:217: undefined reference to `deflateReset'
./lib/libavcodec.a(zmbvenc.o): In function `encode_end':
/ffmpeg-1.0/libavcodec/zmbvenc.c:332: undefined reference to `deflateEnd'
./lib/libavcodec.a(zmbvenc.o): In function `encode_init':
/ffmpeg-1.0/libavcodec/zmbvenc.c:309: undefined reference to `deflateInit_'
./lib/libavformat.a(id3v2.o): In function `ff_id3v2_parse':
/ffmpeg-1.0/libavformat/id3v2.c:686: undefined reference to `uncompress'
./lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':
/ffmpeg-1.0/libavformat/matroskadec.c:1101: undefined reference to `inflateInit_'
/ffmpeg-1.0/libavformat/matroskadec.c:1116: undefined reference to `inflate'
/ffmpeg-1.0/libavformat/matroskadec.c:1109: undefined reference to `inflateEnd'
/ffmpeg-1.0/libavformat/matroskadec.c:1121: undefined reference to `inflateEnd'
./lib/libavformat.a(mov.o): In function `mov_read_cmov':
/ffmpeg-1.0/libavformat/mov.c:2605: undefined reference to `uncompress'
./lib/libavformat.a(rtmpproto.o): In function `rtmp_uncompress_swfplayer':
/ffmpeg-1.0/libavformat/rtmpproto.c:995: undefined reference to `inflateInit_'
/ffmpeg-1.0/libavformat/rtmpproto.c:1005: undefined reference to `inflate'
/ffmpeg-1.0/libavformat/rtmpproto.c:1023: undefined reference to `inflateEnd'
collect2: ld returned 1 exit status
make: *** [all] 오류 1

ffmpeg 옵션을 찾아보니 zlib / bzlib에 대한 옵션에 존재하는데
문제는 --disable-all을 해도 이녀석은 autodetect 라서 강제로 활성화 되는 것으로 보여진다.
그래서! 강제로 --disagle-zlib --disable-bzlib를 해주고
생성되는 .a 파일들을 다시 링크하니 위와 같은 문제 해결!

./configure --help
  --enable-bzlib           enable bzlib [autodetect]
  --enable-zlib            enable zlib [autodetect] 


'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

Mplayer 캐시 설정  (0) 2014.11.06
Mplayer 1.1 / ffmpeg 0.10.2 git  (0) 2014.10.22
MPlayer 1.1 크로스컴파일  (0) 2014.10.08
live555 관련링크  (0) 2014.10.07
ASLA 입출력 - mplayer / ffmpeg  (0) 2014.09.29
Posted by 구차니
MPlayer 1.1을 크로스컴파일 하는데
가장 마지막 단계에서 배째는지라 죽어라 검색.. -_-

/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video_out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o libao2/ao_alsa.o input/appleir.o libvo/vo_png.o udp_sync.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dk3adpcm.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_imaadpcm.o libmpcodecs/ad_msadpcm.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o sub/font_load.o stream/dvb_tune.o stream/stream_dvb.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o libmpcodecs/vf_fspp.o libmpcodecs/vf_mcdeint.o libmpcodecs/vf_qp.o libmpcodecs/vf_spp.o libmpcodecs/vf_uspp.o sub/font_load_ft.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libass/ass.o libass/ass_bitmap.o libass/ass_cache.o libass/ass_drawing.o libass/ass_font.o libass/ass_fontconfig.o libass/ass_library.o libass/ass_parse.o libass/ass_render.o libass/ass_render_api.o libass/ass_shaper.o libass/ass_strtod.o libass/ass_utils.o libmpcodecs/ad_libmad.o libmpcodecs/vd_libmpeg2.o libmpeg2/alloc.o libmpeg2/cpu_accel.o libmpeg2/cpu_state.o libmpeg2/decode.o libmpeg2/header.o libmpeg2/idct.o libmpeg2/motion_comp.o libmpeg2/slice.o libmpeg2/motion_comp_arm.o libmpeg2/motion_comp_arm_s.o libmpdemux/demux_rtp.o libmpdemux/demux_rtp_codec.o stream/stream_live555.o libmpcodecs/ad_mpg123.o libmpcodecs/ad_mp3lib.o mp3lib/sr1.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vf_pp.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o stream/cache2.o tremor/bitwise.o tremor/block.o tremor/codebook.o tremor/floor0.o tremor/floor1.o tremor/framing.o tremor/info.o tremor/mapping0.o tremor/mdct.o tremor/registry.o tremor/res012.o tremor/sharedbook.o tremor/synthesis.o tremor/window.o sub/unrar_exec.o libmpcodecs/ad_libvorbis.o libmpdemux/demux_ogg.o libmpcodecs/vd_xanim.o osdep/shmem.o ffmpeg/libpostproc/libpostproc.a ffmpeg/libavfilter/libavfilter.a ffmpeg/libavformat/libavformat.a ffmpeg/libavcodec/libavcodec.a ffmpeg/libswscale/libswscale.a ffmpeg/libswresample/libswresample.a ffmpeg/libavutil/libavutil.a -Wl,-z,noexecstack -lm -L/home/minimonk/work/live/liveMedia -L/home/minimonk/work/live/UsageEnvironment -L/home/minimonk/work/live/groupsock -L/home/minimonk/work/live/BasicUsageEnvironment -L/home/paseries/trunk/build/ltib/rootfs//usr/lib -ffast-math   -lncurses -lasound -ldl -lpthread -lfreetype -lz -lz -lbz2 -lmad -lmpg123 -lpthread -ldl -rdynamic  -lliveMedia -lUsageEnvironment -lgroupsock -lBasicUsageEnvironment

libmpdemux/demux_rtp.o: In function `demux_close_rtp':
demux_rtp.cpp:(.text+0x300): undefined reference to `operator delete[](void*)'
demux_rtp.cpp:(.text+0x308): undefined reference to `operator delete(void*)'
libmpdemux/demux_rtp.o: In function `demux_open_rtp':
demux_rtp.cpp:(.text+0x7ac): undefined reference to `operator new(unsigned int)'
demux_rtp.cpp:(.text+0xaac): undefined reference to `operator new(unsigned int)'
demux_rtp.cpp:(.text+0xb20): undefined reference to `operator new(unsigned int)'
demux_rtp.cpp:(.text+0xdf4): undefined reference to `__cxa_end_cleanup'
libmpdemux/demux_rtp.o: In function `ReadBufferQueue::~ReadBufferQueue()':
demux_rtp.cpp:(.text+0x1170): undefined reference to `operator delete(void*)'
libmpdemux/demux_rtp.o:(.ARM.extab+0x0): undefined reference to `__gxx_personality_v0'
libmpdemux/demux_rtp.o:(.rodata+0x24): undefined reference to `vtable for __cxxabiv1::__class_type_info'
libmpdemux/demux_rtp_codec.o: In function `rtpCodecInitialize_video(demuxer*, MediaSubsession*, unsigned int&)':
demux_rtp_codec.cpp:(.text+0xd00): undefined reference to `operator new[](unsigned int)'
demux_rtp_codec.cpp:(.text+0xe1c): undefined reference to `operator delete[](void*)'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o): In function `MediaLookupTable::~MediaLookupTable()':
Media.cpp:(.text+0x25c): undefined reference to `operator delete(void*)'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o): In function `_Tables::~_Tables()':
Media.cpp:(.text+0x280): undefined reference to `operator delete(void*)'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o): In function `Medium::~Medium()':
Media.cpp:(.text+0x2c8): undefined reference to `operator delete(void*)'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o): In function `_Tables::getOurTables(UsageEnvironment&, unsigned int)':
Media.cpp:(.text+0x3b4): undefined reference to `operator new(unsigned int)'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o): In function `MediaLookupTable::ourMedia(UsageEnvironment&)':
Media.cpp:(.text+0x4ac): undefined reference to `operator new(unsigned int)'
Media.cpp:(.text+0x4d0): undefined reference to `operator delete(void*)'
Media.cpp:(.text+0x4d8): undefined reference to `__cxa_end_cleanup'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o):(.ARM.extab+0x0): undefined reference to `__gxx_personality_v0'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o):(.rodata+0x64): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o):(.rodata+0x78): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/home/minimonk/work/live/liveMedia/libliveMedia.a(Media.o):(.rodata+0x88): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/home/minimonk/work/live/liveMedia/libliveMedia.a(FramedSource.o): In function `FramedSource::~FramedSource()':
FramedSource.cpp:(.text+0x284): undefined reference to `operator delete(void*)'
/home/minimonk/work/live/liveMedia/libliveMedia.a(FramedSource.o):(.rodata+0x5c): undefined reference to `__cxa_pure_virtual'
/home/minimonk/work/live/liveMedia/libliveMedia.a(FramedSource.o):(.rodata+0x74): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/home/minimonk/work/live/liveMedia/libliveMedia.a(MPEG4LATMAudioRTPSource.o): In function `parseGeneralConfigStr(char const*, unsigned int&)': 

Take a look here: Linux C++: Linker is outputting strange errors.
In Android's Application.mk this would be:
APP_CPPFLAGS := -frtti
[링크 : http://stackoverflow.com/.../linker-errors-in-android-ndk-undefined-reference-to-cxa-end-cleanup]

It looks like you are not linking the proper C++ runtime libraries (which can be different then libstdc++). You should try using the C++ compiler to drive the linker rather then invoking the linker directly.
If you need to pass linker specific options via the compiler, you can use -Wl: 
[링크 : http://stackoverflow.com/questions/2665255/linux-c-linker-is-outputting-strange-errors]

아무튼.. g++로 컴파일 해야 하는데 gcc로 하는 바람에
c++ 그게 모에요? 우걱우걱 하는 현상으로 저런 말도 안되는 이상한 에러를 뿜뿜하는 상황
CC를 CXX로 바꾸면 된다. 
$ vi Makefile
 793 mencoder$(EXESUF) mplayer$(EXESUF):
 794     $(CXX) -o $@ $^ $(EXTRALIBS) 

물론  CXX로 쓰려면 config.mak 에서 CXX 변수도 gcc에서 g++로 변경해 주어야 한다.
$ vi config.mak
27 CC      = /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linu     x-gnueabi-gcc
28 CXX     = /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linu     x-gnueabi-g++ 

Posted by 구차니
ffmpeg을 사용한 녀석중에 하나인 Mplayer에
rtsp를 넣기 위해서는 live555를 활성화 시켜야 한다.

설명상에는 이것저것 넣으라고 하는데..
일단 1.1 버전에서는

--enable-live          enable LIVE555 Streaming Media [autodetect]

이런 옵션이 존재하고
옵션을 통해 live555의 라이브러리 및 inlcude를 지정해 주어야 한다.

[링크 : http://www.live555.com/mplayer/]
[링크 : http://www.live555.com/liveMedia/public/changelog.txt
[링크 : https://code.google.com/p/live555sourcecontrol/downloads/list]
[링크 : http://www.live555.com/liveMedia/public/
Posted by 구차니
mplayer에서는 -ao alsa:device=hw:0.0 식으로 음악을 바로 재생을 할 수 있는데..
ffmpeg은 입력을 받아서 저장은 되도.. 플레이는 안되나.. 보다 싶긴하다.
$ man ffmpeg
   Video and Audio grabbing
       If you specify the input format and device then ffmpeg can grab video and audio directly.

               ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg

       Or with an ALSA audio source (mono input, card id 1) instead of OSS:

               ffmpeg -f alsa -ac 1 -i hw:1 -f video4linux2 -i /dev/video0 /tmp/out.mpg

       Note that you must activate the right video source and channel before launching ffmpeg with any TV viewer
       such as <http://linux.bytesex.org/xawtv/> by Gerd Knorr. You also have to set the audio recording levels
       correctly with a standard mixer. 

$ mam mplayer
AUDIO OUTPUT DRIVERS (MPLAYER ONLY)
       Audio output drivers are interfaces to different audio output facilities.  The syntax is:

       -ao <driver1[:suboption1[=value]:...],driver2,...[,]>
              Specify a priority list of audio output drivers to be used.

       If  the  list has a trailing ',' MPlayer will fall back on drivers not contained in the list.  Suboptions
       are optional and can mostly be omitted.
       NOTE: See -ao help for a list of compiled-in audio output drivers.

       EXAMPLE:
                 -ao alsa,oss,
                      Try the ALSA driver, then the OSS driver, then others.
                 -ao alsa:noblock:device=hw=0.3
                      Sets noblock-mode and the device-name as first card, fourth device. 

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

MPlayer 1.1 크로스컴파일  (0) 2014.10.08
live555 관련링크  (0) 2014.10.07
ffmpeg armv5te performance  (0) 2014.09.26
ffmpeg armv5te 옵션  (0) 2014.09.25
lame을 이용한 mp3 포맷변경  (0) 2014.09.24
Posted by 구차니

mp3만 가속됨
flac wav 는 거의 cpu를 소비하지 않는 수준
wmv ogg aac aacp는 우걱우걱이라 armv5te 에서는 무리 

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

live555 관련링크  (0) 2014.10.07
ASLA 입출력 - mplayer / ffmpeg  (0) 2014.09.29
ffmpeg armv5te 옵션  (0) 2014.09.25
lame을 이용한 mp3 포맷변경  (0) 2014.09.24
ubuntu에서 ffmpeg 컴파일하기  (0) 2010.01.14
Posted by 구차니