본문 바로가기

AVAssetExportSession 을 이용한 비디오 transcoding(stackoverflow) What is the best way to transcode a video in objective-c (iOS)?up vote3down votefavorite2I would like to, depending on the device and the settings in my application, transcode a video to a specific video format. For an example, if the user has an iPhone 4S and chooses medium settings in my application I would like to convert the video to 540p before I start processing. If he chooses high then I .. 더보기
Boolean satisfiability problem In computer science, satisfiability(SAT) is the problem of determining if there exists an interpretation that satisfies a given Boolean formula. In other words, it establishes if the variables of a given Boolean formula can be assigned in such way as to make the formula evaluate to TRUE. Equally important is to determine whether no such assignments exist, which would imply that the function expr.. 더보기
EC2로 git 서버 구축하기 1. AWS에서 EC2 instance를 만든다. (ubuntu로 진행)2. sudo su3. apt-get install git4. 다음 명령어로 git 전용 사용자 계정을 만든다.# useradd -m -d /home/git -u 1005 git5. git 계정으로 shell에 접속하는 것을 막기 위해# usermod -s /usr/bin/git-shell git명령어로 git의 /bin/bash를 /usr/bin/git-shell로 바꾼다.6. /etc/shells 파일의 마지막 줄에 '/usr/bin/git-shell' 을 추가한다.7. 다음 명령어로 COMMAND_DIR 환경변수에 해당하는 디렉토리가 존재하도록 한다.# cd /home/git# mkdir git-shell-commands# ch.. 더보기