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 구차니

su -c "killall test"

이런식으로 스크립트에서 실행이 되는데

어떠한 이유로 이런 에러가 발생하는지는 미지수.


root     2204    1  0 14:10 ?        00:00:03 /opt/bin/test

root     2212 2204  0 14:10 ?        00:00:00 [sh] <defunct>

root     2220 2204  0 14:10 ?        00:00:00 [sh] <defunct>

root     2228 2204  0 14:10 ?        00:00:00 [sh] <defunct>




...

알고보니 ps 버전이 busybox와 일반 버전의 출력포맷이 달라서 생긴 문제.. 헐.. -_-

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

microcom 종료하기  (0) 2024.12.04
busybox su가 안될 경우  (0) 2014.12.05
busybox tftp  (0) 2013.06.18
busybox - setconsole  (0) 2011.10.21
busybox ash "cannot open /dev/ttyAS1: no such device"  (0) 2010.04.20
Posted by 구차니
프로그램 사용/lighttpd2014. 12. 30. 21:50

먼진 모르겠고 그냥 검색하다 나와서 일단 기록..


[링크 : http://lighttpd-websocket-fd-transfer.blogspot.kr/2012/04/lighttpd-websocket-plugin-modfdtransfer.html]

[링크 : https://github.com/aalap-shah/lighttpd-mod_fd_transfer]

[링크 : http://oriolrius.cat/blog/2013/09/25/server-send-push-notifications-to-client-browser-without-polling/]

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

lighttpd cgi.assign  (0) 2017.07.28
lighttpd epoll  (0) 2015.07.28
Posted by 구차니

externals에서 내 프로젝트에서 원하는 경로에

외부 저장소를 불러오거나

특정 리비전을 불러와야 할 경우에 대해서 사용하는 추가적인 기능이다


개인 리파지터리 만들어서 해봐야지..


---

2014.12.30 added


Step 1. 원하는 폴더에서 우클릭으로 TortoiseSVN - Properties

Step 2. Properties 창에서 New - Externals


Step 3. svn:externals - New


Step 4. Local path는 절대 경로가 아닌 우클릭한 경로 기준의 상대경로로

           프로젝트를 저장할 폴더명 만 적어 주면된다 -_ㅠ

           URL은 외부 프로젝트의 경로를 적어준다.

           아래의 Revision은 일단.. 항상 최신 버전을 받아와야 한다면 HEAD를 특정 리비전을 위해서는 Revision으로


Step 5. 별다른거 없이.. Added가 나오는데 프로젝트로 전부 추가되는거 봐서는...

           큰 프로젝트를 svn:externals로 추가할경우 상당한 시간이 걸릴 것으로 예상된다.


Step 6. svn:externals에 추가후에 commit을 하던 update 후에 commit을 하던

           뜨는건 modified(property change only) 라고 뜬다. 즉, 내 저장소의 용량에는 영향이 없다는 것?


Step 7. repo. browser로 보면 이렇게 바로가기로 출력된다.


---


[링크 : http://baboc.tistory.com/97]

[링크 : http://itbaby.egloos.com/4295117]

[링크 : http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html]

Posted by 구차니