콘솔에서 보려니 까매서.. 눈에 안보이는 까막눈...



$ svn diff | view -

빔: 표준입력에서 읽는 중...


$ whereis view

view: /usr/bin/view /usr/share/man/man1/view.1.gz

$ ll /usr/bin/view

lrwxrwxrwx 1 root root 22 2014-08-25 16:42 /usr/bin/view -> /etc/alternatives/view*

$ ll /etc/alternatives/view

lrwxrwxrwx 1 root root 18 2014-08-25 16:42 /etc/alternatives/view -> /usr/bin/vim.gnome*


[링크 : http://www.commandlinefu.com/commands/view/2420/colored-svn-diff]

Posted by 구차니

될지 안될진 모르겠다..

역시나 안되네 -_-

ffmpeg 만 컴파일은 되지만.. mplayer와 연동은 안된다.


Mplayer-1.1


$ ./configure --help

Usage: configure [options]

Options: [defaults in brackets after descriptions]


Help options:

  --help                   print this message

  --list-decoders          show all available decoders

  --list-encoders          show all available encoders

  --list-hwaccels          show all available hardware accelerators

  --list-demuxers          show all available demuxers

  --list-muxers            show all available muxers

  --list-parsers           show all available parsers

  --list-protocols         show all available protocols

  --list-bsfs              show all available bitstream filters

  --list-indevs            show all available input devices

  --list-outdevs           show all available output devices

  --list-filters           show all available filters


Standard options:

  --logfile=FILE           log tests and output to FILE [config.log]

  --disable-logging        do not log configure debug information

  --prefix=PREFIX          install in PREFIX []

  --bindir=DIR             install binaries in DIR [PREFIX/bin]

  --datadir=DIR            install data files in DIR [PREFIX/share/ffmpeg]

  --libdir=DIR             install libs in DIR [PREFIX/lib]

  --shlibdir=DIR           install shared libs in DIR [PREFIX/lib]

  --incdir=DIR             install includes in DIR [PREFIX/include]

  --mandir=DIR             install man page in DIR [PREFIX/share/man]


Licensing options:

  --enable-gpl             allow use of GPL code, the resulting libs

                           and binaries will be under GPL [no]

  --enable-version3        upgrade (L)GPL to version 3 [no]

  --enable-nonfree         allow use of nonfree code, the resulting libs

                           and binaries will be unredistributable [no]


Configuration options:

  --disable-static         do not build static libraries [no]

  --enable-shared          build shared libraries [no]

  --enable-small           optimize for size instead of speed

  --enable-runtime-cpudetect detect cpu capabilities at runtime (bigger binary)

  --enable-gray            enable full grayscale support (slower color)

  --disable-swscale-alpha  disable alpha channel support in swscale


Component options:

  --disable-doc            do not build documentation

  --disable-ffmpeg         disable ffmpeg build

  --disable-ffplay         disable ffplay build

  --disable-ffprobe        disable ffprobe build

  --disable-ffserver       disable ffserver build

  --disable-avdevice       disable libavdevice build

  --disable-avcodec        disable libavcodec build

  --disable-avformat       disable libavformat build

  --disable-swresample     disable libswresample build

  --disable-swscale        disable libswscale build

  --disable-postproc       disable libpostproc build

  --disable-avfilter       disable video filter support [no]

  --enable-avresample      enable libavresample build [no]

  --disable-pthreads       disable pthreads [auto]

  --disable-w32threads     disable Win32 threads [auto]

  --disable-os2threads     disable OS/2 threads [auto]

  --enable-x11grab         enable X11 grabbing [no]

  --disable-network        disable network support [no]

  --disable-dct            disable DCT code

  --disable-mdct           disable MDCT code

  --disable-rdft           disable RDFT code

  --disable-fft            disable FFT code

  --enable-dxva2           enable DXVA2 code

  --enable-vaapi           enable VAAPI code [autodetect]

  --enable-vda             enable VDA code   [autodetect]

  --enable-vdpau           enable VDPAU code [autodetect]


Individual component options:

  --disable-everything     disable all components listed below

  --disable-encoder=NAME   disable encoder NAME

  --enable-encoder=NAME    enable encoder NAME

  --disable-encoders       disable all encoders

  --disable-decoder=NAME   disable decoder NAME

  --enable-decoder=NAME    enable decoder NAME

  --disable-decoders       disable all decoders

  --disable-hwaccel=NAME   disable hwaccel NAME

  --enable-hwaccel=NAME    enable hwaccel NAME

  --disable-hwaccels       disable all hwaccels

  --disable-muxer=NAME     disable muxer NAME

  --enable-muxer=NAME      enable muxer NAME

  --disable-muxers         disable all muxers

  --disable-demuxer=NAME   disable demuxer NAME

  --enable-demuxer=NAME    enable demuxer NAME

  --disable-demuxers       disable all demuxers

  --enable-parser=NAME     enable parser NAME

  --disable-parser=NAME    disable parser NAME

  --disable-parsers        disable all parsers

  --enable-bsf=NAME        enable bitstream filter NAME

  --disable-bsf=NAME       disable bitstream filter NAME

  --disable-bsfs           disable all bitstream filters

  --enable-protocol=NAME   enable protocol NAME

  --disable-protocol=NAME  disable protocol NAME

  --disable-protocols      disable all protocols

  --enable-indev=NAME      enable input device NAME

  --disable-indev=NAME     disable input device NAME

  --disable-indevs         disable input devices

  --enable-outdev=NAME     enable output device NAME

  --disable-outdev=NAME    disable output device NAME

  --disable-outdevs        disable output devices

  --disable-devices        disable all devices

  --enable-filter=NAME     enable filter NAME

  --disable-filter=NAME    disable filter NAME

  --disable-filters        disable all filters


External library support:

  --enable-avisynth        enable reading of AVISynth script files [no]

  --enable-bzlib           enable bzlib [autodetect]

  --enable-fontconfig      enable fontconfig

  --enable-frei0r          enable frei0r video filtering

  --enable-gnutls          enable gnutls [no]

  --enable-libaacplus      enable AAC+ encoding via libaacplus [no]

  --enable-libass          enable libass subtitles rendering [no]

  --enable-libbluray       enable BluRay reading using libbluray [no]

  --enable-libcelt         enable CELT decoding via libcelt [no]

  --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]

  --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]

  --enable-libopencv       enable video filtering via libopencv [no]

  --enable-libcdio         enable audio CD grabbing with libcdio

  --enable-libdc1394       enable IIDC-1394 grabbing using libdc1394

                           and libraw1394 [no]

  --enable-libfaac         enable FAAC support via libfaac [no]

  --enable-libfreetype     enable libfreetype [no]

  --enable-libgsm          enable GSM support via libgsm [no]

  --enable-libmodplug      enable ModPlug via libmodplug [no]

  --enable-libmp3lame      enable MP3 encoding via libmp3lame [no]

  --enable-libnut          enable NUT (de)muxing via libnut,

                           native (de)muxer exists [no]

  --enable-libopenjpeg     enable JPEG 2000 encoding/decoding via OpenJPEG [no]

  --enable-libpulse        enable Pulseaudio input via libpulse [no]

  --enable-librtmp         enable RTMP[E] support via librtmp [no]

  --enable-libschroedinger enable Dirac support via libschroedinger [no]

  --enable-libspeex        enable Speex support via libspeex [no]

  --enable-libstagefright-h264  enable H.264 decoding via libstagefright [no]

  --enable-libtheora       enable Theora encoding via libtheora [no]

  --enable-libutvideo      enable Ut Video encoding and decoding via libutvideo [no]

  --enable-libv4l2         enable libv4l2/v4l-utils [no]

  --enable-libvo-aacenc    enable AAC encoding via libvo-aacenc [no]

  --enable-libvo-amrwbenc  enable AMR-WB encoding via libvo-amrwbenc [no]

  --enable-libvorbis       enable Vorbis en/decoding via libvorbis,

                           native implementation exists [no]

  --enable-libvpx          enable VP8 support via libvpx [no]

  --enable-libx264         enable H.264 encoding via x264 [no]

  --enable-libxavs         enable AVS encoding via xavs [no]

  --enable-libxvid         enable Xvid encoding via xvidcore,

                           native MPEG-4/Xvid encoder exists [no]

  --enable-openal          enable OpenAL 1.1 capture support [no]

  --enable-openssl         enable openssl [no]

  --enable-zlib            enable zlib [autodetect]


Advanced options (experts only):

  --cross-prefix=PREFIX    use PREFIX for compilation tools []

  --enable-cross-compile   assume a cross-compiler is used

  --sysroot=PATH           root of cross-build tree

  --sysinclude=PATH        location of cross-build system headers

  --target-os=OS           compiler targets OS []

  --target-exec=CMD        command to run executables on target

  --target-path=DIR        path to view of build directory on target

  --nm=NM                  use nm tool NM [nm]

  --ar=AR                  use archive tool AR [ar]

  --as=AS                  use assembler AS []

  --yasmexe=EXE            use yasm-compatible assembler EXE [yasm]

  --cc=CC                  use C compiler CC [gcc]

  --cxx=CXX                use C compiler CXX [g++]

  --ld=LD                  use linker LD []

  --host-cc=HOSTCC         use host C compiler HOSTCC

  --host-cflags=HCFLAGS    use HCFLAGS when compiling for host

  --host-ldflags=HLDFLAGS  use HLDFLAGS when linking for host

  --host-libs=HLIBS        use libs HLIBS when linking for host

  --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS []

  --extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS []

  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []

  --extra-libs=ELIBS       add ELIBS []

  --extra-version=STRING   version string suffix []

  --optflags               override optimization-related compiler flags

  --build-suffix=SUFFIX    library name suffix []

  --malloc-prefix=PREFIX   prefix malloc and related names with PREFIX

  --progs-suffix=SUFFIX    program name suffix []

  --arch=ARCH              select architecture []

  --cpu=CPU                select the minimum required CPU (affects

                           instruction selection, may crash on older CPUs)

  --enable-pic             build position-independent code

  --enable-sram            allow use of on-chip SRAM

  --disable-symver         disable symbol versioning

  --disable-fastdiv        disable table-based division

  --enable-hardcoded-tables use hardcoded tables instead of runtime generation

  --disable-safe-bitstream-reader

                           disable buffer boundary checking in bitreaders

                           (faster, but may crash)

  --enable-memalign-hack   emulate memalign, interferes with memory debuggers


Optimization options (experts only):

  --disable-asm            disable all assembler optimizations

  --disable-altivec        disable AltiVec optimizations

  --disable-amd3dnow       disable 3DNow! optimizations

  --disable-amd3dnowext    disable 3DNow! extended optimizations

  --disable-mmx            disable MMX optimizations

  --disable-mmx2           disable MMX2 optimizations

  --disable-sse            disable SSE optimizations

  --disable-ssse3          disable SSSE3 optimizations

  --disable-avx            disable AVX optimizations

  --disable-armv5te        disable armv5te optimizations

  --disable-armv6          disable armv6 optimizations

  --disable-armv6t2        disable armv6t2 optimizations

  --disable-armvfp         disable ARM VFP optimizations

  --disable-mmi            disable MMI optimizations

  --disable-neon           disable NEON optimizations

  --disable-vis            disable VIS optimizations

  --disable-yasm           disable use of yasm assembler

  --postproc-version=V     build libpostproc version V.

                           Where V can be '51.2.101' or 'current'. [current]


Developer options (useful when working on FFmpeg itself):

  --enable-coverage        build with test coverage instrumentation

  --disable-debug          disable debugging symbols

  --enable-debug=LEVEL     set the debug level []

  --disable-optimizations  disable compiler optimizations

  --enable-extra-warnings  enable more compiler warnings

  --disable-stripping      disable stripping of executables and shared libraries

  --assert-level=level     0(default), 1 or 2, amount of assertion testing,

                           2 causes a slowdown at runtime.

  --valgrind=VALGRIND      run "make fate" tests through valgrind to detect memory

                           leaks and errors, using the specified valgrind binary.

                           Cannot be combined with --target-exec

  --samples=PATH           location of test samples for FATE, if not set use

                           $FATE_SAMPLES at make invocation time.

  --enable-xmm-clobber-test check XMM registers for clobbering (Win64-only;

                           should be used only for debugging purposes)


NOTE: Object files are built at the place where configure is launched. 


mplayer에게는 --enable 등으로 옵션을 제공하고

ffmpeg 에게는 --extra 로 붙은 옵션으로 제공하게 되는 것으로 보인다.

./configure --prefix=${ROOTFS}/usr --target=arm-linux --enable-cross-compile --cc=${CROSS_COMPILE}gcc --enable-alsa

--extra-cflags="-march=armv7-a -mfpu=neon -mfloat-abi=softfp -I../live.2011.12.23/liveMedia/include -I../live.2011.12.23/UsageEnvironment/include -I../live.2011.12.23/groupsock/include -I../live.2011.12.23/BasicUsageEnvironment/include -I${ROOTFS}/usr/include"

--extra-ldflags="-L../live.2011.12.23/liveMedia -L../live.2011.12.23/UsageEnvironment -L../live.2011.12.23/groupsock -L../live.2011.12.23/BasicUsageEnvironment -L${ROOTFS}/usr/lib" 

--extra-libs="-lliveMedia -lUsageEnvironment  -lgroupsock -lBasicUsageEnvironment"

--disable-gui --disable-tv --disable-vcd --disable-bluray --disable-dvdnav --disable-dvdread --disable-dvdread-internal --disable-v4l2 --disable-x11 --disable-fbdev --disable-yuv4mpeg --disable-tga --disable-pnm --disable-md5sum --disable-corevideo --disable-quartz --disable-ftp --disable-sortsub --disable-ossaudio --disable-freetype

--enable-live

--enable-neon --enable-armvfp --disable-armv5te --disable-armv6 --disable-armv6t2



ffmpeg만 컴파일

$ ./configure --enable-cross-compile --cross-prefix=arm-none-linux-gnueabi- --target-os=linux --arch=arm --cpu=cortex-a8 --enable-neon --enable-armvfp --extra-cflags=" -mfpu=neon -mfloat-abi=softfp" --disable-armv6 --disable-armv6t2  --disable-armv5te

install prefix            /usr/local

source path               .

C compiler                arm-none-linux-gnueabi-gcc

ARCH                      arm (cortex-a8)

big-endian                no

runtime cpu detection     no

ARMv5TE enabled           no

ARMv6 enabled             no

ARMv6T2 enabled           no

ARM VFP enabled           yes

NEON enabled              yes

debug symbols             yes

strip symbols             yes

optimize for size         no

optimizations             yes

static                    yes

shared                    no

postprocessing support    no

new filter support        yes

network support           yes

threading support         pthreads

safe bitstream reader     yes

SDL support               no

libdxva2 enabled          no

libva enabled             no

libvdpau enabled          no

AVISynth enabled          no

frei0r enabled            no

gnutls enabled            no

libaacplus enabled        no

libass enabled            no

libcdio support           no

libcelt enabled           no

libdc1394 support         no

libfaac enabled           no

libgsm enabled            no

libmodplug enabled        no

libmp3lame enabled        no

libnut enabled            no

libopencore-amrnb support no

libopencore-amrwb support no

libopencv support         no

libopenjpeg enabled       no

libpulse enabled          no

librtmp enabled           no

libschroedinger enabled   no

libspeex enabled          no

libstagefright-h264 enabled    no

libtheora enabled         no

libutvideo enabled        no

libv4l2 enabled           no

libvo-aacenc support      no

libvo-amrwbenc support    no

libvorbis enabled         no

libvpx enabled            no

libx264 enabled           no

libxavs enabled           no

libxvid enabled           no

openal enabled            no

openssl enabled           no

zlib enabled              no

bzlib enabled             no


Enabled decoders:

aac                     cinepak                 mace3

aac_latm                cljr                    mace6

aasc                    cook                    mdec

ac3                     cscd                    microdvd

adpcm_4xm               cyuv                    mimic

adpcm_adx               dca                     mjpeg

adpcm_ct                dfa                     mjpegb

adpcm_ea                dirac                   mlp

adpcm_ea_maxis_xa       dnxhd                   mmvideo

adpcm_ea_r1             dpx                     motionpixels

adpcm_ea_r2             dsicinaudio             mp1

adpcm_ea_r3             dsicinvideo             mp1float

adpcm_ea_xas            dvbsub                  mp2

adpcm_g722              dvdsub                  mp2float

adpcm_g726              dvvideo                 mp3

adpcm_ima_amv           dxtory                  mp3adu

adpcm_ima_apc           eac3                    mp3adufloat

adpcm_ima_dk3           eacmv                   mp3float

adpcm_ima_dk4           eamad                   mp3on4

adpcm_ima_ea_eacs       eatgq                   mp3on4float

adpcm_ima_ea_sead       eatgv                   mpc7

adpcm_ima_iss           eatqi                   mpc8

adpcm_ima_qt            eightbps                mpeg1video

adpcm_ima_smjpeg        eightsvx_exp            mpeg2video

adpcm_ima_wav           eightsvx_fib            mpeg4

adpcm_ima_ws            escape124               mpegvideo

adpcm_ms                escape130               msmpeg4v1

adpcm_sbpro_2           exr                     msmpeg4v2

adpcm_sbpro_3           ffv1                    msmpeg4v3

adpcm_sbpro_4           ffvhuff                 msrle

adpcm_swf               ffwavesynth             msvideo1

adpcm_thp               flac                    mszh

adpcm_xa                flic                    mxpeg

adpcm_yamaha            flv                     nellymoser

alac                    fourxm                  nuv

als                     fraps                   pam

amrnb                   frwu                    pbm

amrwb                   g723_1                  pcm_alaw

amv                     g729                    pcm_bluray

anm                     gif                     pcm_dvd

ansi                    gsm                     pcm_f32be

ape                     gsm_ms                  pcm_f32le

ass                     h261                    pcm_f64be

asv1                    h263                    pcm_f64le

asv2                    h263i                   pcm_lxf

atrac1                  h264                    pcm_mulaw

atrac3                  huffyuv                 pcm_s16be

aura                    idcin                   pcm_s16le

aura2                   idf                     pcm_s16le_planar

avrp                    iff_byterun1            pcm_s24be

avs                     iff_ilbm                pcm_s24daud

avui                    imc                     pcm_s24le

ayuv                    indeo2                  pcm_s32be

bethsoftvid             indeo3                  pcm_s32le

bfi                     indeo4                  pcm_s8

bink                    indeo5                  pcm_s8_planar

binkaudio_dct           interplay_dpcm          pcm_u16be

binkaudio_rdft          interplay_video         pcm_u16le

bintext                 jacosub                 pcm_u24be

bmp                     jpeg2000                pcm_u24le

bmv_audio               jpegls                  pcm_u32be

bmv_video               jv                      pcm_u32le

c93                     kgv1                    pcm_u8

cavs                    kmvc                    pcm_zork

cdgraphics              lagarith                pcx

cdxl                    loco                    pgm

pgmyuv                  sol_dpcm                vmdvideo

pgssub                  sonic                   vmnc

pictor                  sp5x                    vorbis

ppm                     srt                     vp3

prores                  sunrast                 vp5

prores_lgpl             svq1                    vp6

ptx                     svq3                    vp6a

qcelp                   targa                   vp6f

qdm2                    theora                  vp8

qdraw                   thp                     vqa

qpeg                    tiertexseqvideo         wavpack

qtrle                   tiff                    wmalossless

r10k                    tmv                     wmapro

r210                    truehd                  wmav1

ra_144                  truemotion1             wmav2

ra_288                  truemotion2             wmavoice

ralf                    truespeech              wmv1

rawvideo                tta                     wmv2

rl2                     twinvq                  wmv3

roq                     txd                     wmv3image

roq_dpcm                ulti                    wnv1

rpza                    utvideo                 ws_snd1

rv10                    v210                    xan_dpcm

rv20                    v210x                   xan_wc3

rv30                    v308                    xan_wc4

rv40                    v408                    xbin

s302m                   v410                    xbm

sgi                     vb                      xl

shorten                 vble                    xsub

sipr                    vc1                     xwd

smackaud                vc1image                y41p

smacker                 vcr1                    yop

smc                     vmdaudio                yuv4

snow


Enabled encoders:

a64multi                h263p                   pgm

a64multi5               huffyuv                 pgmyuv

aac                     jpeg2000                ppm

ac3                     jpegls                  prores

ac3_fixed               ljpeg                   prores_anatoliy

adpcm_adx               mjpeg                   prores_kostya

adpcm_g722              mp2                     qtrle

adpcm_g726              mpeg1video              r10k

adpcm_ima_qt            mpeg2video              r210

adpcm_ima_wav           mpeg4                   ra_144

adpcm_ms                msmpeg4v2               rawvideo

adpcm_swf               msmpeg4v3               roq

adpcm_yamaha            msvideo1                roq_dpcm

alac                    nellymoser              rv10

amv                     pam                     rv20

ass                     pbm                     sgi

asv1                    pcm_alaw                snow

asv2                    pcm_f32be               sonic

avrp                    pcm_f32le               sonic_ls

avui                    pcm_f64be               srt

ayuv                    pcm_f64le               sunrast

bmp                     pcm_mulaw               svq1

cljr                    pcm_s16be               targa

dca                     pcm_s16le               tiff

dnxhd                   pcm_s24be               v210

dpx                     pcm_s24daud             v308

dvbsub                  pcm_s24le               v408

dvdsub                  pcm_s32be               v410

dvvideo                 pcm_s32le               vorbis

eac3                    pcm_s8                  wmav1

ffv1                    pcm_u16be               wmav2

ffvhuff                 pcm_u16le               wmv1

flac                    pcm_u24be               wmv2

flv                     pcm_u24le               xbm

g723_1                  pcm_u32be               xsub

gif                     pcm_u32le               xwd

h261                    pcm_u8                  y41p

h263                    pcx                     yuv4


Enabled hwaccels:


Enabled parsers:

aac                     dvdsub                  mpegvideo

aac_latm                flac                    png

ac3                     gsm                     pnm

adx                     h261                    rv30

cavsvideo               h263                    rv40

cook                    h264                    vc1

dca                     mjpeg                   vorbis

dirac                   mlp                     vp3

dnxhd                   mpeg4video              vp8

dvbsub                  mpegaudio


Enabled demuxers:

aac                     iff                     pcm_u24be

ac3                     image2                  pcm_u24le

act                     image2pipe              pcm_u32be

adf                     ingenient               pcm_u32le

adx                     ipmovie                 pcm_u8

aea                     iss                     pmp

aiff                    iv8                     pva

amr                     ivf                     qcp

anm                     jacosub                 r3d

apc                     jv                      rawvideo

ape                     latm                    rl2

asf                     lmlm4                   rm

ass                     loas                    roq

au                      lxf                     rpl

avi                     m4v                     rso

avs                     matroska                rtp

bethsoftvid             mgsts                   rtsp

bfi                     microdvd                sap

bink                    mjpeg                   sbg

bintext                 mlp                     sdp

bit                     mm                      segafilm

bmv                     mmf                     shorten

c93                     mov                     siff

caf                     mp3                     smacker

cavsvideo               mpc                     smjpeg

cdg                     mpc8                    sol

cdxl                    mpegps                  sox

daud                    mpegts                  spdif

dfa                     mpegtsraw               srt

dirac                   mpegvideo               str

dnxhd                   msnwc_tcp               swf

dsicin                  mtv                     thp

dts                     mvi                     tiertexseq

dv                      mxf                     tmv

dxa                     mxg                     truehd

ea                      nc                      tta

ea_cdata                nsv                     tty

eac3                    nut                     txd

ffm                     nuv                     vc1

ffmetadata              ogg                     vc1t

filmstrip               oma                     vmd

flac                    pcm_alaw                voc

flic                    pcm_f32be               vqf

flv                     pcm_f32le               w64

fourxm                  pcm_f64be               wav

g722                    pcm_f64le               wc3

g723_1                  pcm_mulaw               wsaud

g729                    pcm_s16be               wsvqa

gsm                     pcm_s16le               wtv

gxf                     pcm_s24be               wv

h261                    pcm_s24le               xa

h263                    pcm_s32be               xbin

h264                    pcm_s32le               xmv

hls                     pcm_s8                  xwma

ico                     pcm_u16be               yop

idcin                   pcm_u16le               yuv4mpegpipe

idf


Enabled muxers:

a64                     ipod                    pcm_mulaw

ac3                     ismv                    pcm_s16be

adts                    ivf                     pcm_s16le

adx                     jacosub                 pcm_s24be

aiff                    latm                    pcm_s24le

amr                     m4v                     pcm_s32be

asf                     matroska                pcm_s32le

asf_stream              matroska_audio          pcm_s8

ass                     md5                     pcm_u16be

au                      microdvd                pcm_u16le

avi                     mjpeg                   pcm_u24be

avm2                    mkvtimestamp_v2         pcm_u24le

bit                     mlp                     pcm_u32be

caf                     mmf                     pcm_u32le

cavsvideo               mov                     pcm_u8

crc                     mp2                     psp

daud                    mp3                     rawvideo

dirac                   mp4                     rm

dnxhd                   mpeg1system             roq

dts                     mpeg1vcd                rso

dv                      mpeg1video              rtp

eac3                    mpeg2dvd                rtsp

ffm                     mpeg2svcd               sap

ffmetadata              mpeg2video              segment

filmstrip               mpeg2vob                smjpeg

flac                    mpegts                  sox

flv                     mpjpeg                  spdif

framecrc                mxf                     srt

framemd5                mxf_d10                 swf

g722                    null                    tg2

g723_1                  nut                     tgp

gif                     ogg                     truehd

gxf                     oma                     vc1t

h261                    pcm_alaw                voc

h263                    pcm_f32be               wav

h264                    pcm_f32le               webm

image2                  pcm_f64be               wtv

image2pipe              pcm_f64le               yuv4mpegpipe


Enabled protocols:

applehttp               hls                     pipe

cache                   http                    rtmp

concat                  httpproxy               rtp

crypto                  md5                     tcp

file                    mmsh                    udp

gopher                  mmst


Enabled filters:

abuffersink             earwax                  pan

aconvert                fade                    pixdesctest

aevalsrc                fieldorder              removelogo

aformat                 fifo                    rgbtestsrc

amerge                  format                  select

amix                    fps                     setdar

amovie                  gradfun                 setfield

anull                   hflip                   setpts

anullsink               idet                    setsar

anullsrc                life                    settb

aresample               lut                     showinfo

ashowinfo               lutrgb                  silencedetect

asplit                  lutyuv                  slicify

astreamsync             mandelbrot              split

bbox                    movie                   swapuv

blackdetect             negate                  testsrc

buffersink              noformat                thumbnail

cellauto                null                    tile

color                   nullsink                transpose

copy                    nullsrc                 unsharp

crop                    overlay                 vflip

deshake                 pad                     volume

drawbox


Enabled bsfs:

aac_adtstoasc           mjpeg2jpeg              mp3_header_decompress

chomp                   mjpega_dump_header      noise

dump_extradata          mov2textsub             remove_extradata

h264_mp4toannexb        mp3_header_compress     text2movsub

imx_dump_header


Enabled indevs:

dv1394                  lavfi                   v4l2

fbdev                   oss


Enabled outdevs:

oss


License: LGPL version 2.1 or later

Creating config.mak and config.h...

libavutil/avconfig.h is unchanged


WARNING: arm-none-linux-gnueabi-pkg-config not found, library detection may fail.

WARNING: Compiler does not indicate floating-point ABI, guessing soft.


[링크 :
https://vec.io/posts/how-to-build-ffmpeg-with-android-ndk]


Anyway, you need to pass -mfpu=neon -mfloat-abi=softfp to the compiler.

[링크 : http://lists.busybox.net/pipermail/buildroot/2012-October/059536.html]


크아아아앙

AAC file format detected.

==========================================================================

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

libavcodec version 54.23.100 (internal)



MPlayer interrupted by signal 11 in module: init_audio_codec

- MPlayer crashed by bad usage of CPU/FPU/RAM.

  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and

  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.

- MPlayer crashed. This shouldn't happen.

  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your

  gcc version. If you think it's MPlayer's fault, please read

  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and

  won't help unless you provide this information when reporting a possible bug.


+ 2014.1.28

아마도 커널에서 NEON 지원이 되지 않은 상태라

해당 하드웨어를 쓰려는 상황이 오자 에러가 발생한게 아닐까 추측된다.

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

ffmpeg으로 컨테이너 변경하기  (0) 2016.12.01
ffmpeg 으로 파일 재생하기  (0) 2015.02.10
ffmpeg arm 아키텍쳐별 최적화 코덱  (0) 2015.01.26
mplayer status line  (0) 2015.01.26
FAAD / FAAC  (0) 2015.01.23
Posted by 구차니

맞을지 틀릴지 모르겠지만..

FFMPEG 옵션을 줘서 ARMv5 계열에서 득본게 MP3뿐인데..

IDCT 에서 영향을 받은건지 MPEGVIDEO에서 본건지 알수는 없어서 대충 기재 ㅠㅠ


ARMv5 

ARMv6 

ARMv7(NEON) 



mpegvideo/mp3






ac3


mpegaudio




vp7

vp8

ac3

h.264

mpegvideo

vc1

vorbis

vp6

vp7

vp8




# ARMv5 optimizations

# subsystems

ARMV5TE-OBJS-$(CONFIG_IDCTDSP)

ARMV5TE-OBJS-$(CONFIG_MPEGVIDEO)

ARMV5TE-OBJS-$(CONFIG_VIDEODSP)


# decoders/encoders

ARMV5TE-OBJS-$(CONFIG_MLP_DECODER)



# ARMv6 optimizations

# subsystems

ARMV6-OBJS-$(CONFIG_AC3DSP)

ARMV6-OBJS-$(CONFIG_HPELDSP)

ARMV6-OBJS-$(CONFIG_IDCTDSP)

ARMV6-OBJS-$(CONFIG_ME_CMP)

ARMV6-OBJS-$(CONFIG_MPEGAUDIODSP)

ARMV6-OBJS-$(CONFIG_MPEGVIDEOENC)

ARMV6-OBJS-$(CONFIG_PIXBLOCKDSP)


# decoders/encoders

ARMV6-OBJS-$(CONFIG_MLP_DECODER)

ARMV6-OBJS-$(CONFIG_STARTCODE)

ARMV6-OBJS-$(CONFIG_VP7_DECODER)

ARMV6-OBJS-$(CONFIG_VP8_DECODER)



# VFP optimizations

VFP-OBJS


# subsystems

VFP-OBJS-$(CONFIG_FFT)

VFP-OBJS-$(CONFIG_MDCT)

VFP-OBJS-$(HAVE_ARMV6)


# decoders/encoders

VFP-OBJS-$(CONFIG_DCA_DECODER)



# NEON optimizations

NEON-OBJS


# subsystems

NEON-OBJS-$(CONFIG_AC3DSP)

NEON-OBJS-$(CONFIG_AUDIODSP)

NEON-OBJS-$(CONFIG_BLOCKDSP)

NEON-OBJS-$(CONFIG_FFT)

NEON-OBJS-$(CONFIG_H264CHROMA)

NEON-OBJS-$(CONFIG_H264DSP)

NEON-OBJS-$(CONFIG_H264PRED)

NEON-OBJS-$(CONFIG_H264QPEL)

NEON-OBJS-$(CONFIG_HPELDSP)

NEON-OBJS-$(CONFIG_IDCTDSP)

NEON-OBJS-$(CONFIG_MDCT)

NEON-OBJS-$(CONFIG_MPEGVIDEO)

NEON-OBJS-$(CONFIG_RDFT)

NEON-OBJS-$(CONFIG_VP3DSP)


# decoders/encoders

NEON-OBJS-$(CONFIG_AAC_DECODER)

NEON-OBJS-$(CONFIG_LLAUDDSP)

NEON-OBJS-$(CONFIG_DCA_DECODER)

NEON-OBJS-$(CONFIG_RV30_DECODER)

NEON-OBJS-$(CONFIG_RV40_DECODER)

NEON-OBJS-$(CONFIG_VC1_DECODER)

NEON-OBJS-$(CONFIG_VORBIS_DECODER)

NEON-OBJS-$(CONFIG_VP6_DECODER)

NEON-OBJS-$(CONFIG_VP7_DECODER)

NEON-OBJS-$(CONFIG_VP8_DECODER)


[링크 : http://git.videolan.org/?p=ffmpeg.git...;hb=HEAD]

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

ffmpeg 으로 파일 재생하기  (0) 2015.02.10
Mplayer/ffmpeg 크로스 컴파일 하기  (0) 2015.01.27
mplayer status line  (0) 2015.01.26
FAAD / FAAC  (0) 2015.01.23
pulseaudio / ffmpeg esd protocol  (0) 2014.11.18
Posted by 구차니

Mplayer를 콘솔에서 실행하면

A: 2.1 47% 이런게 떠서 조사


오홍 니가 status line이냐?

--quiet Make console output less verbose; in particular, prevents the status line (i.e. A: 0.7 V: 0.6 A-V: 0.068 ...) from being displayed. Particularly useful on slow terminals or broken ones which do not properly handle carriage return (i.e. \r).


[링크 : http://www.mplayer2.org/docs/mplayer/] 


Q: What is the meaning of the numbers on the status line?

A: Example:

A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49% 1.00x

A: 2.1

audio position in seconds


V: 2.2

video position in seconds


A-V: -0.167

audio-video difference in seconds (delay)


ct: 0.042

total A-V sync correction done


57/57

frames played/decoded (counting from last seek)


41%

video codec CPU usage in percent (for slice rendering and direct rendering this includes video_out)


0%

video_out CPU usage


2.6%

audio codec CPU usage in percent


0

frames dropped to maintain A-V sync


4

current level of image postprocessing (when using -autoq)


49%

current cache size used (around 50% is normal)


1.00x

playback speed as a factor of original speed


Most of them are for debug purposes, use the -quiet option to make them disappear. You might notice that video_out CPU usage is zero (0%) for some files. This is because it is called directly from the codec and thus cannot be measured separately. If you wish to know the video_out speed, compare the difference when playing the file with -vo null and your usual video output driver. 


[링크 : http://www.mplayerhq.hu/DOCS/HTML/en/faq.html#idp61939360]


암튼.. 끊어지는 경우 audio cpu 항목이 100%를 넘어서는데

단위 시간(프레임이라던가)을 디코딩하는데 걸리는 시간을 기준으로 측정하는것 같기도 하고..

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

Mplayer/ffmpeg 크로스 컴파일 하기  (0) 2015.01.27
ffmpeg arm 아키텍쳐별 최적화 코덱  (0) 2015.01.26
FAAD / FAAC  (0) 2015.01.23
pulseaudio / ffmpeg esd protocol  (0) 2014.11.18
ffserver.conf 설정법  (0) 2014.11.06
Posted by 구차니

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 구차니
프로그램 사용/winscp2015. 1. 20. 16:32

엄밀하게는 로컬로 받아서 다시 넣는것이긴 한데

그래도 아주 불편한건 아니라 쓸만해 보인다.





걍 scp -r 으로 바로 넣는게 나을지도 모르겠지만..

busybox는 -r을 지원하지 않는다 -_-


-r' Recursively copy entire directories. Note that scp follows symbolic links encountered in the tree traversal.

[링크 : http://linux.die.net/man/1/scp] 


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

winscp 암호화 변경  (0) 2016.02.03
winscp sftp 접속불가 문제  (0) 2013.02.09
winscp - passive/active mode  (0) 2012.04.28
winscp UTF-8 한글 적용하기  (2) 2012.01.16
winscp - 한글 사용에 주의하세요  (0) 2009.09.12
Posted by 구차니


> help

?       - alias for 'help'

autoscr - DEPRECATED - use "source" command instead

base    - print or set address offset

bdinfo  - print Board Info structure

boot    - boot default, i.e., run 'bootcmd'

bootd   - boot default, i.e., run 'bootcmd'

bootm   - boot application image from memory

bootp   - boot image via network using BOOTP/TFTP protocol

cmp     - memory compare

coninfo - print console devices and information

cp      - memory copy

crc32   - checksum calculation

dhcp    - boot image via network using DHCP/TFTP protocol

echo    - echo args to console

fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls   - list files in a directory (default /)

go      - start application at address 'addr'

help    - print online help

iminfo  - print header information for application image

imxtract- extract a part of a multi-image

itest   - return true/false on integer compare

loadb   - load binary file over serial line (kermit mode)

loads   - load S-Record file over serial line

loady   - load binary file over serial line (ymodem mode)

loop    - infinite loop on address range

md      - memory display

mii     - MII utility commands

mm      - memory modify (auto-incrementing address)

mmc     - MMC sub system

mmcinfo - mmcinfo <dev num>-- display MMC info

mtest   - simple RAM read/write test

mw      - memory write (fill)

mxs_mmc - MXS specific MMC sub system

nfs     - boot image via network using NFS protocol

nm      - memory modify (constant address)

ping    - send ICMP ECHO_REQUEST to network host

printenv- print environment variables

rarpboot- boot image via network using RARP/TFTP protocol

reset   - Perform RESET of the CPU

run     - run commands in an environment variable

saveenv - save environment variables to persistent storage

setenv  - set environment variables

sleep   - delay execution for some time

source  - run script from memory

tftpboot- boot image via network using TFTP protocol

version - print monitor version


> help cmp

cmp - memory compare


Usage:

cmp [.b, .w, .l] addr1 addr2 count


> help cp

cp - memory copy


Usage:

cp [.b, .w, .l] source target count


> help md

md - memory display


Usage:

md [.b, .w, .l] address [# of objects]


> help mm

mm - memory modify (auto-incrementing address)


Usage:

mm [.b, .w, .l] address


> help mtest

mtest - simple RAM read/write test


Usage:

mtest [start [end [pattern [iterations]]]]


> help mw

mw - memory write (fill)


Usage:

mw [.b, .w, .l] address value [count]


> help nm

nm - memory modify (constant address)


Usage:

nm [.b, .w, .l] address


[링크 : http://breadnborisu.blogspot.kr/2010/01/5.html]

'프로그램 사용 > u-boot' 카테고리의 다른 글

ubuntu 12.04 xinetd/tftpd 느린 이유  (0) 2016.11.08
uboot bootargs 기본값 설정하기  (0) 2015.02.09
u-boot 포팅 가이드  (0) 2013.08.31
u-boot 설명서  (0) 2013.06.21
uboot 포팅 - falinux 링크  (0) 2013.06.18
Posted by 구차니

gedit에는 ctags 연동이 되는데

notepad++에는 없나 해서 찾아봤떠니 으아!!!


Source Cookifier(ctags)

Source Switch(header <-> source code)



그리고 vi 명령모드를 지원하는 ViSimulator!!!


[링크 : http://iamaman.tistory.com/1175]

[링크 : http://www.visimulator.com/]

Posted by 구차니

svn add나 import 시에

/etc/subversion/config

~/.subversion/config와 상관없이 ignore 되는 확장자가 발생을 하는데

일단 이런 현상을 겪기 싫다면.. --no-ignore를 기본적으로 사용하는게 좋을듯 하다.



$ svn help import

import: 버전관리 대상이 아닌 파일과 디렉토리를 추가합니다.

사용법: import [PATH] URL


  PATH의 하위 디렉토리를 재귀적으로 URL에 추가합니다.

  PATH가 생략되면 '.' 이 사용됩니다. 필요한 경우,

  저장소 상에 상위 디렉토리가 자동으로 생성됩니다.

  PATH가 디렉토리이면, 그 내용은 URL에 모두 추가 됩니다.

  --force가 지정되면 버전관리 할 수 없는 장치 파일이나

  파이프등은 무시됩니다


옵션:

  -q [--quiet]             : 아무것도 출력하지 않거나, 요약 정보만 출력합니다

  -N [--non-recursive]     : obsolete; try --depth=files or --depth=immediates

  --depth ARG              : 적용할 단계를 제한합니다. 가능한 인자 ('empty', 'files',

                            'immediates', or 'infinity')

  --auto-props             : 자동 속성기능을 활성화합니다

  --force                  : 강제로 실행합니다

  --no-auto-props          : 자동 속성기능을 비활성화합니다

  -m [--message] ARG       : 커밋 로그 메시지를 지정합니다

  -F [--file] ARG          : arg에서 로그 메시지를 읽습니다

  --force-log              : 로그 메시지의 유효성을 확인하지 않습니다

  --editor-cmd ARG         : arg를 외부 편집기로 사용합니다

  --encoding ARG           : 값을 arg에 해당하는 문자코드로 취급합니다

  --with-revprop ARG       : set revision property ARG in new revision

                             using the name[=value] format

  --no-ignore              : svn:ignore로 지정한 것과 디폴트로 무시하는 파일들을 무시하지 않습니다


글로벌 옵션:

  --username ARG           : arg를 접속에 필요한 사용자 ID로 사용합니다

  --password ARG           : arg를 접속에 필요한 패스워드로 사용합니다

  --no-auth-cache          : 인증 정보를 캐시에 저장하지 않습니다

  --non-interactive        : 대화식 사용자 입력을 기다리지 않습니다

  --trust-server-cert      : accept unknown SSL server certificates without

                             prompting (but only with '--non-interactive')

  --config-dir ARG         : arg로 지정된 디렉토리에서 사용자 구성화일을 읽습니다

  --config-option ARG      : set user configuration option in the format:

                                 FILE:SECTION:OPTION=[VALUE]

                             For example:

                                 servers:global:http-library=serf 


$ svn help add

add: 파일과 디렉토리를 버전관리 대상에 넣습니다. 저장소에

추가하도록 스케쥴링 되며, 다음 커밋할 때, 추가됩니다.

사용법: add PATH...


옵션:

  --targets ARG            : ARG로 주어진 파일 내용을 옵션으로 추가합니다

  -N [--non-recursive]     : obsolete; try --depth=files or --depth=immediates

  --depth ARG              : 적용할 단계를 제한합니다. 가능한 인자 ('empty', 'files',

                            'immediates', or 'infinity')

  -q [--quiet]             : 아무것도 출력하지 않거나, 요약 정보만 출력합니다

  --force                  : 강제로 실행합니다

  --no-ignore              : svn:ignore로 지정한 것과 디폴트로 무시하는 파일들을 무시하지 않습니다

  --auto-props             : 자동 속성기능을 활성화합니다

  --no-auto-props          : 자동 속성기능을 비활성화합니다

  --parents                : 임시 상위개체 삽입


글로벌 옵션:

  --username ARG           : arg를 접속에 필요한 사용자 ID로 사용합니다

  --password ARG           : arg를 접속에 필요한 패스워드로 사용합니다

  --no-auth-cache          : 인증 정보를 캐시에 저장하지 않습니다

  --non-interactive        : 대화식 사용자 입력을 기다리지 않습니다

  --trust-server-cert      : accept unknown SSL server certificates without

                             prompting (but only with '--non-interactive')

  --config-dir ARG         : arg로 지정된 디렉토리에서 사용자 구성화일을 읽습니다

  --config-option ARG      : set user configuration option in the format:

                                 FILE:SECTION:OPTION=[VALUE]

                             For example:

                                 servers:global:http-library=serf


$ vi /etc/subversion/config

 96 ### Section for configuring miscelleneous Subversion options.

 97 [miscellany]

 98 ### Set global-ignores to a set of whitespace-delimited globs

 99 ### which Subversion will ignore in its 'status' output, and

100 ### while importing or adding files and directories.

101 ### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'.

102 # global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo

103 #   *.rej *~ #*# .#* .*.swp .DS_Store 


Warning: There is an error in the book: 

The default value of global-ignores was changed in svn 1.5 and 

now includes *.so *.so.[0-9]* files, 

but the one displayed in the book was not updated. 


[링크 : http://svn.haxx.se/users/archive-2009-05/0899.shtml]


[링크 : http://stackoverflow.com/.../svn-propget-svnignore-returns-nothing-but-svn-is-obviously-ignoring-my-files]

[링크 : http://svn.haxx.se/users/archive-2009-02/0821.shtml]

Posted by 구차니

서버키 재 생성할 일 있으면

/etc/sshd/sshd_hosts* 파일들을 삭제하고

sshd 서버를 재시작하면 된다.


[링크 : http://www.softec.lu/site/DevelopersCorner/HowToRegenerateNewSsh]

Posted by 구차니