구르는돌

블로그 이미지
by soil21
  • Total hit
  • Today hit
  • Yesterday hit

'분류 전체보기'에 해당되는 글 175건

  1. 2009.01.09
    XP에서 flash player(플레쉬 플레이어) 소리가 안날때... 1
  2. 2008.12.16
    ubuntu android 설치
  3. 2008.12.15
    android pkg 설치
  4. 2008.12.11
    OSX 설치
  5. 2008.12.11
    일상다반사
  6. 2008.12.08
    [안드로이드 팁] SDK 설치 및 실행 2
  7. 2008.11.13
    VNC 서버 설정
  8. 2008.10.29
    한 대의 PC에 여러 개의 마우스
  9. 2008.10.16
    H.264 codec 총정리
  10. 2008.10.02
    08년 9월 29/30 10월 1/2일 후단식
무슨 이유에서인지 flash player의 소리가 갑자기 안나오는 현상이 발생하는데 여기저기 이런저런 자료를 찾아 보았으나 네이버,다음등에선 해결책을 찾지 못하고 구글에서 원하는 답을 찾았다.
레지스트리에 아래의 내용이 있는지 확인하고 없으면 만들어 주면 된다. 내가 사용하는 컴퓨터엔 아에 Drivers32라는 키가 없어서 우선 Drivers32 키 부터 만들어 놓고 wavemapper=msacm32.drv 를 추가하니 소리가 정상적으로 나온다.

첨부된 파일은 레지스트리 등록 파일이며 다운 받은 후 더블 클릭하면 레지스트리에 등록해 준다. 첨부파일의 내용은

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
“wavemapper”=”msacm32.drv”



반응형
AND

1. 우분투설치. 안드로이드 개발 기준이 되는 OS는 우분투와 MacOSX 입니다. http://www.ubuntu.com/ 부터 설치합니다. 

2. 소스받기. 안드로이드에서 소스 트리를 주욱 다운 받아봅니다. http://source.android.com/download

일단 받고 나서 디렉토리를 살펴보면 저 방대한 소스 트리중 대체 어디서 부터 봐야 하는 것인가라는 생각이 들게 됩니다.

3. 시작하기. development\pdk\docs 에 있는 Android Porting Guide를 읽어봅니다. 최신 소스와는 차이가 있지만 어디서부터 시작을 해야 하는지 방향을 잡아줍니다. 이 숨겨져(?) 있는 문서가 안드로이드 포팅을 위한 소스 분석의 시작포인트입니다.

1, 2번을 생략하고 일단 Document를 읽어보시고 싶으신 분은 웹에서(http://git.source.android.com/) snapshot을 받아서 보실 수 있습니다. 

대략적인 소스 구성에 대한 설명을 볼 수 있습니다. 그리고 거기서 나오는 디바이스들 중 비디오, 키, 오디오 정도의 순서로 소스를 따라들어가면 될듯 합니다. 

소스를 보고 있으면 가끔 우주를 헤메는 기분이 들고 그게 정상입니다..


Get source

For information about current problems and fixes, see Known issues.

This document describes how to set up your local work environment, how to use Repo to get the Android files, and how to build the files on your machine.

Related reading:
  • For an overview of the entire code-review and code-update process, see Workflow.
  • For reference details about Repo, see Using Repo and Git.

What's in the source?

For a description of all the projects that make up the Android source code, see Project layout. To see snapshots and histories of the files available in the public Android repositories, visit theGitWeb web interface.
The source is approximentely 2.1GB in size. You will need 6GB free to complete the build.

Setting up your machine

To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.

Linux

The Android build is routinely tested on recent versions of Ubuntu (6.06 and later), but reports of successes or failures on other distributions are welcome.

Ubuntu Linux (i386)

To set up your Linux development environment, make sure you have the following:
  • Git 1.5.4 or newer and the GNU Privacy Guard.
$ sudo apt-get install git-core gnupg
  • JDK 5.0, update 12 or higher.
$ sudo apt-get install sun-java6-jdk
  • The following packages: flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl.
$ sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zipcurl libncurses5-dev zlib1g-dev
  • You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.
$ sudo apt-get install valgrind

Ubuntu Linux (amd64)

This has not been as well tested. Please send success or failure reports to repo-discuss@googlegroups.com.

The Android build requires a 32-bit build environment as well as some other tools:
  • Git, JDK, flex, and the other packages as listed above in the i386 instructions:
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl
  • Get a 32-bit version of the JVM:

    $ sudo apt-get install sun-java6-jdk # JDK tools (javac, etc)
    $ sudo apt-get install ia32-sun-java6-bin # JRE (java itself)
    $ sudo update-java-alternatives -s ia32-java-6-sun

  • Pieces from the 32-bit cross-building environment:
$ sudo apt-get install lib32z1-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs

Ubuntu doesn't have packages for the X11 libraries, but that can be worked around with the following command:

$ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so

Other Linux

There's no reason why Android cannot be built on non-Ubuntu systems. Please send any success or failure reports to repo-discuss@googlegroups.com. In general you will need:

Anything missing from this list? Please let us know!


Mac OS

Requirements:

  • To build the Android files in a Mac OS environment, you need an Intel/x86 machine. The Android build system and tools do not support the obsolete PowerPC architecture.
  • Android must be built on a case-sensitive file system.
    • We recommend that you build Android on a partition that has been formatted with the "Case-sensitive Journaled HFS+" file system:
      • A case-sensitive file system is required because the sources contain files that differ only in case.
      • Journaled systems are more robust. (This is optional, but recommended.)
      • HFS+ is required to successfully build Mac OS applications such as the Android Emulator for OS X.
    • If you want to avoid partitioning/formatting your hard drive, you can use a case-sensitive disk image instead.
      • To create the image:
        • launch /Applications/Utilities/Disk Utility
        • select "New Image"
        • size: 8 GB (this will work, but you can choose more if you want to)
        • volume format: case sensitive, journaled
      • This will create a .dmg file which, once mounted, acts as a drive with the required formatting for Android development. For a disk image named "android.dmg" stored in your home directory, you can add the following to your ~/.bash_profile to mount the image when you execute "mountAndroid":

        # command to mount the android file image
        function mountAndroid { hdiutil attach ~/android.dmg -mountpoint /Volumes/android; }

        Once mounted, you'll do all your work in the "android" volume. You can eject it (unmount it) just like you would with an external drive.
To set up your Mac OS development environment, follow these steps:
  1. Install the XCode version 2.4 or later from http://developer.apple.com . We recommend version 3.0 or newer.
  2. Install MacPorts. To do this:
    1. Download the tar file from http://www.macports.org/ and untar the files.
    2. Run the following:
      $ ./configure
      $ make
      $ sudo make install
      $ sudo port selfupdate
    3. View your path:
      $ echo $PATH
      Make sure that /opt/local/bin is in your path before /usr/bin. If not, edit $HOME/.bash_profile and add the line "export PATH=/opt/local/bin:$PATH" (or the equivalent for other shells) after any other PATH-related lines. To verify that your path is now correct, open a new terminal and run echo $PATH again.
  3. Upgrade GNU make to 3.81 or later by running
    $ sudo port install gmake
    $ sudo ln -s gmake /opt/local/bin/make
  4. Install libsdl by running
    $ sudo port install libsdl
  5. Set an appropriate per-process file descriptor limit. To do this, add the following lines to your .bash_profile file:
    # set the number of open files to be 1024
    ulimit -S -n 1024
  6. Install Git and the GNU Privacy Guard:
    $ sudo port install git-core gnupg
    (You will need Git 1.5.4 or newer.)
  7. Install these optional packages, if you want to:
    $ sudo port install xemacs +sumo
    $ sudo port install gimp
Note: If you get errors from port install, prefix your commands with POSIXLY_CORRECT=1, for example:
$ POSIXLY_CORRECT=1 sudo port install package-name


Installing Repo

Repo is a tool that makes it easier to work with Git in the context of Android. For more information about Repo, see Using Repo and Git.

To install, initialize, and configure Repo, follow these steps:

  1. Make sure you have a ~/bin directory in your home directory, and check to be sure that this bin directory is in your path:
    $ cd ~
    $ mkdir bin
    $ echo $PATH
  2. Download the repo script and make sure it is executable:
    $ curl http://android.git.kernel.org/repo >~/bin/repo
    $ chmod a+x ~/bin/repo
  3. Create an empty directory to hold your working files:
    $ mkdir mydroid
    $ cd mydroid
  4. Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest:
    $ repo init -u git://android.git.kernel.org/platform/manifest.git
  5. When prompted, configure Repo with your real name and email address. If you plan to submit code, use an email address that is associated with a Google account.
A successful initialization will end with a message such as
repo initialized in /mydroid


Your client directory should now contain a .repo directory where files such as the manifest will be kept.


What will my name and email be used for?

To use the Gerrit code-review tool,
you will need an email address that is connected with a registered Google account (which does not have to be a Gmail address). Make sure this is a live address at which you can receive messages. The real name that you provide here will show up in attributions for your code submissions.

What is a manifest file?

The Android source files are divided among a number of different repositories. A manifest file contains a mapping of where the files from these repositories will be placed within your working directory when you synchronize your files.


Getting the files

To pull down files to your working directory from the repositories as specified in the default manifest, run

$ repo sync

For more about repo sync and other Repo commands, see Using Repo and Git.

The Android source files will be located in your working directory under their project names.


Building the code

To build the files, run make from within your working directory:
$ cd ~/mydroid
$ make

If your build fails, complaining about a missing "run-java-tool", try setting the ANDROID_JAVA_HOME env var to $JAVA_HOME before making. E.g.,

$ export ANDROID_JAVA_HOME=$JAVA_HOME

Using an IDE

Troubleshooting

ImportError: No module named readline

Mac users getting this should install Python 2.5.2.

Linux users that installed Python from source, make sure the dependencies for libreadline are installed, and rebuild Python.

What's next?

To learn about reporting an issue and searching previously reported issues, see Report bugs. For information about editing the files and uploading changes to the code-review server, see Contribute.
반응형
AND
앞의 글(http://blog.empas.com/i5on9i/31694544)에 이어서 이번엔 직접 android package를 만들어보자.
ant 를 사용해서 할 경우 순서대로 거치는 과정을 직접 하나 하나 해 보면서
어떠한 과정을 거치는지 아는데 의의가 있다.

대략적인 순서는 
R.java 를 생성 --> compile .java --> 달빅(Dalvik)용으로 변환하기 -->package file 만들기 --> signing 하기
가 되겠다.


직접 android package 만들기

1. R.java 생성하기
1.1 R.java
먼저 R.java라는 파일을 생성해야 한다. 이 R.java 에 대한 설명은 http://code.google.com/android/intro/hello-android.html 에 나와 있다.

A project's R.java file is an index into all the resources defined in the file. You use this class in your source code as a sort of short-hand way to refer to resources you've included in your project. 

요약하면, project에서 쓰이는 resource 의 index라고 할 수 있다. 실제로 위의 경로에 가보면 R.java 의 example을 보여주는데 각 변수에 해당 resource 에 대한 주소값이 할당되어 있다.

1.2 R.java 생성
aapt 라는 android sdk 안에 있는 android asset packaging tool 을 이용한다.

>aapt package -m -J src -M AndroidManifest.xml -S res -I  "c:\Program Files\Android\android-sdk-windows-1.0_r1\android.jar"

이러면 project/src 에 R.java 가 생겼을 것이다.
이제 *.java 를 compile 해보자.

2. compile .java files
각 .java 에 대해 아래와 같이 명령어를 실행하면 된다. 여기서는 Hello.java 와 R.java 밖에 없기 때문에 2개의 file 만 실행한다.

>javac -d bin\classes -classpath bin\classes -bootclasspath "c:\Program Files\Android\android-sdk-windows-1.0_r1\android.jar" src\com\kmaru\helloroid\R.java

>javac -d bin\classes -classpath bin\classes -bootclassp
ath "c:\Program Files\Android\android-sdk-windows-1.0_r1\android.jar" src\com\km
aru\helloroid\Hello.java

3. .class 를 Dalvik JVM 용으로 변환하기 
android 는 일반적인 JVM 을 쓰지 않는다. Dalvik 이라는 새로운 JVM을 만들어서 사용하는데 이것에 대해서 알고 싶다면 아래를 참고하자.
http://ko.wikipedia.org/wiki/%EB%8B%AC%EB%B9%85_%EA%B0%80%EC%83%81_%EB%A8%B8%EC%8B%A0

D:\Project\eclipse\Hello>dx --dex --output="D:\Project\eclipse\Hello\bin\classes.dex" --positions=lines "D:\Project\eclipse\Hello\bin\classes"

4. .apk 만들기 - package file 만들기
다음은 .apk 를 만들어야 한다. 이 .dex file 들을 하나로 묶어주는 역할을 한다고 보면 된다.
이 하나의 package가 하나의 app이 되는 것이다.
aapt의 설명은 help 에도 잘 나와 있다. aapt package 는 package와 관련된 작업을 할 때 사용한다.

D:\Project\eclipse\Hello>aapt package -f -M AndroidManifest.xml -S res -I "c:\Program Files\Android\android-sdk-windows-1.0_r1\android.jar" -F bin\Hello.apk

이제 만들어진 package 의 내용을 확인해 보자. 이때 사용하는 것이
aapt list 이다.

//.apk 내용 확인
D:\Project\eclipse\Hello>aapt list bin\Hello.apk
res/layout/main.xml
AndroidManifest.xml
resources.arsc


5. apkbuilder를 이용해 Hello-debug.apk만들기
이제 거의 다 되었다. 마지막으로 우리가 만든 package에 signing 을 해야 한다. 
보통 자신이 만든 application 에 sign 을 해서 publishing 이 이루어진다.
지금 같은 경우는 test를 위해 debug 용의 debug.keystore 를 이용해 publishing 을 한 것이다.
나중에 직접 배포하게 될때는 개인의 key를 이용해야 할 것이다. 자세한 사항은 밑을 참고하자.
http://code.google.com/android/devel/sign-publish.html#signing

D:\Project\eclipse\Hello>apkbuilder d:\Project\eclipse\Hello\bin\Hello-debug.apk -z d:\Project\eclipse\Hello\bin\Hello.apk -f d:\Project\eclipse\Hello\bin\classes.dex -rf d:\Project\eclipse\Hello\src -rj d:\Project\eclipse\Hello\libs

Using keystore: C:\Documents and Settings\user\Local Settings\Application Data\Android\debug.keystore

D:\Project\eclipse\Hello>aapt list bin\Hello-debug.apk
res/layout/main.xml
AndroidManifest.xml
resources.arsc
classes.dex
META-INF/MANIFEST.MF
META-INF/CERT.SF
META-INF/CERT.RSA

여기서 주의할점은 path를 fullpath로 적어줘야 한다.
apkbuilder 가 있는 위치에서 path를 찾기 때문에 상대경로를 적으려면 apkbuilder 의 위치에서 찾아야 할 것이다.
위에서 보이는 것 처럼 apkbuilder를 사용하면 META-INF 관련 file이 더 생기게 된다.

참고로 sign 을 하지 않으면 emulator 에서도 돌아가지 않는다.
아마 설치를 하면 아래와 같은 error를 보게 될 것이다.
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]


6. emulator 구동하기
c:\Program Files\Android\android-sdk-windows-1.0_r1\tools\emulator.exe
를 실행하면 된다. 이것도 갖가지 옵션을 붙여서 실행가능한데 옵션에 관한 설명은 아래를 참고하자.
http://code.google.com/android/reference/emulator.html#startup-options

여기서 사용할 것은 사용자가 만든 application 부분만 지우는 작업이 필요한다.
그때사용할 것이 -wipe-data라는 option이다.
>emulator -wipe-data
로 실행하면 된다.

7. .apk 설치하기
//adb install
이 emulator 에 만든 hello 라는 program을 설치 해야 한다.
이때 쓰이는 것이 android debug bridge(adb) 이다.

D:\Project\eclipse\Hello>adb install bin\Hello-debug.apk
271 KB/s (0 bytes in 4346.000s)
        pkg: /data/local/tmp/Hello-debug.apk
Success

이러면 성공이다.
이 작업은 emulator가 돌고 있는 상황에서 해줘야 한다.
당연히 설치하고 난 후 바로 emulator에서 확인이 가능하다.
linux 에서 module을 올리는 작업과 비슷하다고 여기면 될 듯 하다.

반응형
AND

10.5.5 Update Success



So after some unsuccessful attempts at updating OS X I finally got the 10.5.5 update to install and not trash the Mac hard drive. I am not going to write instruction how to do it because the problem it seems is that depending on your build, depending on what hardware, depending on the kernal and version of OS X (Kalyway, iDeneb, Jas, Etc) that there are so many variables involved that there is no sure fire way of doing this without trial and error. I had to reinstall OS X multiple times before I found the method for my machine that worked.

The following are some tips and notes from my update process:

Updating from 10.5.2 to 10.5.3
-I am using the Kalyway 10.5.2 and updating to 10.5.3 is very easy. Search and DL the10.5.3 Kalyway Combo Update, it comes with the 9.3 Vanilla Kernel update as well. I would dare say that even if you are not using the Kalyway version that this update would still work on your build.

Updating from 10.5.3 to 10.5.4
-This was even easier that the previous update. Here all I did was install the 10.5.4 Delta Update which I downloaded via Bit Torrent. Once downloaded run the installer, let it finish, restart with the “update -v” command at boot.
-Some people are saying the the Apple Update program works as well to update to 10.5.4. I would say to try this at your own risk. It does not work for every build, and for my build I got kernel panics and a trashed Mac partition when attempting this. Again, it all depends on the variables. If you are brave then try the Apple Updater first and see if it works, otherwise go the Delta route and do it manually.
Updating from 10.5.4 to 10.5.5
-This was not easy. I had the most trouble trying to get this to work.
-Same as before, manually download the 10.5.5 Delta Update via Bit Torrent
-Run the installer package
-During the install process quickly navigate to /System/Library/Extensions/
-
Watch for the AppleIntelCPUPowerManagement.kext to appear, move it to trash immediately
-Now at about the 88% progress of the installer the system will crash, show a kernel panic that the system needs to restart. (Yeah I was worried as well that I would have to reinstall everything again)
-Reboot machine, boot to safe mode first (”-x -v” command at boot)
-If machine successfully boots to safe mode then you should be OK to reboot and start-up as normal.
-Verify 10.5.5 update works by going to the “About this Mac”
-Lastly, check in /System/Library/Extensions/ for “Dont Steal Mac OS X.kext”
-If this exists then rename it to “DSMOS.ktext”

I used a number of sources and experimented with different ways of doing this update. Here are some of my sources, but be careful because ultimately you will need to figure out what the best method to update for your machine is.
-http://cocoatree.wordpress.com/2008/07/21/how-to-update-kalyway-1051-to-1054/
-http://netkas.org/?p=50

Good luck with your update process, share your experiences and tell me what worked or didn’t for you.

반응형
AND
며칠전 중2 막내가 시험 공부를 하더군요.
어려서 서당에서 천자문을 외우던기억이 나서 잠시 아는 척을 좀 했습니다.
워낙에 오랜 기억이고 글씨도 잘 안보이고 OTL
그래도 음은 대강 기억이 나더군요.

아래 내용 한번 살펴 보시죠.
택리지에 나오는 글귀랍니다.

我國山多野少

我國之勢東高西低

我國東西南皆海

船無不通이라


다들잘 보세요.

이게 중학교 2학년 교과서에 나오는 내용입니다.

마지막 글귀가 가슴에 팍 오네요.

ㅋㅋ


MB야 이래도 대운하 할래?

한문 교과서도 바꿔야 긋다 ㅋㅋㅋ


반응형
AND

링크 수정했습니다.

가끔 설치가 안된다고 말씀하시는 분들이 있어서 개발환경 설정 및 에뮬레이터 실행방법을 올립니다.
이클립스 3.5 기준입니다.

안드로이드 개발 환경 구성하기 (http://developer.android.com/sdk/installing.html)

  1. 이클립스 설치 
    1. http://www.eclipse.org/downloads/
    2. Eclipse IDE for Java Developers 버젼을 다운로드 받습니다. 안드로이드에서 WST를 사용하는데 기본으로 WST가 포함되어있으니 새로 설치하신다면 위 버전을 추천합니다.
    3. 적절한 디렉토리에 압축을 풉니다.
  2. Java SDK 설치
    1. http://java.sun.com/javase/downloads/index.jsp
    2. Java SE Development Kit (JDK) 6 를 설치합니다.
  3. 안드로이드 Eclipse 플러그인 설치 (ADT) - Eclipse 3.5버전 기준으로 설명
    1. Eclipe를 실행시킨 후, 메뉴의 Help/Install New Software 실행
    2. Available Software 탭으로 이동
    3. Add Site : https://dl-ssl.google.com/android/eclipse/
    4. 안될경우 http://developer.android.com/sdk/eclipse-adt.html 에서 다운로드 후 Local 설치
    5. 새로추가된 사이트 밑에 Developer Tools 라고 되어있는 체크박스를 체크한후 Install
      1. Android Development Tools와 Android Editors가 체크되어있는지 확인합니다.
      2. 약관에 동의한후 Finish를 클릭하면 인스톨 됩니다.
  4. 안드로이드 SDK 설치
    1. http://developer.android.com/sdk/index.html
    2. SDK 다운로드 후 적당한 위치에 압축 풀기.
  5. 안드로이드 SDK 이클립스  설정
    1. Eclipse의 메뉴 Windows/Preference 실행
    2. 왼쪽 탭에서 Android 선택
    3. Browse를 한후 SDK를 설치한 디렉토리 선택
    4. Apply후 OK

설치가 모두 완료되었습니다. 새로운 프로젝트를 한번 만들어볼까요?

  1. File / New / Project선택
  2. Android 선택
  3. Project Name설정 예
    1. Project Name : Test
    2. Package Name : my.app
    3. Activity Name : Test
    4. Application Name Test
  4. 메뉴 Run/Run Configurations 실행
  5. 안드로이드 어플리케이션에서 오른쪽 마우스 클릭후 New 선택
  6. Configuration Name 변경
  7. Browse후 Test Project선택
  8. Apply 후 Run 실행

에뮬레이터가 실행되며 Hello World를 표시한 어플리케이션이 실행됩니다.
수고하셨습니다.

(옵션) 서버 이상으로 ADT 플러그인이 설치되지 않을 경우

  1. http://developer.android.com/sdk/eclipse-adt.html
  2. 현재 SDK에 맞는 zip파일 하드디스크에 저장
  3. Help/Softwrae Update/Add Site
  4. Archive
  5. zip 파일 선택후는 위에 설명된 서버에서 설치하는 과정과 동일

(옵션) 이클립스 한글화 시키기

  1. http://www.eclipse.org/babel/downloads.php에서 이클립스 버전별 site주소 확인 (아래는 3.4기준)
  2. Help/Software Update
  3. Available Software
  4. Add Site : http://download.eclipse.org/technology/babel/update-site/galileo 
  5. Pending 표시가 진짜 오래 지속되니 기다리시고. 참을성 있게 기다리시고..
  6. Babel Language Pack in Korean 체크후 인스톨
반응형
AND

VNC 설정에 대해서 너무나 잘 설명되어져 있는 블로그 글
리눅스에서 VNC 설정하다가 포기하려는 찰나.. ㅋ
혜성과 같이 구글에서 검색되는 센스.. ㅋㅋ

  * root 권한의 X를 설정한다.

1. 일단 vncserver를 설치 한다.

  # yum install vnc-server

2. 우리가 건드려야 할 파일은 다음과 같다.

/etc/sysconfig/vncservers
/root/.vnc/xstartup

먼저 첫번째 파일은 수정한다.

#vi /etc/sysconfig/vncservers


다음과 같은 화면을 볼 수 있다.

- 첫번째 VNCSERVERS="1:root" 란 Display 번호를 매기는 것이다.

- 두번째 VNCSERVERARGS[1]="-geometry 1280x800 -nolisten tcp -nohttpd"

설정을 통해 해상도와 연결방식에 대해 설정한다.
3.root 밑에 .vnc 디렉토리를 생성한다
# mkdir ~/.vnc 

4. Password를 정한다.

# vncpasswd

5. X를 띄우자!

윈도우나 리눅스에서 vncserver  에 접속을 하게되면 회색 화면만 볼 수 있다.

이걸로 해서는 결국 ssh접속이나 다를바 없다.(사실 더 불편하다.)

# vi ~/.vnc/xstartup



다음과 같은 화면을 볼 수 있다.

5,6 번째 줄의 주석을 제거하여

unset SESSION_MANAGER

exec /etc/X11/xinit/xinitrc

가 작동하도록 하자.

6. 방화벽 설정
일반적으로 리눅스를 설치하면 방화벽이 설치되어 있다.
vncserver의 경우 5901 포트를 사용하기 때문에 이 포트만 열어 준다면
아무런 문제 없이 원격 접속이 가능하다.

시스템 -> 관리 -> 방화벽
을 실행 시키자.
사용자 삽입 이미지

위와 같은 화면을 볼 수 있다. 왼쪽 사이드 메뉴에서 두번째 그 외의 포트 를 선택, 오른쪽의 추가를 선택한다.
사용자 삽입 이미지

위와 같이 나오는데 사용자 정의 에 체크를 하면 직접 포트 번호를 입력 할 수 있게 된다.
5901 번 포트(vncserver는 기본적으로 5900번 대의 포트를 사용한다. 기본 포트 + 디스 플레이 번호를 포트 번호로 사용하므로 5901 번이 된다.)를 입력하고 확인을 누른 후 아래 그림과 같이 적용을 누르면 포트번호가 허용이 되도록 설정되어 진다.
사용자 삽입 이미지

7. vncserver를 띄운다.

띄우는 방법은 보통 2가지가 있다.

# vncserver :1

# service vncserver start


위에 방식은 1024x768 고정 사이즈로만 나온다.

아래 방식은 설정한 해상도로 나온다.



8. 다음과 같은 화면을 볼 수 있다.~!

vncviewer를 이용하여

IP주소:1 (1은 /etc/sysconfig/vncservers 에서 설정한 Display Number)


위의 화면은 모니터 + 노트북 으로 듀얼로 구성된 상태이다.

반응형
AND
반응형
AND
MPEG-4 AVC/H.264 video codecs list

We publish 3-rd h.264 codecs comparison test.
Also we collect information about current available codecs and there stage. If you have ANY new information about H.264 codecs please replay this message!


LIST of MPEG-4 AVC/H.264 VIDEO CODECS
(Last updated 21 June 2007 - 68 items now!)
----------------------------------------------------------
SOFTWARE CODECS:
---------------------
  1. Ateme H.264/MPEG-4 AVC Codec (Ateme)
    Participant of our codecs tests
    No download on the original site:

    http://www.ateme.com/BB_encoder_pc.php
    See 30 day trial of Nero Digital (with Nero Recode) available from:
    http://www.nerodigital.com/eng/index.html

    ---
  2. Elecard Elecard Mobile Converter v 2.0 with AVC support (Elecard)
    21-day free trial. Have H.264 SDK. Participant of our codecs test.
    http://elecard.com/products/products...deo-converter/
    ---
  3. Mainconcept H.264 (MainConcept AG)
    Trial available on download page. Participant of our codecs tests.
    http://www.mainconcept.com/site/?id=4786
    Use Elecard Encoder H.264 from March 2005.
    ---
  4. QuickTime 7 H.264 (Apple Computer, Inc.)
    Integrated. Participant of our test-2006.
    http://www.apple.com/quicktime/technologies/h264/
    ---
  5. Intel IPP H.264 codec (Intel Corporation)
    Higher quality codecs are promised in v6.0. Participant of our test-2006.
    http://www.intel.com/cd/software/pro.../ipp/index.htm
    ---
  6. VSS H.264 Video Codec (Vanguard Software Solutions, Inc.)
    No download now. Participant of our codecs tests.
    http://www.vsofts.com/h264/
    ---
  7. Sorenson AVC Pro (part of Sorenson Squeeze 4) (Sorenson Media, Inc.)
    No download. Converter. Participant of our codecs test.
    http://www.sorensonmedia.com/pages/?pageID=2
    ---
  8. SONY Video Editor Vegas 6c with AVC support (Sony Corp.)
    30-days evaluation.
    http://www.sonymediasoftware.com/pro...ct.asp?PID=965
    ---
  9. FastVDO H.264 (FastVDO LLC)
    Demo has decode time limit of 5 min.
    http://www.fastvdo.com/H.264.html
    ---
  10. LEAD H.264 Video codec (LEAD Technologies)
    Only demo, but you can buy codec online (100$). Who test it? They did not answer to our testing invitations!
    http://www.leadcodecs.com/Codecs/LEAD-H264.htm
    ---
  11. PowerEncoder MPEG-4 AVC (CyberLink Corp.)
    Available in online shop. Who test it? They did not replay to invitations to test.
    http://www.cyberlink.com/multi/produ...in_43_ENU.html
    ---
  12. AMD ATI Avivo H.264 (ATI Technologies Inc. - now part of Advanced Micro Devices Inc.)
    No download. Software only +HW support. VERY fast codec by our tests.
    Nero 7 Ultra Edition begun to use ATI HW support.
    http://ati.amd.com/technology/avivo/h264.html
    ---
  13. Mpegable AVC Codec (dicas digital image coding GmbH)
    No download, Encoder/decoder is a part of 'mpegable DS'
    http://www.mpegable.com/mpegableDSsuite
    ---
  14. Expert H.264 (PixelTools Corporation)
    Download on request
    http://www.pixeltools.com/experth264.html
    ---
  15. MPEG-2/HDV/H.264 software (KDDI R&D Labs. Inc.)
    No download. H.264 HP support
    http://avs.kddilabs.jp/en/mpeg/mpfs/41/index.html
    ---
  16. MiraVid Inc. H.264 decoder (MiraVid Inc.)
    Decodec only, demo only available for OEM companies
    http://www.miravid.com/product_avcDec.html
    ---
  17. bSoft ltd MPEG-X/H.26X Encoder and Decoder (bSoft ltd.)
    Demo available on request.
    http://www.bsoft.info/products/video.html
    ---
  18. Fraunhofer IIS H.264 Codec (Fraunhofer IIS)
    No download. Participant of our tests.
    http://www.iis.fraunhofer.de/fhg/iis...ideo/index.jsp
    ---
  19. Scientific Atlanta - UBLive-264-C64 (Scientific Atlanta (was UB Video Incorporated))
    Demo available on request.
    http://www.scientificatlanta.com/pro...rs/UBvideo.htm
    ---
  20. Roxio Popcorn with AVC encoder (Sonic Solutions)
    No trial. Online shop (50$).
    http://www.roxio.com/enu/products/po.../features.html
    ---
  21. NEX VISION H.264 (NEX VISION)
    No download.
    http://www.nexvision.fr/html/products.htm
    ---
  22. Video Labs H.264/AVC (Video Laboratories Ltd was Imagicity, UK)
    No download. Speed optimization claimed.
    http://www.vid-labs.com/products/products.htm
    ---
  23. SPIRIT H.264 Video Codec (SPIRIT)
    No download. x86 & ARM9E platforms
    http://www.spiritdsp.com/products/co...o_codecs/h264/
    ---
  24. CoreAVC H.264 Video Codec (CoreCodec, Inc.)
    HP H.264. DirectX filter. 10$ & 20$ versions download available
    http://www.coreavc.com/
    ---
  25. CINEMA CRAFT HD encoder (Omni Communications.)
    Demo on request.
    http://www.omnidvdmedia.com/products...crafthde.shtml
    ---

    ----------------------------------------------------------
    OPEN SOURCE:
    ---------------------
  26. x264 HP encoder (free, supported by VideoLAN)
    OPEN SOURCE. We recommend this encoder. Developers declare "early development stage", but encode results are one of the best.
    http://developers.videolan.org/x264.html
    http://x264.nl/ (unofficial)
    ---
  27. JM 9.6 reference H.264 encodec (free, supported by Joint Video Team ISO&ITU-T)
    OPEN SOURCE. Can be used only for comatibility tests and research.
    http://bs.hhi.de/~suehring/tml/
    ---
  28. libavcodec H.264 Decoder (Project FFMPEG)
    OPEN SOURCE. Permanently updated decoder.
    http://ffmpeg.mplayerhq.hu/
    ---
  29. Minimal H.264 decoder (by Martin Fiedler)
    OPEN SOURCE. Basic decoder.
    http://keyj.s2000.ws/?page_id=41
    ---
  30. Hdot264 Pre-Alpha (Project Hdot264)
    OPEN SOURCE. Non active.
    http://sourceforge.net/projects/hdot264/
    ---
  31. t264 (Project t264)
    OPEN SOURCE. Non active.
    http://sourceforge.net/projects/t264
    ---

    See also Software Developments Kits for software codec usage:
    ---
    1. Elecard AVC&MPEG2 Encoder SDK (Elecard)
      H.264 Video Encoder and Decoders within the DirectShow SDK.
      http://www.elecard.com/products/encoder_sdk.shtml
    2. MainConcept H.264 SDK (MainConcept AG)
      Windows, Apple, Linux and TI DSP supported.
      http://www.mainconcept.com/site/?id=4786
    3. LEADTOOLS Multimedia Developer SDKs (LEAD Technologies, Inc)
      Support for many-many formats, including H.264 http://www.leadtools.com/SDK/Multime...Products-n.htm
    4. MPEG SDK "MP-Factory" (KDDI R&D Labs. Inc.)
      SDK with H.264, HDV, MPEG-1,-2, and -4 support
      http://avs.kddilabs.jp/mpeg/mpfs32/indexe.html

    ----------------------------------------------------------
    HARDWARE IMPLEMENTED:
    ---------------------
  32. Sony PlayStation Portable (Sony Computer Entertainment Inc.)
    Product: Support H.264/MPEG-4 AVC Main Profile Level3 decoding.
    http://www.us.playstation.com/PSP/System
    Try also "Sony Image Converter 2 Plus" with AVC support.
    ---
  33. VSX 300 Videoconferencing Terminal with H.264 support (Polycom Inc)
    Product: Biggest HW videoconferencing company, prepare many solutions with 264 support
    http://www.polycom.com/products_serv...5-6197,00.html
    ---
  34. Tandberg EN5930 SD/EN5990 HD Encoders (Tandberg Television)
    Product: Television SD & HD encoders.
    http://www.tandbergtv.com/products/products.asp?range=3
    ---
  35. Tandberg Telecom - video communication (Tandberg Telecom)
    Product for videoconferencing, supports H.264 baseline profile.
    http://www.tandberg.net/our_story/h264.jsp
    ---
  36. 4Caster MPEG-4 / H.264 Encoder (Envivio, Inc.)
    Product: Hardware box encoder
    http://www.envivio.com/solutions/ipt...television.php
    http://www.envivio.com/products/bshd...0_software.php (software, no download)
    ---
  37. Tut Systems MPEG-4 AVC (Tut Systems, Inc.)
    Product: Hardware transcoder box.
    http://www.tutsys.com/digitalheadend...iacp/mpeg4avc/
    ---
  38. Hardware MGW 5100 (Optibase, Inc.)
    Product: Hardware box encoder
    http://www.optibase.com/Content.aspx?id=38
    ---
  39. Harmonic DiviComR MV 100 Encoder (Harmonic Inc. )
    Product: Several hardware SD and HD Broadcast AVC encoders
    http://www.harmonicinc.com/view_csd_...m?classID=1010
    ---
  40. E42 - H264 DVB over IP Broadcast Encoder (StreamTel Corporation)
    Product: Hardware box encoder. Broadcast-Grade real time H264 DVB IP streaming encoder
    http://www.streamtel.com/streamtel/p...st_Encoder.htm
    ---
  41. Darim MV401EXP-H264 Encoder and MV410EXP Decoder (Darim Vision Co., Ltd.)
    Product: Hardware box Encoding/Streaming systems
    http://www.darimmedia.com/products/mv401exp-h264.php
    ---
  42. Mayah I [io] 8000 series (MAYAH Communications)
    Product: Hardware box. Plan AVC availability in Q3 '05.
    http://www.mayah.com/products/io-8000a.htm
    ---
  43. Thales ARGOS MPEG-4 Encoder (Thales Broadcast & Multimedia, Inc.)
    Product: Hardware box. Plan AVC from July 05.
    http://www-db.thomcastcom.ext.coltfr..._ID=1&P_ID=221
    ---
  44. TI TMS320DM64x DSP ( Texas Instruments Incorporated)
    Chip: SD BP encoder+decoder, MP decoder
    http://focus.ti.com/dsp/docs/dspspla...contentId=1573
    ---
  45. ViBE MPEG-4 AVC (Thomson)
    Chip: modular hardware series of encoders
    http://www.thomsongrassvalley.com/pr...encoder_mpeg4/
    ---
  46. Broadcom chips (Broadcom Corp. former Sandvideo)
    Chip with H.264 HD / decoding only
    http://websearch.broadcom.com/query.html?qt=AVC
    ---
  47. Sentivision H.264/AVC Decoders (Sentivision, Japan)
    Chip/products with H.264 HD / decoding only / only for TI DSP's
    http://www.sentivision.com/
    ---
  48. SD MPEG-2/AVC encoder (Scientific Atlanta now part of Cisco)
    Product: Transmission system (for satellite TV)
    http://www.saeurope.com/products/customerhome.htm
    ---
  49. LSI H.264 VLE4000 (LSI Logic Corp. former: VideoLocus)
    Chips with 264 support
    http://www.lsi.com/consumer_home/pro...der/index.html
    Domino[X] transcoding technology:
    http://www.lsi.com/insight_center/te...dia/index.html
    ---
  50. Modulus Video SDTV, HDTV Encoder (Modulus Video, Inc.)
    Chips. Declarations only now. License H.264 from LSI Logic.
    http://modulusvideo.com/main.php?Page=12
    ---
  51. BSP 15 (System-on-chip) (Pixelworks Inc - was Equator Technologies, Inc.)
    Chips. No info about Equator H.264 on site now.
    ---
  52. Surveillance Real Time H.264 Encoders (DSP Research, Inc.)
    Several chips implementation.
    http://www.dspr.com/www/products/overview_video.htm
    http://www.dspr.com/www/support/down...o_download.htm
    ---
  53. VP3-PMC / Hardware TwinPEG Pro (Vitec Multimedia)
    Chips. TMS320DM642TMDSP & etc
    http://www.vitecmm.com/product.php?id=41
    ---
  54. WWComs H.264 Codecs (W&W Communications Inc.)
    Several chips implementation (TI DM64x, C64xx, Freescale DSPs).
    http://www.wwcoms.com/products/h264_codec.htm
    http://www.wwcoms.com/products/codec/bc264.htm
    ---
  55. CX2418x H.264 Video Decoder IC (Conexant Systems, Inc.)
    HW Decoder with Main & High Profile (on CX24182)
    http://www.conexant.com/products/entry.jsp?id=109
    ---
  56. Sigma Designs HD decoder (Sigma Designs, Inc.)
    HW HD Decoder based on SMP8630 family
    http://www.sigmadesigns.com/public/P...30_series.html
    ---
  57. Cradle Technologies H.264 (Cradle Technologies, Inc.)
    HW Main profile Encoder based on CT3600 MDSP family
    http://www.cradle.com/products/asw_ct3600_h264.shtml
    ---
  58. STMicroelectronics H.264 (STMicroelectronics)
    HW HD High Profile decoder
    http://www.st.com/stonline/stappl/pr...2006/t2052.htm
    ---
  59. PacketVideo H.264 (PacketVideo Corp.)
    HW Base Profile encoder/decoder on ARM/OMAP/DM642
    http://www.packetvideo.com/page.asp?prmid=16
    ---
  60. Softstream H.264/MPEG-4 (Media Excel Inc.)
    SD H.264 MP Level 3 HW
    http://www.mediaexcel.com/ss_hera_3000.php
    ---
  61. H.264 Engine for Mobile Devices (ASTRI - Applied Science and Technology Research Institute Company Limited)
    http://www.astri.org/en/ic_mtm01_apv.php
    ---
  62. CEVA Mobile-Media2000 (CEVA, Inc.)
    Chip,Base Profile encoder/decoder
    http://www.ceva-dsp.com/products/pla...bile-media.php
    ---
  63. Micronas DeCypher 8100 (Micronas)
    Chip,decoder with support for H.264/AVC
    http://www.micronasusa.com/products/...ons/index.html
    ---
  64. Allegro H.264 encoder and ranscoder (Allegro, France)
    Chip& IP cores for mobile TV and IPTV
    http://www.allegrodvt.com/encoding.html
    ---
  65. Mobilygen's H.264 Chipset (Mobilygen Corp.)
    Baseline encoder and decoder chip
    http://mobilygen.com/products.htm
    ---
  66. 4i2i's H.264 encoder and decoder IP cores (4i2i Communications Ltd.)
    H.264 BP encoder, MP&HP decoder
    http://www.4i2i.com/h264highbroadcastipcore.htm
    ---
  67. Hughes Network Systems H.264 (Hughes Network Systems, LLC)
    Now only press-release with Envivio on site
    http://www.envivio.com/news/press_release.php?id=53
    ---
  68. Telairity BE8000 1-RU HD H.264 Encoder (Telairity Inc)
    Now only few words on site
    http://www.telairity.com/solutions.html
    ---

If you know any more information about H.264 codecs, please add information to Compression-links.info H.264 page.
__________________
With regards
Dmitriy Vatolin
www.compression.ru/video/ (Last updates: MSU Video Quality Metric 1.51 and "Fourth Annual H.264 video codecs comparison"!)
Senior editor of Compression-links.info

Last edited by DmitriyV2; 21st June 2007 at 13:44. Reason: Update!
반응형
AND
3일반 본단식 일정을 마치고 월요일 출근에 맞춰 후단식을 진행했다. 지난번 단식부터 미음/죽등을 과감히 저작(씹는) 횟수로 수정하여 따로이 미음/죽을 만들 필요 없다. 출근하자니 그럴 상황도 아니다. 또 미음과 죽보다 씹어서 비슷한 효과를 낼수 있다면 소화액의 분비면에서 볼때 훨씬 낫다고 한다. 출근의 압박 때문에 선택한 방법이지만 크게 무리가 따르지 않는다. 랩에 필요한 밥덩이(거의 새 모이 수준이지만)를 싸서 들고 오면 되니 별로 귀찮거나 하지도 않다.

오늘이 그 마지막 날이다. 오늘은 큼지막(?)한 도시락을 가져 왔다. 양배추 당근 알로에 다시마 등을 담아 그래도 진수성찬에 식사를 했다. 아침 부터 마그밀을 복용하지 않았는데 장의 활동이 원활하게 되려면 식이섬유가 필요할 것 같아 야채를 먹기로 한 것이다. 지난번 단식때도 별 문제가 없었고 이젠 다른 화학적인 도움없이 가능할 것같다.

본단식 마지막 날에 돋은 지루성 피부염 증상이 이젠 거의 가라 앉았다. 그렇다고 피부염 자체가 없어진것 같지는 않다. 원래 피부염이 있었던 터라 이번엔 다잡아 볼 요량으로 후단식 이틀째 부터 알로에 베라를 사다가 맛사지를 하고 있다. 지루성 두피/피부염이 심한 편인데 피부 발진에 동료들이 무척 걱정을 했었다. 알로에로 이틀정도 열을 누르니 알견 깨끗해 보인나 밝은 불빛에서 보면 피부에 붉은 기운이 가득하다. 알로에 맛사지를 좀 오래 해 볼 생각이다. 지금의 효과는 단기적으로 열을 내리는 정도라고 판단되는데 근복적으로 해결이 가능한지는 모르겠다. 간에 열이 많다는 이야기를 많이 듣기에 먹고 바르고를 계속해볼 생각이다.

그동안 단식 끝나면 뭐를 먹을까 아에 목록을 작성해 뒀는데 지금에 와선 별로 땡기질 않는다. 사람의 간사함이란...

반응형
AND

ARCHIVE

CALENDAR

«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

RECENT TRACKBACK

RECENT COMMENT

RECENT ARTICLE

ARTICLE CATEGORY

분류 전체보기 (175)
가족일기 (3)
낙서장 (39)
밥벌이 (30)
추억 (6)
사회 (27)
혼자만의 방 (2)
생태 (4)
눈여겨 보는 곳 (1)
어머니 일기 (38)
윤선애 (1)
생활 단식 (11)
동거동락 자전거 (2)
반응형