- Ϻθ ڵ ϱ

 

ffmpeg -i Schtraus.pcm -ss 00:00:15 -f mp3 -t 00:00:30 test.mp3

 

- ffmpeg Format

ffmpeg -formats

 

- 1920x1080 30 fps о mpeg2video (Bitrate 19M)

 

ffmpeg -f rawvideo -s 1920x1080 -r 30 -i MW105H_YV12_990frames.yuv -r 30 -s 1920x1080 -f mpeg2video -b 19000 test_video.ps

 

 

ffmpeg

ffmpeg -f mpeg2video -i test_video.ps -i test.mp3 -f avi -vcodec copy -acodec copy test_full_HD.avi

 

ffmpeg YUV->mpeg2TS

ffmpeg -f rawvideo -s 1920x1080 -r 30 -i MW105H_YV12_990frames.yuv -r 30 -s 1920x1080 -i test.mp3 -b 19000 -acodec copy test_video.ts

-f

 

 

 

Mplayer MOV->YUV (YUV4mpeg) (H264 -> YUV4mpeg)

Mplayer -rawvideo w=1920 h=1080 -i AAA.mov (output file stream.yuv)

Mplayer -rawvideo w=1280 h=720 -i AAA.mov (output file stream.yuv)

 

Mplayer YUV(YUV4mpeg) -> YUV (YV12 : YVU)

Mplayer -dumpvideo stream.yuv (output file : test.stream -> ex) test_video.yuv)

 

Mplayer MOV->AAC

Mplayer -dumpaudio AAA.mov (output file : test.stream)

 

ffmpeg YUV+AAC -> MPEG-2 TS (1080P)

ffmpeg -f rawvideo -s 1920x1080 -r 24 -i test_video.yuv -i test.mp3 -b 19000 -acodec copy test_video.ts

 

ffmpeg YUV+AAC -> MPEG-2 TS (720P)

ffmpeg -f rawvideo -s 1280x720 -r 24 -i test_video.yuv -i test.mp3 -b 9500 -acodec copy test_video.ts

 

 

 

 

MOV YUV4MPEG ̱

./mplayer -vo yuv4mpeg -ao null -rawvideo w=1280 h=720 /home/jinwuk/Work/Test_work/basic_instinct_2_h720p.mov

 

ffmpeg -s 1280x688 -i B_I_YV12.yuv -padtop 16 -padbottom 16 -t 00:00:7 B_I_1280x720.yuv

 

Padding

ffmpeg -s 1280x544 -r 23.97 -i happy_feet_h720p_1729f.yuv -padtop 88 -padbottom 88 happy_feet_h720p_1729F.yuv

 

 

´ ̱

./mplayer -vo null -fps 23.976 -af resample=48000 -ao pcm:file=test_B_I.wav /home/jinwuk/Work/Test_work/basic_instinct_2_h720p.mov

 

 

ffmpeg -i test_B_I_48KHz.wav -ar 48000 -ac 2 -ab 192 -f mp3 test_B_I_48KHz.mp3

-

´ ȭ

ffmpeg -r 23.976 -f h264 -i basic_instinct_2_h720p_3338f_202222_1SL.264 -r 23.976 -f mp3 -i test_B_I_48KHz.mp3 -vcodec copy -acodec copy -r 23.976 -f avi basic_instinct_2_h720p_3338f_202222_1SL.avi

 

 

ffmpeg makeϱ xine makeѴ. (xine-lib)-i ri

dts.h 򸰴.

 

¿ ffmpeg make Ѵ.

./configure --enable-gpl --enable-pp --enable-faac --enable-faad --enable-dts --enable-xvid --enable-vorbis --enable-libogg --enable-mp3lame --enable-faadbin

 

MPEG4IP

./configure --enable-server --enable-player --enable-ffmpeg=/home/jinwuk/Program_Files/ffmpeg

 

Makefile 133 line

FFMPEG_INC = -I/home/jinwuk/Program_Files/ffmpeg/libavcodec

־ Ͻ ߻

ش.

 

FFMPEG_INC = -I/home/jinwuk/Program_Files/ffmpeg/libavcodec

FFMPEG_INC += -I/home/jinwuk/Program_Files/ffmpeg/libavformat

FFMPEG_INC += -I/home/jinwuk/Program_Files/ffmpeg/libavutil

 

Google

mpeg2 TS container

 

Intel Commnad Line

Prompt>nmake -f your_project.mak CPP=icl.exe LINK32=xilink.exe

D:\WORK-2006\Encoder\H264_Work\20060327>nmake /f "lencod.mak" CFG="lencod - Win32 Release" CPP=icl.exe LINK32=xilink.exe

 

 

Resize % MSmpeg4 AVI

ffmpeg -s 1280x720 -r 23.97 -i stream.yuv -vcodec msmpeg4 -f avi -s 320x180 -r 23.97 -b 1000 -ss 00:01:00 -t 00:00:09 happy_small.avi

 

ffmpeg configurat

[root@ecprt2 ffmpeg]# ./configure --enable-gpl --enable-pp --enable-faac --enable-dts

 

 

 

VLC 0.8.4a ffmpeg ffmpeg-20051126 ̴.

ffmpeg ֽ CVS ġ VLC ȵǸ ffmpeg ġϿ ؾ Ѵ.

̶ Configure ɼ .

[root@ecprt2 vlc-0.8.4a]# ./configure --with-ffmpeg-tree=/home/jinwuk/Program_Files/Miscellious_program/ffmpeg-20051126

 

̰ Local ffmpeg static library compile̹Ƿ Ͽ Ѵ

 

 

ȭ ȭ

Mplayer, ffmpeg ߻ ִ.

 

Mplayer ֽ

ffmpeg ȭ ϴ .

encoder.cfg frame rate Ȯ ־ Ѵ.

ڴ H.264 ׿ ȭ Ѵ.

 

ѹ ̱ (chapter 3)

mplayer -vo yuv4mpeg -rawvideo w=720 -rawvideo h=480 -af resample=48000 -af volume=15 -ao pcm:file=kaeda_t02.wav dvd://1 -chapter 3-3

 

AVI ȯ ȯ

ffmpeg -i HD_H264_0001_480SD.avi -i HD_H264_0001_480SD.wav -map 0.0:0.0 -map 1.0:0.1 -vcodec copy -f avi HD_H264_0001_480SD_L.avi

 

 

MP4Creator

mp4creator -rate=29.970 -create=Kaeda_1.264 Kaeda_1.mp4 (First Video)

mp4creator -create=Kaeda_1.mp3 Kaeda_1.mp4 (Second Audio)

 

MP4Box -hint -mtu 1024 -fps %1 -add %2 %2.mp4

 

-create

 

"The reason why sometimes vlc doesn't work is that when muxing to TS it expects to find AVC in bytestream format (NALS prefixed by 0x000001 as mpeg1/2/4), that for is never the case when the original stream is contained in mp4/mov and sometimes in avi (when the fourcc is avcc). In cases like those AVC is in raw NAL format, that unfortunately can only be muxed in SL substreams when inserted in TS (that vlc doesn't even read)."

 

 

h264 PSM (type 0x1b?)

 

./configure --disable-mencoder --disable-x264 --disable-mad --disable-faac --with-livelibdir=/home/jinwuk/Program_Files/live/ > configure_result.txt

 

JPEG ̱

mplayer -vo jpeg:outdir=./figure -fps 30 cv_st.264

 

[no]progressive Specify standard or progressive JPEG. [no]baseline Specify use of baseline or not. optimize=<value> Optimization factor [0-100] smooth=<value> Smooth factor [0-100] quality=<value> Quality factor [0-100] outdir=<value>

mplayer H.264 debugger ϱ

mplayer -vo jpeg:outdir=./figure -lavdopts debug=0x4000:vismv=3:gray -fps 30 pr_rb.264

 

Windows Telnet

-> Telnet

->ǻͰ-> Telnet ׷ Administrator Ȥ TelnetClient

 

Deinterlace &

mpalyer -vo yuv4mpeg -vf pp=fd -ss 33:00 mpeg.ts

ffmpeg Deinterlaced filter ٸ man page

 

VISIO EPS AI format check Level 3.0 recommend

 

 

AAC ڵ

faac -X -P -b 218 -C 2 -R 48000 -o take_the_lead_h720p.aac take_the_lead_h720p.wav

 

bitrate 192kbps ̾ ϳ ⿡ 26kbps ؾ Ѵ.

 

Paypal pw: sj1612!1

Rapid_share : pw 1612sofm

http://rapidshare.de/files/13413024/dmode_attackk_III_02.zip.html1612

 

login

1845018

pw

453751

 

 

Account arrived! Please write it down!

Login: 102692

Password: 750851

Valid until: Thu, 30. Nov 2006

 

PWs

dMOdEţͣףڣ and ߵ

VOID-SHARE_ON_MWZG_ONLY

 

 

 

winavi

http://www.winavi.com/video-converter.htm

 

./mono -f 1080i60 -asp 16 9 -o component_yuv_m2 http://129.254.189.204/take_the_lead_h720p_right_mp3_byela.ts

 

 

Mplayer ɼ

./configure --enable-live --with-livelibdir=/home/jinwuk/Program_Files/live --disable-mencoder --disable-mad --disable-faac

 

 

MP4Creator : / hinted mp4 ȭ

mp4creator -hint -rate 23.97 -create=take_the_lead_h720p_f3553_qp202022_ffrf0.264 -create=take_the_lead_h720p.mp3 take_the_lead_h720p_mp4cr.mp4

 

 

Darwin Server hinted mp4 Դ´. ƿ﷯ mp4creator ͸

Mplayer RTP Payload Ÿ ʾ ȵȴ. Live555 ؾ

RFP3984 Type RTP Payload H.264

VLC mp4 RTP Payload Type ˾ƺ.

 

 

Intel Compiler SDK

1. Platform SDK 2003 SP 1 ϴ.

2. Typical ġؾ߸ Ѵ.

3. DirectSDK 9.0 ġؾ Ѵ, c:\dxsdk

4. Intel Compiler ġ OPtion ȯ溯 ڵ  ϸ ϴ.

5. Intel Compiler Platform SDK ġǾ ڵ θ νѴ. ( õǾ ִ. õǾ bin\icl.cfg ִ.)

6. Intel Compiler Link Ǹ Link Option (LINK32_FLAGS= ) ϸ ȴ. /machine:AMD64 AMD64 Pass ǹ

7. SDK Ͽ ٸ ÷ (windows server 2003 EM64T 64bit OS ҿ .) Application ִ.

8. SDK VC Ϸ ƾ Ѵ.

9. icl \help > icl_help.txt Ϸ ɼ ִ. .

10. Ϸ ̼ C:\Program Files\Common ִ.

 

VLCϿ ffmpeg ణ ʿϴ

̸ Ͽ ffmpeg ι ؾ Ѵ. Ź/

VLC Ư pre ϸ svn ȵȴ.

 

LAME mp3 encoder Option

lame -s 48 -b 192 FileTest4.wav FileTest4.mp3

 

Deinterlace Option

Mplayer :

-vop lavcdeint

-vf pp=fd/ffmpegdeint

 

 

Ffmpeg YUV

: ý Ѵٴ mplayer ϴ.

 

ffmpeg I data.mpg deinterlace ss start_time(sec) t duration_time(sec) f yuv4mpegpipe stream.yuv

 

ffmpeg s 1920x1080 r 29.97 I stream.yuv s 1920x1080 r 29.97 I420data.yuv

 

mplayer wave ̱

mplayer vc null vo null af resample=48000 -ao pcm:file=aaa.wav aaa.mp3

 

ffmpeg mp3

ffmpeg i data.wav ar 48000 ab 192 ac 2 f mp3 data.wav

 

 

Value STB

- 1080P30 1080P60 ι TV ѷ ȭ δ.

- ڵ  ߸ ȴ. 16:9 3% ߸ ߻Ѵ.

- 1080P30 –f edid ϶ 1080P 720P νϴ ִ. ̰ HDMI ʱ ߸ ߻ϴ μ GLOBALSET.ini

-f edid -> -f HDMI_1080p60

-asp 16 9 –asp 0 0 ٲٸ 1080P ذȴ.

ѹ 1080P ߾ ڵ 1080P ߾.

 

 

 

-TS Muxer Bug report

Bug code

void inherit_au(au_t *parent, au_t *child)

{

memcpy(child->sps + 0, parent->sps + __max(parent->no_sps - 1, 0), sizeof(sps_t));

memcpy(child->pps + 0, parent->sps + __max(parent->no_pps - 1, 0), sizeof(pps_t));

}

 

Right code

void inherit_au(au_t *parent, au_t *child)

{

memcpy(child->sps + 0, parent->sps + __max(parent->no_sps - 1, 0), sizeof(sps_t));

memcpy(child->pps + 0, parent->pps + __max(parent->no_pps - 1, 0), sizeof(pps_t));

}

 

VC++ 6.0 ASM ϴ

1. Project Ͽ ϴ ASM ִ´.

2. Project ASM Project Setting (Ȥ Setting) Project Setting Ѵ.

3. Custom Build Ͽ Ѵ.

 

Commands

Description

Assembling $(InputPath)

 

Release :

nasm -f win32 -DPREFIX -I"$(InputDir)"\ -o $(IntDir)\$(InputName).obj $(InputPath)

 

Debug :

nasm -f win32 -DPREFIX -I"$(InputDir)"\ -o $(IntDir)\$(InputName).obj $(InputPath)

 

Output :

$(IntDir)\$(InputName).obj

 

Installation of a new version of ffmpeg for windows

http://ffmpeg.mplayerhq.hu/documentation.html

download the new version of ffmpeg from the above site

http://sourceware.org/pthreads-win32/

download the pthreadGC2.dll from the above site.

Copy the ffmpeg and pthreadGC2.dll to a particular folder.

 

 

Mplayer

To show the parameters of decoding process,

Edit ./mplayer/config as quite=yes to #quite=yes

 

 

PRN->EPS

Adobe Postscript Printer

Eps Ϸ

 

%%BoundingBox: 0 0 510 390 κ ( ϴ , ǥ)

 

/mysetup [ 72 600 V 0 0 -72 600 V 0.0 583.00128 ] def 3° κ Ͽ

 

Paypal seokjeff@hitel.co.kr

Newpaypal passwd : 1612sofm

 

RapidShare

Login: 1393322

 

Password: 830587517

Valid until: Sun, 9. Sep 2007

 

 

PTS/DTS/PCR

 

PTS/DTS

PTS DTS ּ 1 ڿ Ÿ Ѵ.

Time_scale : 29.97 ̸ 30000 (frame_rate x 1000)

Num_unit_in_tick : time_scale/frame_rate = 30000/29.97=1001

 

PCR

 

 

 

 

 

Ffmpeg fixel format

-pix_fmt yuv420, yuv422 ִ.

 

yuv420p, yuv422p, yuv444p, yuv411p, gray

Bgr24 raw Ͱ Ǿ ִ ϴ. Yuv4pegpipe ʾƵ ȴ.

 

 

VC2005 ڵ Application

0xc050001 error ߻ Microsift.VC80.CRT_XXXXXX.maniesto

Windows\WinSxS ã´.

ش 丮 Manifest, Profiles 丮 ϵ WinSxS 丮 īϿ

Windows\WinSxS ؿ īϸ ذȴ.

 

ش 丮 Visual C++ 2005 , VC8.0 ڵ/ ڵ ִ system file μ ش Microsift.VC80.CRT_XXXXXX.maniesto Ͽ MSVCR80.dll, MSVCP80.DLL, MSVCM80.dll Application ִ Ű Ѵ.

 

 

Conversion of 5.1 channel audio to 2 channel audio

There is no way without using mplayer

 

mplayer -vo null -noframedrop -ao pcm:file=HitachHD.wav -af channels=2 HitachHD_P10.avi

(HitachHD.wav inludes a PCM audio with 5.1 channel)

 

 

Registry Booster Serial Number

RB-0HRX57-NWYFR1-30KG32-VKY3WQ-X2X907

 

SpeedUpMyPC3

SP-00Y7MH-M5TY2T-3T6WVX-6MN88H

 

DVD Play

mplayer -vo yuv4mpeg -rawvideo w=720 -rawvideo h=480 -af channels=2 -afvolume=15 -ao pcm:file=aaa.wav -dvd-device e: dvd://1_1

 

 

 

mencoder -dvd-device e: dvd://1_1 -ovc copy -oac copy -o dvd_me.avi

 

 

Visual C++ 2005 LoadLibrary DLL ʴ

if ((m_hdll = LoadLibrary("TSMux_DLL.dll")) == NULL)

{

printf("LoadLibrary(TSMux_DLL.dll) Error");

exit(0);

}

 

Project Properties

General -> Character Set

Use Unicode Character Set

Use Multi-Byte Character Set ٲپ ش. ׷ Ư Ȥ Ϲ ڵ νĵ

 

 

DLL ִ Լ νĵ ʴ

CPP DLLDLL Լ ̸ ȣȭ Ǿ ´.

Visual C++ Tool Dumpbin Ͽ

(dumpbin Visual C++ ִ Commandline â Ͽ߸ ų ִ.)

 

Dumpbin /export aaa.dll

 

ȣȭ Լ GetProcAddress ָ ȴ.

 

ϴ ̴.

 

CPP ߻ ̹Ƿ CPP c ش.

#define DLL_DECL __declspec(dllexport)

 

extern "C" DLL_DECL void TS_Initial_process (H264VideoParameter *h264param, pes_t *audio_pes, long *read_size, ETRIFile *v_src, ETRIFile *a_src, ATYPE atype);

 

 

 

c:\document and Settings\User\Local Settings\Temp\Temporary Internet Files .,..

 

 

TSMux dll Ϸ LIBMMD.DLL Բ ī ־ Ѵ. ( Ϸ ִ ī ־ Ѵ.)

 

 

TSMux VC 6.0 Ͻ ߻ϸ

TSMux_EXE pchi ߻ϹǷ.

1.     rebuild all Ѵ.

2.     sys/stat.h ߻ϸ TSMux_EXE pchi Build TSMux_EXE (F7) Ѵ.

3.     ӵǸ ٽ 2 ݺѴ. ɶ

 

VC6.0 __int64 printf ɼ %I64d ϸ ȴ.

%9I64d

  s

* Pre-Proessing Bit-rate

- ȭ ϴ.

- ſ κ ȭ鿡 Ÿ.

 

HD_Unee_Processed

720x480

5852 frames

3,032,807,660 Bytes

1 :

Resize

Internal Deinterlaced

Smart Deblocking

Color Space : IYUV

5514.3 Kbps : 22, 20, 20

Wrong Test !!

 

2:

Internal Deinterlaced

Smart Deblocking

Resize

7482.9 Kbps

3:

Deinterlaced MAP (Default)

Smart Deblocking

Resize

8766.2 Kbps

4:

Smart Deblocking

Resize

8195.2Kbps

 

5:

Internal Deinterlaced

Resize

7721.5Kbps

 

6:

Deinterlaced MAP (Default)

Resize

9036Kbps

Internal Deinterlacing Smart De-interlacing ̴.

 

7.

Resize (BiCubic A=0.75)

9175Kbps

 

 

Virtual-Dub Application Error 0xc0150002 ߻

Microsoft.VC80.DebugCRT ϵ windows/winSxS ̴.

ְ ٽ ָ ȴ.

 

ش α׷ Windows/WinSxS ƿ windows update VS2005SP1 1 ޾ .

׷ ȵǸ..

 

Virtual-Dub

1. ü Rebuild

2. Riza build

3. Virtual-dub Rebuild

4. Aska build

 

 Linux

split -b 10000000K test.ts

->xa , xb, ....

 

cat xa? > test.ts

 

Intel Compiler 10.0 ̻󿡼 E264_VFW ʴ

Intel Compiler DLL Լ Export __declspec(dllexport) ٿ ־߸ Ѵ.

DriveProc.def Լ 2 ,

DriverProc

Configure

export Ǿ Ѵ. ׷ Ǿ ־, Link ߻ߴ.

 

LRESULT WINAPI DriverProc( DWORD dwDriverId, HDRVR hDriver, UINT uMsg, LPARAM lParam1, LPARAM lParam2 )

 

ٲְ Ŭ ƴ Ʈ Ŭ ,  rebuild Ѵ.

LRESULT __declspec(dllexport) WINAPI DriverProc( DWORD dwDriverId, HDRVR hDriver, UINT uMsg, LPARAM lParam1, LPARAM lParam2 )

 

 

ϴ ܼ ɾ fc foo.exe foo2.exe  

 fc /b foo.exe foo2.exe > out.txt

 

MPEG-2 Ʈ ڵ

- ֽ ffmpeg, ffdshow ߻

- 2007 2 .

- ffmpeg MPEG2 PES ٲپ ϸ "vob" ̴.

- , ffmpeg 2007 2 , ּ 7 Ͽ ߻ ʴ´.

- ffmpeg 2007 2 vob ٲ , virtual-dub for MPEG-2 1.6.2 Ͽ ڵ Ѵ.

- virtual-dub ֽ vob ν Ѵ.

 

 

Vdub  

vdub /s .\200809\test_001.vcf /capture /capfile test_001.avi /capstart

VirtualDub CLI Video Processor Version 1.8.1 (build 29879/release) for 80x86

Copyright (C) Avery Lee 1998-2008. Licensed under GNU General Public License

Connected to capture device: Logitech QuickCam Pro 5000 (DirectShow)

Starting capture to: test_001.avi

Attempting to abort, please wait....

Capture was completed successfully.

 

VC2008 ϵ α׷

 C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT ο ִ ؼ (exe)Ͽ ־θ ſ ^^

Microsoft.VC90.CRT.manifest, msvcm90.dll, msvcp90.dll, msvcr90.dll 4 ϸ ſ ^^

 

IEEE membership

User Name

jinwuk_seok

PW (is equal to member #)

41307554

 

suf5.0

password : 0000

 

α׷

HKEY_ LOCAL_MACHINE> Software> Microsoft> Windows> CurrentVersion> Run

â 콺 ư Ŭ-> ڿ .

 

.... ο ڿ <Ž> ϰ

Ž [ θ Է]ϸ ۾ ý ŽⰡ ٷ ȴ 

 

ڴ ETRI_Full_HD_Encoder ̸ BAT α׷ ϵǾ

 

۽ ڵα׿¹

regedit-->HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>WindowsNT>CurrentVersion>Winlogon׸񿡼

ʸ콺 ŬϿ ڿ Ѵ

̸

AutoAdminLogon ---> 1

DefaultUserName ---> (Ͻô ) : ׸ ִ

DefaultPassword --->н( н) : Ҷ д

AutoAdminLogon ---> 1

DefaultUserName ---> sjw

DefaultPassword --->root00

 

 

ð, Time Լ

#include <windows.h>

 

__int64 freq, start, end;

if (QueryPerformanceFrequency((LARGE_INTEGER*)&freq));

{

  QueryPerformanceCounter((LARGE_INTEGER*)&start);

 

  // Job

 

  QueryPerformanceCounter((LARGE_INTEGER*)&end);

  a = (float)((double)(end - start)/freq * 1000));

}

 

 

 

d:\WORK-2009>shutdown /?

: shutdown [-l | -s | -r | -a] [-f] [-m \\ǻ ̸] [-t xx] [-c ""] [-d up:xx:yy]

        No args                 ޽ ǥմϴ.(-? )

        -i                      GUI ̽ ǥմϴ.(ó ɼ̾ մϴ.)α׿մϴ. (-m ɼǰ Բ )

        -s                      ý մϴ.

        -r                      ý ٽ մϴ.

        -a                      ý Ḧ ߴմϴ.

        -m \\ǻ ̸        ǻ͸ /ٽ /ߴմϴ.

        -t xx                   ý ð xxʷ մϴ.

        -c ""               ý մϴ. (ִ 127 )

        -f                      α׷ մϴ. α׷ ϰ ý α

        -d [u][p]:xx:yy ῡ ڵ带 մϴ.

                                u: ڵ

                                p: ȹ ڵ

                                xx: ڵ (256 )

                                yy: ڵ (65536 )

 

 

 

 

d:\WORK-2009>tasklist /?

TASKLIST [/S ý [/U ̸ [/P [ȣ]]]]

         [/M [] | /SVC | /V] [/FI ] [/FO ] [/NH]

:

    Ǵ ýۿ  ǰ ִ α׷ ۾/μ ǥմϴ.

 

Ű :

   /S     ý           ý մϴ.

   /U     [domain\]user    ؾ ϴ ؽƮ մϴ.

   /P     [ȣ]           ش ؽƮ ȣ մϴ 쿡 ϴ.

   /M     []           ش ̸ ġϸ DLL ε ۾ մϴ. ̸ ۾ ε ǥմϴ.

   /SVC                    μ ִ 񽺸 ǥմϴ.

   /V                      ڼ ǥϵ մϴ.

   /FI                 Ϳ ǰ ġϴ ۾ ǥմϴ.

   /FO                 մϴ. ִ : "TABLE", "LIST", "CSV".

   /NH                     ¿ ǥ " Ӹ" մϴ. "TABLE" "CSV" Ŀ ֽϴ.

   /?                      / ǥմϴ.

 

:

    ̸       ȿ              ȿ

    -----------     ---------------           --------------

    STATUS          eq, ne                    RUNNING | NOT RESPONDING

    IMAGENAME       eq, ne                    ̹ ̸

    PID             eq, ne, gt, lt, ge, le    PID

    SESSION         eq, ne, gt, lt, ge, le    ȣ

    SESSIONNAME     eq, ne                    ̸

    CPUTIME         eq, ne, gt, lt, ge, le    CPU ð

                                              (hh:mm:ss )

                                              hh - ð,

                                              mm - , ss -

    MEMUSAGE        eq, ne, gt, lt, ge, le    ޸ (KB)

    USERNAME        eq, ne                    ̸([domain\]user

                                              )

    SERVICES        eq, ne                    ̸

    WINDOWTITLE     eq, ne                    â

    MODULES         eq, ne                    DLL ̸

:

    TASKLIST

    TASKLIST /M

    TASKLIST /V

    TASKLIST /SVC

    TASKLIST /M wbem*

    TASKLIST /S ý /FO LIST

    TASKLIST /S ý /U domain\username /FO CSV /NH

    TASKLIST /S ý /U ̸ /P ȣ /FO TABLE /NH

    TASKLIST /FI "USERNAME ne NT AUTHORITY\SYSTEM" /FI "STATUS eq running"

d:\WORK-2009>

 

 

Commandline Application ̱

taskkill /F /FI "IMAGENAME eq vdub.exe" /T

 

vdub.exe õ ״´.

taskkill /? ɼ Ư ˾ƺ.

 

taskkill /F /IM vdub.exe /T

 

ǹ

 

 

 

Visual C++ 6.0 Ǵ Ʈ Visual C++ 2005 ϰ Ǹ(Visual C++ 2005 ̿ Project ȯ ̿) WINVER ʾ Default Windows Server 2003 ȴٴ ޼ ȴ.

(VC 2008 ̻󿡼 . StdAfx.h Ͽ #include <afxwin.h> κп #define WINVER 0x0501 (XP ) ־ ָ ȴ.)

WINVER not defined. Deafaulting to 0x0502 (Windows Server 2003)

ִ Ʈ ؾ ּ OS ϱ ؼ WINVER ؾ Ѵ.

 

.

 

 

Minimum system required

Macros to define

Windows Vista

_WIN32_WINNT>=0x0600

WINVER>=0x0600

Windows Server 2003

_WIN32_WINNT>=0x0502

WINVER>=0x0502

Windows XP

_WIN32_WINNT>=0x0501

WINVER>=0x0501

Windows 2000

_WIN32_WINNT>=0x0500

WINVER>=0x0500

Windows NT 4.0

_WIN32_WINNT>=0x0400

WINVER>=0x0400

Windows Me

_WIN32_WINDOWS=0x0500

WINVER>=0x0500

Windows 98

_WIN32_WINDOWS>=0x0410

WINVER>=0x0410

Windows 95

_WIN32_WINDOWS>=0x0400

WINVER>=0x0400

 

 

 

 

 

netstat /?

TCP/IP Ʈũ ǥմϴ.

NETSTAT [-a] [-b] [-e] [-n] [-o] [-p ] [-r] [-s] [-v] [ð]

  -a            Ʈ ǥմϴ.

  -b            Ǵ Ʈ õ α׷

                ǥմϴ. ˷ α׷ Ҹ

                ȣϴ 쿡 Ǵ Ʈ

                õ ǥõ˴ϴ. ̷ 쿡

                α׷ ̸ Ʒ ȣ ȿ ǥõǾ ְ

                TCP/IP ȣ Ұ ǥõǾ ֽϴ.

                ɼ ð ɸ

                մϴ.

  -e            ̴ 踦 ǥմϴ. ɼ -s ɼǰ

                ֽϴ.

  -n            ּ Ʈ ȣ ǥմϴ.

  -o            μ ID ǥմϴ.

  -p    ݿ شǴ ǥմϴ.

                TCP, UDP, TCPv6 Ǵ UDPv6 ϳԴϴ. -s ɼǰ Բ

                Ͽ ݺ 踦 ǥ IP, IPv6,

                ICMP, ICMPv6, TCP, TCPv6, UDP Ǵ UDPv6 ϳԴϴ.

  -r            ̺ ǥմϴ.

  -s            ݺ 踦 ǥմϴ. IP, IPv6, ICMP,

                ICMPv6, TCP, TCPv6, UDP UDPv6 踦 ǥմϴ.

                -p ɼ Բ ϸ ⺻ Ϻ տ 踸

                ǥ ֽϴ.

  -v            -b ɼǰ Բ ϸ α׷

                Ǵ Ʈ õ

                ǥմϴ.

  ð          ȭ ̵ϱ ð 踦

                ٽ ǥմϴ. ǥø ߴϷ CTRL+C ʽÿ.

                ǥմϴ.

 

**** α׷ ɼǿ ƼƮ ڵ带 Ͽ Ȯϰ ڿ ǥȴ.

 

msconfig Ͽ 񽺵 ǰ ִ windows 񽺵 Űų ִ

Apache ϴ

1. IIS 浹ϴ -> IIS Ų.

2. httpd.conf Ȯϰ ش.

   ) Documnet Root Document Directory ׻ ġؾ Ѵ.

3. ȭ ܷ httpd.exe ־ Ѵ.

 

ž ID

        root

pw : etri

 

MSN

ID : sderoen@htmail.com

PW : sj1612

 

 

_mm_mpsadbw_epu8

Microsoft Specific

Emits the Streaming SIMD Extensions 4 (SSE4) instruction mpsadbw. This instruction computes multiple packed sums on the absolute value of the difference between two parameters.

A 128-bit result that contains eight 16-bit unsigned integers. The values of these integers can be computed as follows:

 Copy Code

i = mask2 * 4

j = mask0-1 * 4

for (k = 0; k < 8; k = k + 1) {

        t0 = abs(a[i + k + 0] - b[j + 0])

        t1 = abs(a[i + k + 1] - b[j + 1])

        t2 = abs(a[i + k + 2] - b[j + 2])

        t3 = abs(a[i + k + 3] - b[j + 3])

        r[k] = t0 + t1 + t2 + t3

}

 Requirements

Intrinsic

 Architecture

 

_mm_mpsadbw_epu8

 x86, x64 

Header file <smmintrin.h>

 Remarks

a[n] and b[n] indicate the nth ordered unsigned 8-bit integer of parameters a and b where a[0] and b[0] are the lowest 8 bits. r[n] is the nth ordered unsigned 16-bit element of result r, where r[0] refers to the lowest 16 bits. mask0, mask1, and mask2 are the three least significant bits of parameter mask.

Before you use this intrinsic, software must ensure that the processor supports the instruction.

 Example

 Copy Code

#include <stdio.h>

#include <smmintrin.h>

int main ()

{

    __m128i a, b;

    // A mask value of 0101 (5) will add four to each index

    const int mask = 5;

    a.m128i_u8[0] = 15;

    a.m128i_u8[1] = 60;

    a.m128i_u8[2] = 55;

    a.m128i_u8[3] = 31;

    a.m128i_u8[4] = 0;

    a.m128i_u8[5] = 1;

    a.m128i_u8[6] = 2;

    a.m128i_u8[7] = 4;

    a.m128i_u8[8] = 8;

    a.m128i_u8[9] = 16;

    a.m128i_u8[10] = 32;

    a.m128i_u8[11] = 64;

    a.m128i_u8[12] = 128;

    a.m128i_u8[13] = 255;

    a.m128i_u8[14] = 1;

    a.m128i_u8[15] = 17;

    b.m128i_u8[0] = 2;

    b.m128i_u8[1] = 4;

    b.m128i_u8[2] = 8;

    b.m128i_u8[3] = 64;

    b.m128i_u8[4] = 255;

    b.m128i_u8[5] = 0;

    b.m128i_u8[6] = 1;

    b.m128i_u8[7] = 16;

    b.m128i_u8[8] = 32;

    b.m128i_u8[9] = 64;

    b.m128i_u8[10] = 128;

    b.m128i_u8[11] = 255;

    b.m128i_u8[12] = 75;

    b.m128i_u8[13] = 31;

    b.m128i_u8[14] = 42;

    b.m128i_u8[15] = 11;

    __m128i res = _mm_mpsadbw_epu8(a, b, mask);

    __m128i final;

    int temp1, temp2, temp3, temp4, index;

    for (index = 0; index < 8; index++)

    {

        temp1 = abs(a.m128i_u8[4 + index] - b.m128i_u8[4]);

        temp2 = abs(a.m128i_u8[4 + index + 1] - b.m128i_u8[4 + 1]);

        temp3 = abs(a.m128i_u8[4 + index + 2] - b.m128i_u8[4 + 2]);

        temp4 = abs(a.m128i_u8[4 + index + 3] - b.m128i_u8[4 + 3]);

        final.m128i_u16[index] = temp1 + temp2 + temp3 + temp4;

    }

    printf_s("Res0 should be %d: %d\nRes1 should be %d: %d\n",

                final.m128i_u16[0], res.m128i_u16[0],

                final.m128i_u16[1], res.m128i_u16[1]);

    printf_s("Res2 should be %d: %d\nRes3 should be %d: %d\n",

                final.m128i_u16[2], res.m128i_u16[2],

                final.m128i_u16[3], res.m128i_u16[3]);

    printf_s("Res4 should be %d: %d\nRes5 should be %d: %d\n",

                final.m128i_u16[4], res.m128i_u16[4],

                final.m128i_u16[5], res.m128i_u16[5]);

    printf_s("Res6 should be %d: %d\nRes7 should be %d: %d\n",

                final.m128i_u16[6], res.m128i_u16[6],

                final.m128i_u16[7], res.m128i_u16[7]);

    return 0;

}

 Copy Code

Res0 should be 269: 269

Res1 should be 267: 267

Res2 should be 264: 264

Res3 should be 290: 290

Res4 should be 342: 342

Res5 should be 446: 446

Res6 should be 653: 653

Res7 should be 588: 588

 

mask ǹ

_mm_mpsadbw_epu8(a, b, mask);

a Destimation

b Source

mask bit 3Ʈμ [1:0] src 4Ʈ ϳ ׷ Ų. ,

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 16 1 bute src Ǿ ִٸ

00 : 3 2 1 0

01 : 7 6 5 4

10 : 11 10 9 8

11 : 15 14 13 12

  ǹѴ.

maskbit[2] DST 11 Ʈ ΰ ׷ ϳ Ų. ,

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 16 1 bute DST Ǿ ִٸ

0 : 10 9 8 7 6 5 4 3 2 1 0 : 11 byte

1 : 14 13 12 11 10 9 8 7 6 5 4 : 11 byte

̰ ̵ ϸ鼭 4 byte SAD Ѳ Ѵ.

_mm_minpos_epu16

include <stdio.h>

#include <smmintrin.h>

int main ()

{

    __m128i a;

    a.m128i_u16[0] = 127;

    a.m128i_u16[1] = 10000;

    a.m128i_u16[2] = 65535;

    a.m128i_u16[3] = 1;

    a.m128i_u16[4] = 2;

    a.m128i_u16[5] = 64;

    a.m128i_u16[6] = 314;

    a.m128i_u16[7] = 27;

    __m128i res = _mm_minpos_epu16(a);

    printf_s("Result res:\t%d\t%d\t%d\t%d\n\t\t%d\t%d\t%d\t%d\n",

                res.m128i_u16[0], res.m128i_u16[1], res.m128i_u16[2],

                res.m128i_u16[3], res.m128i_u16[4], res.m128i_u16[5],

                res.m128i_u16[6], res.m128i_u16[7]);

    return 0;

}

Result res:     1       3       0       0       0       0       0       0

res.m128i_u16[0] , res.m128i_u16[1] Position

 

res = _mm_shuffle_epi32(s0, 0x44);

s0 64 bit 64bit ״ īϴ ɾ.

 

ffmpeg ū ڸ

ffmpeg ū Ѵ. 4GB ̻ . Ѵ.

win-command ޴ ڸ ޴ ִ. ̰ɷ ϴ . 4000 MB

TS ̹Ƿ .

 

 

 

Y ӵ

ϴ MS ϴ ƴ Ǽ شѴ(Prefetch ). Prefetch ϸ Ŀα Ͽ α׷ ƴ ϴ ʿ DLL ϵ ּҸ Ͽ , о ̸ ϵũ RAM εϰԲ ϴ ̴

 

U regedit

V HKEY_LOCAL_MACHINESYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters ̵

W EnablePrefetcher Ŭ 0 ش.

X ýÿ windowsprefetch ʴ´. 1 α׷ , 2 ý, 3 ϰԲ Ǿ ִ. 3.

Sync Virtual-Dub Է

ffmpeg -i "2008-12-29()103847-CADTV6-1-HD. 2008SBS(1,15).001" -vcodec copy -acodec copy -f dvd 2008-12-29-001.mpg

 

500 msec Pre-load ְ 0~25msec     Pre-load ϸ .

 IPSTB Monitoring

./value/bin

 

./run-multi.sh 224.1.1.2:3003 -monitor

 

ϴ ⺻ ͸ ִ.

δ TS м ϴٰ ϴµ, .

 

Mplayer Debug Option

−lavdopts <option1:option2:...> (DEBUG CODE)

 

 

Specify libavcodec decoding parameters. Separate multiple options with a colon.

EXAMPLE:

 

 

−lavdopts gray:skiploopfilter=all:skipframe=nonref

 

 

Available options are:

 

 

bitexact

 

 

Only use bit-exact algorithms in all decoding steps (for codec testing).

 

 

bug=<value>

 

 

Manually work around encoder bugs.

 

 

0: nothing

1: autodetect bugs (default)

2 (msmpeg4v3): some old lavc generated msmpeg4v3 files (no autodetection)

4 (mpeg4): Xvid interlacing bug (autodetected if fourcc==XVIX)

8 (mpeg4): UMP4 (autodetected if fourcc==UMP4)

16 (mpeg4): padding bug (autodetected)

32 (mpeg4): illegal vlc bug (autodetected per fourcc)

64 (mpeg4): Xvid and DivX qpel bug (autodetected per fourcc/version)

128 (mpeg4): old standard qpel (autodetected per fourcc/version)

256 (mpeg4): another qpel bug (autodetected per fourcc/version)

512 (mpeg4): direct-qpel-blocksize bug (autodetected per fourcc/version)

1024 (mpeg4): edge padding bug (autodetected per fourcc/version)

 

 

debug=<value>

 

 

Display debugging information.

 

 

0: disabled

1: picture info

2: rate control

4: bitstream

8: macroblock (MB) type

16: per-block quantization parameter (QP)

32: motion vector

0x0040: motion vector visualization (use −noslices)

0x0080: macroblock (MB) skip

0x0100: startcode

0x0200: PTS

0x0400: error resilience

0x0800: memory management control operations (H.264)

0x1000: bugs

0x2000: Visualize quantization parameter (QP), lower QP are tinted greener.

0x4000: Visualize block types.

 

 

ec=<value>

 

 

Set error concealment strategy.

 

 

1: Use strong deblock filter for damaged MBs.

2: iterative motion vector (MV) search (slow)

3: all (default)

 

 

er=<value>

 

 

Set error resilience strategy.

 

 

0: disabled

1: careful (Should work with broken encoders.)

2: normal (default) (Works with compliant encoders.)

3: aggressive (More checks, but might cause problems even for valid bitstreams.)

4: very aggressive

 

 

fast (MPEG-2, MPEG-4, and H.264 only)

 

 

Enable optimizations which do not comply to the specification and might potentially cause problems, like simpler dequantization, simpler motion compensation, assuming use of the default quantization matrix, assuming YUV 4:2:0 and skipping a few checks to detect damaged bitstreams.

 

 

gray

 

 

grayscale only decoding (a bit faster than with color)

 

 

idct=<0−99> (see −lavcopts)

 

 

For best decoding quality use the same IDCT algorithm for decoding and encoding. This may come at a price in accuracy, though.

 

 

lowres=<number>[,<w>]

 

 

Decode at lower resolutions. Low resolution decoding is not supported by all codecs, and it will often result in ugly artifacts. This is not a bug, but a side effect of not decoding at full resolution.

 

 

0: disabled

1: 1/2 resolution

2: 1/4 resolution

3: 1/8 resolution

 

 

If <w> is specified lowres decoding will be used only if the width of the video is major than or equal to <w>.

 

 

o=<key>=<value>[,<key>=<value>[,...]] Pass AVOptions to libavcodec decoder. Note, a patch to make the o= unneeded and pass all unknown options through the AVOption system is welcome. A full list of AVOptions can be found in the FFmpeg manual. Note that some options may conflict with MEncoder options.

 

 

EXAMPLE:

 

 

o=debug=pict

 

 

sb=<number> (MPEG-2 only)

 

 

Skip the given number of macroblock rows at the bottom.

 

 

st=<number> (MPEG-2 only)

 

 

Skip the given number of macroblock rows at the top.

 

 

skiploopfilter=<skipvalue> (H.264 only)

 

 

Skips the loop filter (AKA deblocking) during H.264 decoding. Since the filtered frame is supposed to be used as reference for decoding dependent frames this has a worse effect on quality than not doing deblocking on e.g. MPEG-2 video. But at least for high bitrate HDTV this provides a big speedup with no visible quality loss.

<skipvalue> can be either one of the following:

 

 

none: Never skip.

default: Skip useless processing steps (e.g. 0 size packets in AVI).

nonref: Skip frames that are not referenced (i.e. not used for decoding other frames, the error cannot "build up").

bidir: Skip B-Frames.

nonkey: Skip all frames except keyframes.

all: Skip all frames.

 

 

skipidct=<skipvalue> (MPEG-1/2 only)

 

 

Skips the IDCT step. This degrades quality a lot of in almost all cases (see skiploopfilter for available skip values).

 

 

skipframe=<skipvalue>

 

 

Skips decoding of frames completely. Big speedup, but jerky motion and sometimes bad artifacts (see skiploopfilter for available skip values).

 

 

threads=<1−8> (MPEG-1/2 and H.264 only)

 

 

number of threads to use for decoding (default: 1)

 

 

vismv=<value>

 

 

Visualize motion vectors.

 

 

0: disabled

1: Visualize forward predicted MVs of P-frames.

2: Visualize forward predicted MVs of B-frames.

4: Visualize backward predicted MVs of B-frames.

 

 

vstats

 

 

Prints some statistics and stores them in ./vstats_*.log.

 

 RC_Analysis

RC_Analysis.exe -v test.264 -o test.ts -bv 1000000 -cpb 19500000 -GOPL 30 > 20090808_rca.txt 

 

mplayer -fs -aspect 4:3 -lavdopts vstats test.264

 

Platform SDK DirectShow Filter Visual C++

 

1. ֽ SDK ٿ ޴´. SDK 6.1 ֽ ̴.

:

Windows SDK for Windows Server 2008 and .NET Framework 3.5

 

Ʈ :

http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&displaylang=en

 

̰ ġϰ

MicroSoft Windows SDK 6.1 -> Visual Studio Registration -> Windows SDK Configuration Tool

Ͽ Registry Ѵ.

 

׷

HKCU (HKEY_CURRENT_USER) /Software/MicroSoft SDKs/Windows/CurrentInstallFolder

ΰ .

C:\Program Files\Microsoft SDKs\Windows\v6.1\

 

̰ HKLM (HKEY_LOCAL_MACHINE)/Software/MicroSoft SDKs/Windows/CurrentInstallFolder

ϴ.

ش Ű

HKCU (Ȥ HKLM) /Software/MicroSoft SDKs/Windows/v6.1/InstallationFolder

.

 

SDK Ѵ.

 MicroSoftSDK/InstallationSDKs/....../InstallationFolder

SDK ΰ ִ.

C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\

 

׷Ƿ SDK ϴ ˾ƾ Ѵ.

̰ ƴ Visual C++ 2008

c:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat

Ȥ

c:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat

ִ.

 

SDK ΰ  Ǿ ִ ִ.

 

:GetWindowsSdkDir

@call :GetWindowsSdkDirHelper HKLM > nul 2>&1

@if errorlevel 1 call :GetWindowsSdkDirHelper HKCU > nul 2>&1

@if errorlevel 1 set WindowsSdkDir=%VCINSTALLDIR%\PlatformSDK\

@exit /B 0

:GetWindowsSdkDirHelper

@SET WindowsSdkDir=

@for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Microsoft\Microsoft SDKs\Windows" /v "CurrentInstallFolder"') DO (

 if "%%i"=="CurrentInstallFolder" (

  SET "WindowsSdkDir=%%k"

 )

)

@if "%WindowsSdkDir%"=="" exit /B 1

@exit /B 0

 

 

׷ θ Ƿ Ȯ θ ľϴ

->α׷->MicroSoft Visual Studio 2008->VisualSudioTools->Visual Studio 2008 Command Prompt

ȯ溯 Ÿ ϸ ִ.

echo %WindowsSdkDir%

 

̰ .

 

C:\Program Files\Microsoft Visual Studio 9.0\VC\bin>echo %WindowsSdkDir%

C:\Program Files\Microsoft SDKs\Windows\v6.1\

̷ SDK ΰ Ȯϰ Ǿ ȮεǾ ȵȴٸ ̴.

 

Visual Studio IDE

->ɼ ŬѴ.

÷ Win32 , " ͸ ǥ" "" Ǿ ְ

$(WindowsSdkDir)\bin

ϵǾ Ѵ.

 

 

 

DirectX SDK ġ ߴٸ,

C:\Program Files\Microsoft DirectX SDK (November 2008) ε Ÿ յ ؾ Ѵ. 쿡 ȯ溯 θ ԷѴ.

θ .

C:\Program Files\Microsoft DirectX SDK (November 2008)\Developer Runtime\x86

ش δ $(WindowsSdkDir)\bin  Ÿ Ѵ.

 

" ͸ ǥ" "" SDK Microsoft SDKs\Windows\v6.1\ ɸ SDK

C:\Program Files\Microsoft SDKs\Windows\v6.1\Samples\Multimedia\DirectShow\BaseClasses

C:\Program Files\Microsoft SDKs\Windows\v6.1\Include

 

Ÿ ؾ Ѵ.

 

DirectX SDK ġ ߴٸ,

C:\Program Files\Microsoft DirectX SDK (November 2008)\Include

ġŲ.

 

 

" ͸ ǥ" "̺귯" SDK Microsoft SDKs\Windows\v6.1\ ɸ SDK

C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib

Ÿ Ѵ.

 

DirectX SDK ġ ߴٸ,

C:\Program Files\Microsoft DirectX SDK (November 2008)\Lib\x86

ġŲ.

 

 

 

̷ ְ ϸ ȴ.

 

http://blog.tinywolf.com/167 

 

 Debug strmbasd.lib Release strmbase.lib Ǵµ

   

   

 

ϵ C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib Ѵ.

 

 

 

ffmpeg mencoder VirtualDub ȣȯ .

ffmpeg FourCC Copy Ŵ ֽ mplayer

 

mplayer input.tp -ovc copy -oac copy -noskip -ffourcc MPEG2 -of avi output.avi

mencoder input.tp -ovc copy -oac copy -noskip -ffourcc MPEG2 -of avi -o output.avi

 

ipod Video Contents

d:\Transfer\200912>mencoder "video[1].flv" -vf scale=640:-10 -ovc x264 -x264encopts bitrate=1500:bframes=0

-oac pcm -of avi -noskip -ofps 30 -o Tango_de_Roxane.avi

and..

 

d:\Transfer\200912>ffmpeg -i Tango_de_Roxane.avi -vcodec copy -acodec aac -ab 128000 -f mp4 Tango_de_Roxane_ipod.mp4

 

 

 

 

/******************************************************************************\

* Constants.

\******************************************************************************/

/* The representation of the value zero. */

#define JAS_FIX_ZERO(fix_t, fracbits) \

 JAS_CAST(fix_t, 0)

/* The representation of the value one. */

#define JAS_FIX_ONE(fix_t, fracbits) \

 (JAS_CAST(fix_t, 1) << (fracbits))

/* The representation of the value one half. */

#define JAS_FIX_HALF(fix_t, fracbits) \

 (JAS_CAST(fix_t, 1) << ((fracbits) - 1))

/******************************************************************************\

* Conversion operations.

\******************************************************************************/

/* Convert an int to a fixed-point number. */

#define JAS_INTTOFIX(fix_t, fracbits, x) \

 JAS_CAST(fix_t, (x) << (fracbits))

/* Convert a fixed-point number to an int. */

#define JAS_FIXTOINT(fix_t, fracbits, x) \

 JAS_CAST(int, (x) >> (fracbits))

/* Convert a fixed-point number to a double. */

#define JAS_FIXTODBL(fix_t, fracbits, x) \

 (JAS_CAST(double, x) / (JAS_CAST(fix_t, 1) << (fracbits)))

/* Convert a double to a fixed-point number. */

#define JAS_DBLTOFIX(fix_t, fracbits, x) \

 JAS_CAST(fix_t, ((x) * JAS_CAST(double, JAS_CAST(fix_t, 1) << (fracbits))))

 

 

 DLL ߻ϸ

Dependecy Walker Ͽ DLL Dependency üũϸ ȴ.

e264vfw ſ DLL dEPENDENCY ִ. (E264Core.dll Kernel32.dll/NTDLL.dll )

׷Ƿ ⿡ ߻ Ƿ ߻ ش ǻͿ Depemdency Walker Ͽ DLL Dependency Check ϸ ذ ִ.

 

mp4 H.264 ϴ

mp4creator -extract=1 "videoplayback[1].mp4" test_720p.264

Ʈ ȣ ˾ƾ Ѵ.

 

D:\zTemp_dir\HD_Files>mp4info "videoplayback[1].mp4"

mp4info version 1.6.1

videoplayback[1].mp4:

Track   Type    Info

1       video   H264 High@3.1, 345.246 secs, 1997 kbps, 1280x720 @ 29.969934 fps

2       audio   MPEG-4 AAC LC, 345.233 secs, 128 kbps, 44100 Hz

D:\zTemp_dir\HD_Files>mp4creator -extract=1 "videoplayback[1].mp4" test_720p.264

 

 

ֽ VLC UDP Ƽij ÷ ϴ

udp://@224.1.1.2:3003

 

DXVA  Option ۿ  Data κп gpu ˰Եȴ.

DXVA ڵ ɼ Ȯ .

 

Digital Cinema

1. Video Image Magic Convert(IMConvert) Ͽ 8bit depth 16bit depth ȯϸ ȴ.

2. Audio 24 Ʈ, 46 Ʈ , 48KHz 3 ݵ Ѿ Ѵ.

    44.1 -> 48 KHz Resampling Golden Wave ذ Ǵ  ȴ.

 

ffmpeg mp4 (3gp ...) Ͽ h264 ̱

ffmpeg -i VID_20110124_225812.3gp -vcodec copy -vbsf h264_mp4toannexb -an out.h264

 

 

Image Magic Option

sprintf_s(csParams,  FileNameLength, "%s -depth 16 -colorspace XYZ %s", infile, outfile);

 

ֽ VLC UDP Ƽij Ʈ

UDP Legacy 224.1.1.2:3003

Ʈڵ (ɼ ʴ´ :  MPEG VIdeo + MPEG Audio)

Element Stream üũ + SAP  üũ

̷ ؾ ȴ.

 

C Compile Ҷ Project Ȥ Header File ִ ( 100 )

Header File ִ ̴.

Priority θ ȴ

 

NVIDIA GPU

1. Ŭ ǻ

- NVIDIA GPU Ŭ ǻÿ ° ׷ VID (Virtual Desktop Infrastructure) Quadro Ǹ Ŭ ǻ ȯ濡 ´ ׷ ӽ ų ֵ ( ũ)

 

 

2. Maximus GPU = Teslar + Quadro

 

 

- e264 64bit OS ġϴ

32Ʈ ̹Ƿ Windows\SysWOW64\ ؿ ġǾ Ѵ.

INF ǰ INF ϸ ȴ.

ntamd64 κ Registry WOW6432node ϴ ϵǾ Ѵ.

64Ʈ OS κ ڵ

DLL Ӽ ̰ ö ʾƼ ̴,

e264 libguide40.dll, libio5mp.dll, libmmd.dll 3 32Ʈ SysWOW64 īϰ ٽ ġϸ ȴ.

INF ġ Ŵ 64Ʈ Sys64WOW\RunDLL32.exe Ͽ ġؾ Ѵ. κе ִ.

DefaultInstall ϸ WIndows INF мϿ ϰ ġȴ.

 

 

Setting of Daumpot player for 4K Monitor

 

1. Rebderer

VMR9 DirectX Renderer is an optimal choice.

 

2. Decoder

Choose DXVA decoder and in the left windows

Set the decoder of H.264/AVC to NVIDIA H.264 Decoder.

 

̷ ȴ.

Default Intel Quick Sync Decoder ̹Ƿ ̸ ٲش.

 

 

RedOne R3D о̴

http://arenafilm.hu/alsog/vdr3d/

VirtualDub plugin , R3D.vdplugins 32Ʈ virtualdub plugins32 64Ʈ plugins64 ȴ. , pluins32/64 manually ȴ.  ׷ filter ʿ Open AVI ڵ о Open AVI ޴ ϴ Ask for extended options after this dialog üũϿ ݵ Full-resolution Ѵ.

 

Է plugin plugins ȴ. virtualdub plugins ˻Ͽ ϵ Ư mp4 ҷ ִ. 1.9.9 Ǿ ִ.

 

VirtualDub ϵ

http://www.videohelp.com/tools/Virtualdub

ٿ

 

VDubbatcher Vdub ۾ Batch Ϸ ִ.

 

ping ȵ

- inbound ping ȭ ־

--޺ Inbound Rule Enable Rule ϸ ȴ.

 

 

ġ Ͽ ImageMagic Converter Post Processing

 

@echo off

SET CNT=1

 

FOR %%A IN (.\RED_test_01\*.tiff) do (CALL :CONVERTIMG)

 

GOTO :EOF

 

:CONVERTIMG

SET COUNTERSTR=00000%CNT%

SET INFILE=.\RED_test_01\RED_test_%COUNTERSTR:~-4%.tiff

SET OUTFILE=.\RED_test_01\out\OUT_%COUNTERSTR:~-4%.tiff

SET CMATRIX="1.0 -0.25 0.0 -0.25 1.25 0 0 0 5.525"

 

REM IMConvert %INFILE% -alpha Off -gamma 0.384615 -color-matrix "1.0 -0.25 0.0 -0.25 1.25 0 0 0 5.525" -gamma 1.25 -set colorspace sRGB -depth 8 %OUTFILE%

IMConvert %INFILE% -alpha Off -gamma 0.384615 -color-matrix %CMATRIX% -gamma 1.25 -set colorspace sRGB -depth 8 %OUTFILE%

 

echo %INFILE% %OUTFILE%

 

SET /A CNT=%CNT%+1

 

@echo off

 

GOTO :EOF

 

 

IMConvert RED_test_0001.tiff -alpha Off -gamma 0.384615 -colo

r-matrix "1.0 -0.25 0.0 -0.25 1.25 0 0 0 5.525" -gamma 1.25 -set colorspace sRGB

 -depth 8 out.tiff

 

RGB<-> XYZ Matrix

http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html

 

ffmpeg Image Conversion :

ffmpeg -i A012_C021_051607_001_rgb24_24fps_408.avi -f image2 -compression_algo raw .\RED_test_01\RED_test_%4d.tiff

 

ffmpeg -i .\RED_test_01\out\OUT_%4d.tiff -vcodec rawvideo -pix_fmt bgr24 -f avi -r 24.0 RED_test_01.avi

 

 

RED ONE (R3D ȯ )

1. VirtualDub 24bit rgb888 color format video ȯ

2. ffmpeg : tiff

ffmpeg -i A012_C021_051607_001_rgb24_24fps_408.avi -f image2 -compression_algo raw .\RED_test_01\RED_test_%4d.tiff

 

3. ColorCorrection.bat

 

4. ffmpeg : Color ȯ tiff avi ȯ

ffmpeg -i .\RED_test_01\out\OUT_%4d.tiff -vcodec rawvideo -pix_fmt bgr24 -f avi -r 24.0 RED_test_01.avi

 

̋, -pix_fmt yuyv422 Ѵ.

ffmpeg ֽ ̾ 2012 5

 

AVI h264 bitstream ̴

ffmpeg -i R3D_E264_30M_24fps.avi -vcodec copy -f h264 R3D_E264_30M_24fps.264

 

̷ ̾ƾ TS ȴ.

 

wget -r -l1 --no-parent -A "*.exr" http://media.xiph.org/mango/linear-exr/04_5f/

 

 

Ʈ ã ( port 21)

netstat -an Ʈ IP δ.

netstat -ano Ʈ IP  ׸ PID  δ.

 

-o option ϻ α׷ PID ش.

 

PID ˸ Taskkill Ͽ

taskkill /F /PID xxxxx

̷ δ. /F ɼ ɼ

 

Ʈĵ nmap Ѵ..... ǻ ŷ ϴ.

 

 

Windows 7 ̻󿡼 winsxs DLL ߰ ϱ

׳ ؼ ȵ

Visual C++ New Project -> Other Project ->mergemodule Ѵ.

mergemodule Ʈ ADD ϸ PC ġ winsxs Ÿ.

ʿ ADD Ѵ.

Ѵ. ׷ msm ȴ.

 

ش Ʈ New Project Setup Project Ѵ.

ʿ ׸ ... msm ADD Ͽ ԽŲ.

ϸ setup.exe setup.msi ȴ.

 

̰ ش PC Ű winsxs ʿ DLL ġȴ.

 

 

Gimp ̾

 

1. jpg ̹ εѴ.

2. ̾ ä Ѵ.

3. ÿ Ѵ.

4. õ κ .

5. ̹ Ѵ.

̿ μ ŭ ذdz ǰ ؼ ̾ ̾-> ä ϰų ؾ Ѵ.

 

 

ټ copy Ͽ ġ

2

copy /b 1.avi+2.avi result.avi

 

copy /b .\F0\*.avi result.avi

 

̷ ϸ ʴ result.avi copyȴ.

 

ȴ...

 

mplayer 迭 ȭ yuy2 ߾ ִ yv12 yuy2 ÷ ϴµ ϴ.

 

yv12 yuy2 , 120GB -> 160GB 25% ־.

 

 

Ŀǵâ bat ϱ

, vbs Ͽ WScript ̿ؼ Ѵٸ, Ʒ Ŀǵ â ʰ ϵ ִ.

 

Set WshShell = WScript.CreateObject("WScript.Shell")

wshShell.run "explorer"

Set WshShell = nothing

 

, explorer Ű , ɼ ʾƵ Ŀǵ â ʴ´.

׷, , Ͽ ġȭ(bat) Ųٸ Ŀǵâ ߰ Ǵµ, ̶ ڿ ɼ ٿش.

 

, Ϸ test.bat .

׷, Ʒ ɼ ־ Ű Ŀǵ â ʴ´.

 

wshShell.run "test.bat",0,True

 

ffmpeg : lossless h264

c:\WORK\2012\EBU_TestSeq\4K test sequences\rain_fruits>ffmpeg -i 4k_rain_fruits_%4d.dpx -v

codec libx264 -g 1 -crf 0 -threads auto -pix_fmt yuv420p -f avi ..\4K_rain_fruits_lh264_yuv420p

.avi

 

GOP Size : -g 1 ϸ   I-frame ̴.

crf  or qp : 0 ̸ lossless ̴.

- threads auto ̸ ¿ ° ִ Thread ڵ ȴ.

 

I-frame Only 2 fps Ϲ lossless ӵ .

4K YUV420P 100Mbps ̴.

 

Lossless I-Frame Only 1Gbps, YUV420P 2.50Gbps 2.5 ̴.

ӵ YUV420P : 1.2~1.5 fps Lossless I_frame 2 fps ̴.

 

׽Ʈ Lossless I-Frame ӵ ϴ.

 

 

TSMuxer 2.1 GB  ̻ 뷮 .  _lseeki64 Լ _telli64 Լ Ͽ ... Ͽ 64bit ٲָ . 

, Լ , 32bit/64bit ϸ, WINAPI Լ ʿ䰡 , Multithread OpenMP ī.  , tell, lseek ġ ˾ƾ ϴ Լ

 

h.264 ʹ Null packet ų .

bitio temporal data ũⰡ ʹ ۾Ƽ ߻ . ̰ ũ ÷μ ذ . 120M ī ľǵ

 

̷ ϴϱ ʹ Mux ӵ ʹ . ͸ ʱ⿡ ũ Ƽ ִ е Ͽ

 

VirtualDub 뷮 ó

1. Ϲ , Ƽ带 ϴ ڵ ڵ ϸ, io Thread ڵ Thread ߻Ѵ. Ư Virtualdub 32Ʈ ϸ 32Ʈ Ѱ ε RGB444 4K 49 frame ʴ ߻Ѵ.

 

2. ذå 1. : 64 Ʈ Ѵ. ׷, VirtualDub 32Ʈ ߻ϴ ذȴ,. ׷ 64Ʈ ڵ ִ ʴ. Ư, lossless H.264 , Lossless JPEG ڵ ϸ ڵ ʴ´. 64Ʈ ذå̴.

 

3. ذå2 : VirtualDub ϴ AVI Parser windows system 丮 ġѴ. VirtualDub ִ auxsetup.exe VirtualDub AVI Parser ġϸ ȴ. ̰, 64Ʈ , 32Ʈ ذ Ǹ, , 32Ʈ  ڵ ִ.

 

4. : 48 ڵ Ѵ. IO Thread ̴. RGB444 4K ش 2.1 GB ̹Ƿ Thread IO о 鿩 ޸𸮿 , ޸ Management ó ̷ Ȥ ٸ μ . , 30ʰ . , VirtualDub Process Cycle LibLock ȴ. .. Log ִ.

 

mp4creator  뷮 ó ɼ

 

mp4creator -create=Edit02_avi.264 -rate=23.97 -use64bits -use64bitstime Edit02.mp4

mp4creator -create=Edit02_0110.mp3 Edit02.mp4

 

 

mp4 file H.264 copy ȣ ̱ :

ffmpeg -i Edit02_80B.mp4 -i Edit02_0110.ac3 -acodec copy -vcodec copy -vbsf h264_mp4toannexb -map 0:0 -map 1:0 -f avi Edit02_80BnoN.avi

 

 

ffmpeg jpeg 2000 ȭ

ffmpeg -i 4K_rain_fruits_yuv420p.avi -pix_fmt yuv420p -vcodec jpeg2000 -use_odml 1 -f avi 4K_rain_fruits_j2k.avi

 

simple ϰ Lossless ڵ ȴ. FCC mjp2 ̰ ڵ ִ ڵ Morgan codec ܿ .  Mainconcept ڵ AVS о ȵȴ.

snow  ڵ  wavelet

 

ffmpeg -i test_yuv420p_31f.avi -pix_fmt yuv444p -vcodec snow -strict -2 -threads auto -f avi test_snow.avi

 

yuv444

 

 

Lossless encoding Option

ffmpeg -i test_yuv420p_31f.avi -pix_fmt yuv422p -vcodec huffyuv -q:v 0 -threads auto -f avi -an test_hyuv.avit

 

*** Sharpen

 

http://forum.doom9.org/showthread.php?s=&threadid=84196

 

 

̷ resize(x4)-XSharpen-resize(x1)

 

 

Visual C++ 2008 CommandLine Compile

 

%comspec% /k ""c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86

 

c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat VC Ϸ ȯ ִ. δ ÷ شϴ env ϵ Ǿ ִ.

ġ

 

"c:\Program Files\Microsoft Visual Studio 9.0\VC\"  ̴..

 

 

%comspec%

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

 

ǹѴ.

 

...

 

D:\WORK-2013\HEVC_ETRI\HM10.0\bin\vc9\Win32\Debug>%comspec% /k ""c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86  ϸ...  ȣ

 

Setting environment for using Microsoft Visual Studio 2008 x86 tools.

 

̷ ޽ .

 

D:\WORK-2013\HEVC_ETRI\HM10.0\build>devenv HM_vc9.sln /build "Release|Win32"

 

 

· , cmd Link Ͽ Ѵ.

 

 

̷ ϸ Compile Ѵ.

 

devenv HM_vc9.sln /build "Release|Win32"

 

makefile sln Ͽ ȴ.

 

devenv ɼ .

 

/Build          Builds the solution or project with the specified solution

                 configuration. For example "Debug". If multiple platforms

                 are possible, the configuration name must be enclosed in quotes

                 and contain platform name. For example: "Debug|Win32".

/Clean         Deletes build outputs.

/Command    Starts the IDE and executes the command.

/Deploy                Builds and then deploys the specified build configuration.

/Edit           Opens the specified files in a running instance of this

                 application. If there are no running instances, it will

                 start a new instance with a simplified window layout.

/LCID          Sets the default language in the IDE for the UI.

/Log           Logs IDE activity to the specified file for troubleshooting.

/NoVSIP               Disables the VSIP developer's license key for VSIP testing.

/Out           Appends the build log to a specified file.

/Project       Specifies the project to build, clean, or deploy.

                 Must be used with /Build, /Rebuild, /Clean, or /Deploy.

/ProjectConfig        Overrides the project configuration specified in the solution

                 configuration. For example "Debug". If multiple platforms are

                 possible, the configuration name must be enclosed in quotes

                 and contain platform name. For example: "Debug|Win32".

                 Must be used with /Project.

/Rebuild       Cleans and then builds the solution or project with the

                 specified configuration.

/ResetAddin  Removes commands and command UI associated with the specified Add-in.

/ResetSettings       Restores the IDE's default settings, optionally resets to

                 the specified VSSettings file.

/ResetSkipPkgs      Clears all SkipLoading tags added to VSPackages.

/Run           Compiles and runs the specified solution.

/RunExit       Compiles and runs the specified solution then closes the IDE.

/SafeMode   Launches the IDE in safe mode loading minimal windows.

/Upgrade      Upgrades the project or the solution and all projects in it.

                 A backup of these files will be created as appropriate.  Please

                 see Help on 'Visual Studio Conversion Wizard' for more

                 information on the backup process.

 

Product-specific switches:

 

/debugexe    Open the specified executable to be debugged. The

                 remainder of the command line is passed to this

                 executable as its arguments.

/useenv                Use PATH, INCLUDE, LIBPATH, and LIB environment variables

                 instead of IDE paths for VC++ builds.

 

To attach the debugger from the command line, use:

         VsJITDebugger.exe -p <pid>

 

 

Source Insight Compiler Connection

 

Option -> Custom Commands  Ȥ ޴ ߿ ߸ Edit ϰڳĴ â ű⿡ Ѵ.

 

 

 

 

Run ȿ Compiler ִ bat ִ´. bat ̷ ִ,.

 

echo off

REM For Everytime of compile, a cmd window is called newly.

 

cd ..\..\build

 

REM Set an environment of compile with visual c++

REM %comspec% /k ""c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86

 

call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86

 

REM Compile with VC

echo on

devenv HM_vc9.sln /build "Release|Win32"

 

Run ־ Menu

 

 

 

Insert -> OK ϸ ȴ.

 

 

 


 

 

 ü ֽϱ

ϴ  ü ֽϰ ֽϴ. Ʃ â(Watch Window) Է ü  Ȱȭ Ǿ ̻ Ȯ Ҽ Ǿ. , Ŀ ֽ ϰ ü ͸ Էϸ, ش ü  (ش ü ִٸ) Ȯ ֽϴ.

 

 

ڵ带 mHyuna ü ̹  â Ȱȭ Ǿ, (CHyuna*)0x0031fe2c ü ּҸ Ͽ  ü Ȯ ֽϴ

迭 Ȯ (Ư 迭 Ȯ)

Ȥ ſ ū ũ 迭 Ҷ ֽϴ. 1 غ. 迭 ȮϷ ? 1 迭 ȮϷ û ũѸ ؾ Դϴ.

 

̷ Ͽ Ư Ȯϴ ֽϴ. , â ԷϿָ ŭ 迭 ִ . ؼ Ư Ȯ ֽϴ.

 


 

 

CRT ̺귯 Ȱ ޸ Ž

޸ ׻ ġ ŸԴϴ. ڵ ߿ ޸𸮰 ã⵵ . CRT ̺귯 ȰϿ ޸ ã ֽϴ. Ʒ CRT ̺귯 ϱ ݴϴ. ׸ ޸ üũ ÷׸ ݴϴ( _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF ); ).

 

 

ڵ带 ø Ϻη char[8] ŭ ޸𸮸 Ҵ ְ, ϰ ֽϴ. ڵ带 Ű Ʒ â ޸ Ž Ǿٴ ޽ Ÿϴ.

 

 

â ޽ ׸ ڽ ڸ صμ. ޸𸮰 Ǵ ġ Ű ִ Դϴ. ̿ ޸ ġ ãƺ ϰڽϴ.

 

켱 α׷ ƹ ߴ ɰ ϴ. ǵ ̸ α׷ Ŵ ϴ. 忡  Ʒ â {,,msvcrXXXd.dll}_crtBreakAlloc Էݴϴ. XXX Ʃ ݴϴ. 2008 msvcr90d.dll, 2010 msvcr100d.dll, 2012 msvcr110d.dll Դϴ.

 

 

â Էϸ ó -1 Դϴ. ⿡ â Դ ޸ ġ Էݴϴ. 108 . F5 α׷ 簳մϴ.

 

׷ 𼱰 ߴ ɸϴ. ݽ Ȯغϴ.

 

 

ߴ ɸ msvcr110d.dll Դϴ. κ ̴ Ű ð, ø ۾ ȣ κ ֽϴ. ...

 

 

¥~ ޸𸮸 Ҵϰ κ ãƳ½ϴ. ̷ CRT ̺귯 ̿Ͽ ޸ ã ֽϴ.

 

 

Ǵ ġ ã

ϴٺ Ư Ǵ ˰ ֽϴ. ϴ ˻Ͽ ߴ ɾ ߴ ̿ϸ ϴ ս ã ֽϴ.

 

ϰ ּҸ ľմϴ.

 

 

Ʃ -> ߴ -> ߴ մϴ. ⿡ ּ Է ݴϴ. Ÿ ũ մϴ.

 

 

ߴ ߰ , F5 簳մϴ. ׷ 𼱰 ش Ͱ Ǹ Ʒ ߴ ۵ϰ ˴ϴ.

 

 

SexyUp Լ ش ͸ ϴ ˾Ƴ½ϴ.

 

 

DLL Ǵ

 

1. Static Library Ͽ DLL ϸ LINK error ߻Ѵ.

̰ Satatic Library libxxx.lib DLL msvcrxx.lib 浹ε, Link error ޽ Satatic Library libxxx.lib LINKҶ ϸ ȴ.

LINK->Input Ignore Specific Library libcmt.lib Ͽ.

 

1.1 Link2005

 

 

2. Static Library Import ʴ LINK

 

DLL ټ Static Library Ͽ Import . USE Libray Dependecy Inputs yes Ǿ ־ Ѵ.

 

 

3. VS2010 DLL

VS 2008 ξ ƴ. ũ ÷ Ͼ ̸ ϴϾ ϸ Ѵ.

 

3.1 Concept

Thread DLL MSVCRT.lib (C ̺귯)  MSVSPRT.lib (C++ ̺귯) Ѵ. , ̿ ϴ ̺귯, LIBCMT.lib LIBCPMT.lib ܽѾ Ѵ.

 

, TDllEncoder ӵǴ static ̺귯, TLibCommon, TLibEncoder, TLibVideoIO (̰ ص ȴ), TAppCommon Thread DLL ߾ Ѵ.

 VS2008 ̷ ʿ䰡 , VS2010 ̷ ؾ Ѵ.

 

, TDllEncoder VS2008   USE Libray Dependecy Inputs Yes Ǿ ־ Ѵ.

 

̷ DLL ´.

 

, ̺귯 DLL , static library ϴ TAppEncoder ũ . TAppEncoder 쿡 ٽ 4 ̺귯 Ƽ static ٲپ ־ Ѵ.

 

 

 

 

 

 

޸ Allocation Ҷ

 

int ** em_tmm;

 

1. ù° ޸ Ҵ

 

em_tmm    = (UInt **)_aligned_malloc(ETRI_VER_nSAD * sizeof(Int *), 32);

 

Int * ޸𸮸 Ҵؾ Ѵ. ׷ ̴. 32Ʈ Int * Int 64Ʈ size(int)=32 < size(int *)=64 ̹Ƿ ̷ ϴ.

 

2. ι° ޸ Ҵ, ι° ̸ ̷ ϰ ƴϸ size(int *) ƾ Ѵ.

 

em_tmm[0] = (UInt *) _aligned_malloc(ETRI_VER_nSAD * ETRI_HOR_nSAD* sizeof(Int), 32);

for (j=1; j<ETRI_VER_nSAD; j++)

em_tmm[j]=  em_tmm[j-1] + ETRI_HOR_nSAD;

 

̷ ƾ ޸𸮰 .

 

----- ڹ ġ

 

Ǿ ms java ġߴ oracle java ġߴ ,

etriware ؼ ǻͿ freemind, staruml java α׷ ֽϴ.

 

etriware java ϴ.

Ȯ ̴ java ms java̾߸ etriware .

 

oracle java jre(32bit) ޴ ؼ " java " ֽϴ.

ɼ on/offʹ ϰ os 󿡼 .jar Ȯ oracle java jre ؼ ˴ϴ.

 

Ǵ oracle ڹ α׷ Ͻø,

ms java oracle java jre ϳ 쿡 ÿ ġؼ Ͻ ֽϴ.

, os 64Ʈ̴ oracle java jre 32Ʈ ġϽñ ϴ.

 

1.  Boost Library  ġ

1.1 ġ exe Ѵ.

c:\local ġȴ.

1.2 bootstrap.bat Ѵ.

ð ɸ b2.exe bjam.exe ȴ.

1.3 b2 Ͽ built ɼ ־ build Ѵ.

 

 

MPI ̺귯 ִ.

 

׷, ɼǿ Skipping Ǿ ִ ̺귯 Add-On ش ħ .

 

ڼ ɼ

http://www.boost.org/libs/python/doc/building.html

Ѵ.

 

64Ʈ ġ

 

C:\local\boost_1_54_0>b2 toolset=msvc-9.0 variant=debug,release link=static threading=mult

i address-model=64 runtime-link=static

 

32Ʈ ġ

C:\local\boost_1_54_0>b2 toolset=msvc-9.0 variant=debug,release link=static threading=mult

i address-model=32 runtime-link=static

 

Visual C++ 8.0 : msvc-9.0

Visual C++ 2010 : msvc-10.0

Visual C++ 2012 : msvc-11.0

 

c++ Standard Library ̰ .

 

include ϰ Linker Library Path ˷ش.,

 

 

CPP Ʈ

Include ϰ Ŀ .

Include

 

Ʈ ->Properties->C/C++ ->General ->Additional Include Directories

c:\local\boost_1_54_0

 

 

Linker  

Ʈ ->Properties->Linker ->General ->Additional Library Directories

c:\local\boost_1_54_0\stage\lib ߾ ϳ, Thread Library ű ʰ

c:\local\boost_1_54_0\lib32-msvc-9.0  ִ. ⿡ ߾ Ѵ.

64Ʈ

c:\local\boost_1_54_0\lib64-msvc-9.0 

 

׸ threadpool package ޾ ش package boost boost_1_54_0 boost īѴ. ׷ boost threadpool.hpp 򸮰 ߰ threadpool ȴ.

 

task_adaptor.hpp տ

 

#include <boost/version.hpp>
#if BOOST_VERSION < 105000
#define TIME_UTC_ TIME_UTC
#endif

ο TIME_UTC TIME_UTC_ ġų ݴ Ѵ.

 

 

 

2013.10.25

1. Լ in C++

C++ Լ ʹ C Լ Ϳʹ ޸, Class Scope, Static Լ  ſ Ǿ .

 

1. 1  Class ۿ Լ ͸ ϰ Լ Ͱ Class Լ , .

 

class TestFunctions;

// for function pointer

typedef void (TestFunctions::*FpFunc)(int* );

 

typedef struct __ThreadData

{

         int              InputData;

         int              OutputData;

         HANDLE       mevent;                //Event

 

         bool            bWork;

 

         TestFunctions*       m_pcTF;

         FpFunc        s_pf;

 

}ThreadData;

. . . . . . .

class  TestFunctions

{

 

public:

 

         ThreadPool            m_sThreadPool;

         ThreadData*          m_psThreadData;

         ThreadHandles*      m_psThreadHandles;

 

         MSGBlock             m_sblock;

         FpFunc                 m_fpFunc[MAX_THREAD];

 

1.2 Լ Class TestFunctions Լ ϶, Class Լ͸ .

 

         m_fpFunc[0] = &TestFunctions::TestSUMThread_1;

         m_fpFunc[1] = &TestFunctions::TestSUMThread_2;

 

1.3 static Լ Class Լ ͸ Ϸ ؾ Ѵ.

Լ ʹ ThreadData ü μ ǵǾٰ , ,

 

pParam->s_pf = m_fpFunc[0]  ̷ ..  , pParam ü ͸ Ŀ , Լ ڰ ȴٰ .

 

void TestFunctions::WorkerThreadFunction(ThreadData* pParam)       //Լ static

{

         bool            WorkCondition = true;

         int              sValue, *iValue = &sValue;

 

         TestFunctions*    Lm_pcTF = pParam->m_pcTF;

 

 

         while(WorkCondition)

         {

                 Lm_pcTF->Synchro_Event(pParam);

 

                 WorkCondition = pParam->bWork;

                 sValue = pParam->InputData;

 

                 (Lm_pcTF->*pParam->s_pf)(iValue);

        

                 _tprintf(_T("InputData: %d \n"), sValue);

 

         };      //      while(WorkCondition)

 

 

         Lm_pcTF->Set_Event(pParam);

}

 

, Class ϴ  ڶ ǵǸ

TestFunctions*    Lm_pcTF

TestFunctions             Lm_cTF

ϳ Ǿ ִٸ

 

Լ ʹ ؾ Ѵ. ( Լ Ͱ m_fpFunc[0] ̶)

(Lm_pcTF->*m_fpFunc[0])();

(Lm_cTF::*m_fpFunc[0])();        

, Լ Scope Class Ȯϰ ־ static Լ ȴ.

 

 

2. Threadpool

Threadpool Thread Ű Thread δ while ϰ , ǿ Լ ϰ ϰ ̴.

̸ , Thread 带 ̰ Thread Ҹ ְ ̴.

 

Mutex Event , Thread ͸ ְ ޵ ϴ ̴.

 

Mutex Thread Sub Thread ȭ ؼ (Main Thread Ļ Sub Thread ȭ ȴ.)

׸ Event Thread Sub Thread ͸ ְ ޴ ñ׳θ ϱ ȴ.

 

int main()

{

               TestFunctions        m_cTF, *m_pcTF = &m_cTF;

 

               m_cTF.InitialDataSetting(&m_cTF.m_sThreadPool);

               m_cTF.InitThread();

 

               // Data Setting

               {

                              m_cTF.Synchro_Mutex(); //Mutex ٷ 带 ȭ Ų.

                             

                              m_cTF.SetThreadData(0, false, 10);

                              m_cTF.Set_Event(&m_cTF.m_sThreadPool.workerThreadData[0]);

 

                              m_cTF.SetThreadData(1, false, 20);

                              m_cTF.Set_Event(&m_cTF.m_sThreadPool.workerThreadData[1]);

 

                              m_cTF.Release_Mutex();

               }

 

               // Thread Working

 

 

               // Data Acqusition

               {

                              HANDLE   hEVENT[MAX_THREAD];      

                             

                              m_cTF.Synchro_Mutex();

                             

                              for(int k=0; k<MAX_THREAD; k++)

                                             hEVENT[k] = m_cTF.m_sThreadPool.workerThreadData[k].mevent;

 

                              WaitForMultipleObjects(MAX_THREAD, hEVENT, true, INFINITE); ̺Ʈ ٸ.

 

                              _tprintf(_T("ThreadFunction[0] Output: %d \n"),  m_cTF.m_sThreadPool.workerThreadData[0].OutputData);

                              _tprintf(_T("ThreadFunction[1] Output: %d \n"),  m_cTF.m_sThreadPool.workerThreadData[1].OutputData);             

 

                              m_cTF.Release_Mutex();

               }

              

               // Final

               m_cTF.CloseThread();

 

               printf("\n");

               printf("Test is finished \n");

 

               return 0;

}

 

 

̸ ü .

 

typedef struct __ThreadData

{

               int                           InputData;

               int                           OutputData;

               HANDLE                  mevent;                  //Event

               bool                       bWork;

               TestFunctions*      m_pcTF;

               FpFunc                   s_pf;                      

 

}ThreadData;         EVENT Sub Thread ޶ Ѵ.

 

typedef struct __ThreadHandles

{

               HANDLE   hThread;

               DWORD   idThread;

 

}ThreadHandles;

 

typedef struct __ThreadPool

{

               ThreadHandles*    workerThreadList;

               ThreadData*          workerThreadData;

 

}ThreadPool;

 

typedef struct         __msg_block

{

               HANDLE   mutex;                    //mutex   Mutex Ǿ Ѵ.

 

}MSGBlock;

 

class      TestFunctions

{

public:

               ThreadPool            m_sThreadPool;

               ThreadData*          m_psThreadData;

               ThreadHandles*    m_psThreadHandles;          

 

               MSGBlock              m_sblock;

               FpFunc                   m_fpFunc[MAX_THREAD];

 

 

Project ϸ Ʈ ϱ

 

l. ϴ ַǿ Ʈ .

 

 

丮 ߾ ϸ ü ȴ.

 

d:\WORK-2013\HEVC_ETRI\HM10.0\build\vc9\  TAppMultiEncoder ϴ ̴.

, Solution sln ״ ϸ鼭 d:\WORK-2013\HEVC_ETRI\HM10.0\build\vc9\ TAppMultiEncoder ȴ.

 

, TAppMultiEncoder 浹 ִ ̴.

 

 

ǵ ַ TAppEncoder_vc9 ַ Ʈ ׸ .

 

(Project Properties->General->Output Directory->Edit ->Macro 캼 ִ)

 

̶ Input Directory

 

Output Project 丮 캸

 

 

̸ 丮 غ

Input Directiry, Input Path, IntDir ٸ. (׸ TAppMultiEncoder 丮̴.)

 

Output Project Directory

OutDir/ ProjectDir/ProjectPath ٸ.

 

TargetDirectory, Target Path ٸ.

̸ ٸ ͵鵵 ٸ ͵ ִ. ׷ ü ߱ ؼ ߿ Input File Name/Input Name/Project File Name Safe File Name ̴.

 

, _vc9 ٴ ߿ϴ.

 

Input ٲٱ ؼ ϰ CPP ٿ ϴ Ʈ ϰ Ѵ.

 

*.sln (Solution ) Path vcproj ̸ Ѵ.

 

Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TAppMultiEncoder", "vc9\TAppMultiEncoder_vc9.vcproj", "{F8B7B6EF-3632-490E-99D6-3A3C8FF1678D}"

 

׸ ش TAppMultiEncoder_vc9.vcproj TAppMultiEncoder_vc9.vcproj.jinwuk-PC.jinwuk.user  ־ش.

 

Inherit from parent or project defaults üũ Ǿ Ƿ ڵ ش Ʈ ̸ ٲ.

 

Ǵ 丮 Input Directiry, Input Path,  ProjectDir, ProjectPath ڵ Ǹ Input File Name, Input Name, Project File Name Safe File Name ڵ ȴ.

 

IntDir Intermediate Directory ̱ Project Property Ŵϰ ؾ Ѵ.

 

TAppEncoder Ʈ ؼ ־ش.

() $(ConfigurationName)

() $(SolutionDir)\vc9\$(PlatformName)\$(ConfigurationName)\$(RootNamespace)

 

̷ Ǹ

ȴ.

 

OutDir Configuration Properties->General ã ȴ.

$(SolutionDir)$(ConfigurationName)

$(SolutionDir)\..\bin\vc9\$(PlatformName)\$(ConfigurationName)

Ѵ.

 

̰ Target Path ȴ. Target Name  Linker->General->Output File Ѵ.

 

߰ C/C++

Additional Include Directory

 

"$(SolutionDir)\..\source\Lib\";"$(SolutionDir)\..\compat\msvc"

ش. DLL ̴.

 

׷ ̷ ϰ ٰ ȵǴ 찡 ִ.  쿡 Ʈ ־ ߻ ̹Ƿ ش ߴٰ ٽ ȴ.

 

Character Set Use Multi-Bute Character Set θ üũѴ.

 

 

Windows Server 2008 ftp ȭ

 

1. Ե Windows ȭ (->-> Ե Windows ȭ)

 

2. â ιٿ Ģ -> Ģ -> ιٿ Ģ -> α׷

 

 

 

 

3. α׷ ο ãƺ ->  windows\system32\ftp

 

4. ۾ ܰ迡

 

5. ʿ Ģ õǾ

6. ̸ ftp   ̶ ϰ ġ ο ιٿ Ģ

 

 

SxS ߻ (sxstrace )

 

c:\Jinwuk>sxstrace

WinSxs ƿƼ

: SxsTrace [ɼ]

ɼ:

   Trace -logfile:FileName [-nostop]

       sxs ϵ մϴ.

       α״ FileName ˴ϴ.

       -nostop θ ʽϴ.

   Parse -logfile:FileName -outfile:ParsedFile  [-filter:AppName]

       ִ ȯ ParsedFile

մϴ.

       -filter ɼ Ͽ ͸մϴ.

   Stoptrace

       Ǿ մϴ.

:  SxsTrace Trace -logfile:SxsTrace.etl

          SxsTrace Parse -logfile:SxsTrace.etl -outfile:SxsTrace.txt

 

 

1. cmd ϳ . SxsTrace Ѵ.

 

2. ø̼ Ѵ.

ø̼ command â Ǵ ̸, ٸ Command â ش.

 

3. ߻ Ѵ.

4. ߻Ͽ ø̼ ϸ SxsTrace Ǵ â Enter Ų.

5. etl α Parsing Ͽ Ѵ.

 

 

Side by SIde ߸Ǿ α׷ ϴ ذ

 

̺Ʈ 

 

"..." Ȱȭ ؽƮ ߽ϴ.

Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0"

() ã ϴ. ڼ ؼ sxstrace.exe Ͻʽÿ.

 

Ȥ

 

 

̷ ,

 

SxsTrace 캸 ִ.

 

Ȱȭ ؽƮ մϴ.

Է Ű :

         Flags = 0

         ProcessorArchitecture = AMD64

         CultureFallBacks = ko-KR;ko;en-US;en

         ManifestPath = c:\Jinwuk\HEVC_Encoder_0.dll

         AssemblyDirectory = c:\Jinwuk\

         Application Config File =

-----------------

: c:\Jinwuk\HEVC_Encoder_0.dll Ŵ佺Ʈ мϴ Դϴ.

         : Ŵ佺Ʈ ID (null)Դϴ.

         : : Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"

: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" Ȯϴ Դϴ.

         : ProcessorArchitecture amd64 Ȯϴ Դϴ.

                 : culture Neutral Ȯϴ Դϴ.

                          : ε å ϴ Դϴ.

                                  : Խ å ϴ.

                                  : ε å 𷺼 ϴ.

                          : ˻ մϴ.

                                  : WinSxS ã ߽ϴ.

                                  : C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.DLL Ŵ佺Ʈ ˻Ϸ մϴ.

                                  : c:\Jinwuk\Microsoft.VC90.CRT.DLL Ŵ佺Ʈ ˻Ϸ մϴ.

                                  : c:\Jinwuk\Microsoft.VC90.CRT.MANIFEST Ŵ佺Ʈ ˻Ϸ մϴ.

                                  : c:\Jinwuk\Microsoft.VC90.CRT\Microsoft.VC90.CRT.DLL Ŵ佺Ʈ ˻Ϸ մϴ.

                                  : c:\Jinwuk\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST Ŵ佺Ʈ ˻Ϸ մϴ.

                                  : culture Neutral Ŵ佺Ʈ ã ߽ϴ.

                          : ˻ ϴ.

         : Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" Ȯ ϴ.

: Ȱȭ ؽƮ ߽ϴ.

Ȱȭ ؽƮ ϴ.

 

ù  ȰȭؽƮ HEVC_Encoder_0.dll dl x64 α׷̸ Ư Path ʾұ⿡ ManifestPath Assembly Path ManifestPath = c:\Jinwuk\HEVC_Encoder_0.dll, AssemblyDirectory = c:\Jinwuk\ Ǿ ִٴ ̴.

 

, 翬 ش 丮 Manifest .

׷ ش DLL Manifest мϸ ϴ, Manifest Ƿ DLL мϿ Manifest Ѵ.

 

Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"

 

,ϴ, OS WinSxS Microsoft.VC90.CRT ̺귯 ã Ѵ.

 

                          : ˻ մϴ.

                                  : WinSxS ã ߽ϴ.

 

WinSxS ̺귯 Ƿ 翬 ã Ѵ.

SxsTrace , Microsoft.VC90.CRT Sxs ̺귯 ̸ ش ̺귯 msvcr90.dll ( msvcr90d.dll) ̴. VC90 ؼ ׷ ̸ VC80̸ msvcr80.dll ( msvcr80d.dll), VC100̸ msvcr100.dll ( msvcr100d.dll) ̴.

 

ذå ִ.

 

ϴ Ű Ѵٴ ̴.

Visual C++ Redist Ű ġϸ ذ ȴ.

 

, install ڵ ġǴ ξ ϴ.

TDllEncoder_HM101r_x86v09F135.dll ġϴ Ű ذϵ Ѵ.

 

Setup Program

1. ʿ WInSxS Ű

1. Ʈ .

 

 

 

 

 

 

 

2. New Project->Other Project->Setup and Deployment ϰ Merge Module Project Ѵ.

3. ̸ ְ Ʈ Ʈ ȴ.

 

4. Solution explorer MergeModule Ʈ ̸ ->Add->MergeModule Reference Ѵ.

 

 

5. տ 캻 msvcr90.dll ġϱ ؼ WInSxS α׷ ֱ MicroSoft_vc90_CRT_x86_x64 Ѵ. Ű C:\Program Files\Common Files\Merge Modules Ǵ μ Visual Studio SDK ϰ Ǹ ý ̺귯 ϴ msm Ű̴.

 

 

̴ Windows System ̺귯 c:\Windows\winsxs ִµ, c:\Windows\winsxs  ȿ ý ̺귯 ִ.

 

Sxstrace ؼ ˰ ִ ʿ Sxs

 

Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"

 

̹Ƿ

 

amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.210228 . ãƺ. ش Sxs ϳ ۿ .

 

 

msvcm90.dll,  msvcp90.dll , msvcr90.dll ִ.

տ 츮 ġϰ ϴ ý dll ִ.

 

6. Ű Ѵ. ʿϸ ش Ʈ Properties->Output File name Browse θ ִ.

 

 

2. Setup Program

1. New Project->Other Project->Setup and Deployment ϰ Setup Project Ѵ.

 

2. ̸ ְ Ʈ Ʈ ȴ.

 

3. File System -> Application folder Add->FIle Ѵ.

 

ġϰ ϴ DLL  TDllEncoder_HM101r_x86v09F135.dll Ѵ.

׸ TDllEncoder_HM101r_x86v09F135.exe Ѵ.

տ ý ̺귯 Ű Solution Exploere Ʈ ̸->ADD->MergeModule Է ޴´. ׷ տ MergeModule_HEVC_DLL.msm ԵǸ鼭 Detected Dependecy ڵ ʿ msm  ȴ.

 

 

 

4. ־ Ѵ. ϰ Ѵٸ ؾ Ѵ.

 

5. ش Ʈ Property ߿ Parameter Ѵ. (TargetPlatform : x86->x64 )

 

6. õ Ʈ ̸->View ִ. ؼ ϰ Ǹ ̴.

 

 

 

 

7. Setup α׷ Ϸ ġ, Windows Server 2008  Ȥ Dotnet Framework 3.5 ġ 찡 ִ. Windows update ġϰų, (3.5/4.5) Ȥ Ʈ->Properties->Prerequissities ̺κ üũ Ͽ ִ. Ȥ ʿ ̺귯 üũϿ ų ִ

׷ dotnetFramework 3.5 ġ ؼ ݵ ġ Ǿ ־ Ѵ.

 

 

.NetFramework 3.5 Windows Server 2008 ġϴ

 

->->->->߰->.NetFramework 3.5 ϸ ġ

 

 

Pointer Ǿ ʾҴ üũϴ

Windows API IsBadReadPtr

 

IsBadReadPtr function

4 out of 7 rated this helpful - Rate this topic

Verifies that the calling process has read access to the specified range of memory.

Important  This function is obsolete and should not be used. Despite its name, it does not guarantee that the pointer is valid or that the memory pointed to is safe to use. For more information, see Remarks on this page.

Syntax

C++

Copy

BOOL WINAPI IsBadReadPtr(
  _In_  const VOID *lp,
  _In_  UINT_PTR ucb
);

Parameters

lp [in]

A pointer to the first byte of the memory block.

ucb [in]

The size of the memory block, in bytes. If this parameter is zero, the return value is zero.

Return value

If the calling process has read access to all bytes in the specified memory range, the return value is zero.

If the calling process does not have read access to all bytes in the specified memory range, the return value is nonzero.

If the application is compiled as a debugging version, and the process does not have read access to all bytes in the specified memory range, the function causes an assertion and breaks into the debugger. Leaving the debugger, the function continues as usual, and returns a nonzero value. This behavior is by design, as a debugging aid.

 

Bad Pointer̸ True ̸ false

 

 

for (int k=0; k<2; k++){

bool      badPtr = IsBadReadPtr(testOutput[k],(MAX_ANNEXB_BUFFER_SIZE * sizeof(char)));

 

if (!badPtr) _aligned_free(testOutput[k]);

testOutput[k] = NULL;

}

 

asdasdas

 

Sony Raw MXF

. Sony Raw Viwer ؾ Ѵ.

version 2.1.1.0100 θ MXF ȯ ų ִ.

 

÷ Default Color ϸ İ ´.

 

ִ

 

Input Setting -> Color REC709 / Tone Curve REC709 ߾ Ѵ.

(HDTV Color Space)

 

ٸ ÷ ִ.

 

Redmine Tortoise Subversion

 

ϴ, Redmine Subversion Tortoise Subversion ġǾ ִٰ .

 

Tortoise Subversion .

http://hotcoffee.tistory.com/entry/Tortoise-SVN-%EC%84%A4%EC%B9%98-%EB%B0%8F-%EA%B8%B0%EB%B3%B8%EC%82%AC%EC%9A%A9%EB%B2%95 

 

Windows Redmine 뿡 ؼ .

http://nieaunder.egloos.com/viewer/4627054

 

ũ ־.

http://cluster1.cafe.daum.net/_c21_/bbs_search_read?grpid=1Kqux&fldid=GMj7&datanum=10&openArticle=true&nil_openapi=search

 

 

Subversion Repository .

 

C:/BitNami/Subversion_repo 

 

丮 ȿ Create Repository ϸ C:/BitNami/Subversion_repo Repository ȴ. ,

 

̶ Ҵ

 

C:/BitNami/Subversion_repo/trunk ؾ Ѵ. ׷ ȴ.

 

׸ trunk Tortoise Subversion Ͽ Import ״ٰ .

 

 

̶ Ѵ. ݱ ,  ʾҴ.

 

 

c:\BitNami\Subversion_repo\conf\passwd 

 

 

[users]

# harry = harryssecret

# sally = sallyssecret

root = root00

 

̷ ߰ ־ Ѵ. ID pw ̴.

 

 

c:\BitNami\Subversion_repo\conf\svnserve.conf

 

svn server conf ־ Ѵ.

 

 anon-access = read

 auth-access = write

 password-db = passwd

 

̷ Ǿ Ѵ.

 

â ϵ redmineSubversion ϴ. ( µ sc ɾ ֳ׿)

    \BitNami Redmine Stack\Subverion\scripts\serviceinstall.bat REMOVE

 

̷ ص ǰ

Stop ѵ ȴ.

 

Redmine Subversion Config ־ Ѵ.

 

c:\BitNami\redmine-2.4.2-0\subversion\scripts\serviceinstall.bat

 

߰

"C:\BitNami\redmine-2.4.2-0/subversion\scripts\winserv.exe" install redmineSubversion -displayname "redmineSubversion" -start auto "C:\BitNami\redmine-2.4.2-0/subversion\bin\svnserve.exe" -d --root="c:\BitNami\Subversion_repo" --listen-port=3690

 

̷ ־ Ѵ. ̰ ߿ϴ.

 

ٽ redmineSubverion 񽺷 Ѵ.

    \BitNami Redmine Stack\Subverion\scripts\serviceinstall.bat INSTALL

 

Ȥ

Start ѵ ȴ.

 

׸

 

c:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\config\configuration.yml

 

Redmine Config ̴.

 

κ ٸ ĥ ʿ䰡 .

,

 

c:\BitNami\redmine-2.4.2-0\scripts\setenv.bat

 

ϸ ⺻ redmine Path ȴ.

 

set PATH=C:\BitNami\redmine-2.4.2-0/git\cmd;C:\BitNami\redmine-2.4.2-0/DevKit\bin;C:\BitNami\redmine-2.4.2-0/DevKit\mingw\bin;C:\BitNami\redmine-2.4.2-0/sqlite;C:\BitNami\redmine-2.4.2-0\imagemagick;C:\BitNami\redmine-2.4.2-0\ruby\bin;C:\BitNami\redmine-2.4.2-0/subversion\bin;C:/BitNami/redmine-2.4.2-0/php;C:\BitNami\redmine-2.4.2-0/mysql\bin;%PATH%

 

 

subversion path dz. Git ִ.

 

rem ##### GIT ENV #####

 

߰ ϴ .                         

 

Redmine Tortoise Git

1. Tortoise Git ġѴ. Windows Git ġ ʿ䰡 . Redmine Ͽ ϸ ȴ.

 

2. Redmine Git ΰ ʴ. redmine c:\BitNami\redmine-2.4.2-0\scripts\setenv.bat   Path ְų ƿ Git.exe θ ִ ؾ Ѵ.

 

3. Git Repository Ѵ. Git ServeVersion ޸ ó GitHub Ȥ Google Origin ̰ Clone  ҿ ϴ Ѵ.

 

4. Git ġ Ʈ Ѵ.

http://dikafryo.kr/entry/github-

http://dikafryo.kr/entry/github--24-TortoiseGit-ġ

http://dikafryo.kr/entry/github--34-SSH--Key---Ű-

http://dikafryo.kr/entry/github--44-github-----ҿ--

 

Ű

c:\BitNami\Git_Repository\GitKey\mygitkey.ppk

Ǿ ִ.

 

5. Git Repository GitHub Pull ؾ Ѵ. ׷ ȣ غǰ Push ؾ Push ȴ.

 

6. ̻ ǰ Ҹ Bare ҷ ϸ Git ҷ ִ.

 

c:\BitNami\Git_Repository\General_Project\test_Git\.git

 

Bare Ҵ .git ̴.

 

Redmine Plugin ġ

c:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\plugins\

 

ġѴ.

 

redmine_code_review plugin ִٸ ش plugins Ѵ.

 

1. MySQL Database Ѱ Ѵ. (Ư Apache)

2. Ѵ Shift Ͽ Ѵ.

 

3. ̵Ѵ.

C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs

 

4. ̰ Ѵ.

ruby bin\rake redmine:plugins:migrate RAILS_ENV=production

 

Linux ʹ ٸ ruby ü Redmine ϳ, rake ü డ 0.9.2 ̸ plugin ġ 10.0.1

 

C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\bin

 

ؿ Ƿ ̷ Ѿ Ѵ.

 

5. ٽ Ѱ redmine Ѵ.

 

6. plugin .

Bitnami Redmine stack cmd Ű ̵Ѵ.

 

C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs

 

7. ⿡ Ѵ. (plug-in ̸ redmine_code_review )

ruby bin\rake redmine:plugins:migrate NAME=redmine_code_review VERSION=0 RAILS_ENV=production

 

ruby bin\rake redmine:plugins:migrate NAME=redmine_ckeditor-master VERSION=0 RAILS_ENV=production

 

8. ش ÷ .

 

9. ٽ Ѵ.

ruby bin\rake redmine:plugins:migrate RAILS_ENV=production

 

10. Ѱ 帶 Ѵ.

 

 

C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\plugins>bundle install --without development test

 

CKEditor Pluin ġ

1. MySQL ѵ ߴѴ.

2. ۾Ѵ.

 

C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs

 

C:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\plugins\redmine_ckeditor>

 

 

bundle install --without development test

 

 

c:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\vendor\bundle\ruby\1.9.1\gems\rake-10.1.0\bin\rake

 

c:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\vendor\bundle\ruby\1.9.1\gems\rake-10.1.0\bin\rake redmine:plugins:migrate RAILS_ENV=production

 

CKeditor ġ б

http://redmine.or.kr/boards/4/topics/225?r=226

 

Daum Pot Player WebDaV

 

 

ȣƮ IP ش.  Ȥ http:// ּҸ ش.

ݵ WebDav Port Ȯؾ Ѵ.

׸ ÿ ȭ Ѵ.

UTF8 ѱ check Ѵ.

 

 

 

Local ǻͿ Git Server

 

http://composite.tistory.com/40

http://www.codeproject.com/Articles/296398/Step-by-Step-Setup-Git-Server-on-Windows-with-CopS

 

3 α׷ ġѴ.

 

-     Msysgit (server and Client)

-     CopSSH (server side)

-     PuTTY    (server and Client)

 

, MSysgit CopSSH ġǾ ְ

Client Server TortoiseGit ġǾ ִٰ Ѵ. (PuTTY TortoiseGit ִ)

 

1.  ȯ溯 ش.

 

C:\Program Files\Git\bin

C:\Program Files\Git\libexec\git-core

 

2.  CopSSH ġѴ. Service Account Password .

 

Service Account : SvcCOPSSH

password          :  root0000

 

 

3.  CopSSH Control Panel .

 

 

4.  Users -> Add

 

5.  ǻͿ Access User Windows ϳ ϵ Ǿ ִ.

root Ѵ.

 

 

6.  õǵ Ѵ. (Linux Shell Windows shell ٲ ִ)

 

 

Apply Activation Ų. ð ɸ. Activation Ǹ User â . Keys ŬѴ.

 

         

 

Key wizard . Ĵ Ѵ. Passphrase jnwseok21408 Ѵ. File ̸ Է̴. Confirm Apply Ѵ.

 

      

 

Ϸϸ . c:\Users\root\jnwhome-root_2048.ppk Ѵ. Client ߿ Ѵ.

 

root@ROOT-PC ߿ϴ.

 

Git bash

ssh root@ROOT-PC  -> root@root-PC pw : root00 -> git ϸ Ѵ.

 

̴ CopSSH Path ߱ ̴.

 

CopSSH Service Stop Ű c:\Program Files\ICW\etc\profile .

Git ġϴ ̹Ƿ

 

C:\Program Files\Git\bin

C:\Program Files\Git\libexec\git-core

 

profile Ѵ.

 

 

export PATH="/bin:$syspath:$winpath:/cygdrive/c/Program Files/git/bin:/cygdrive/c/Program Files/git/libexec/git-core"

ش.

 

copSSH ٽ Ȱȭ Ų.

ٽѹ Ȱ Bash Է .

 

 

ٸ. login ȴ.

 

߰ߵ

1.   Profile : Profile Ͽ ̴. , notepad ϴ. $\r ߻Ѵ. , LF/R ߻Ѵ.

2.  

ssh ȵǴ - Host key verification failed.

üϰų, ǿ ĥ
${HOME}/.ssh/known_hosts
Ͽ ִ ٶ ̴.
"
" , س ȵDZ ̴.

ذ , ϰų(׷ ӽ Ű ޾ƾ ϴ )
ش ǰ ִ ȴ.

$ ssh USERID@SERVER_IP
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
5b:c1:63:e6:6c:53:30:ea:fd:fd:f3:72:22:a0:a1:aa.
Please contact your system administrator.
Add correct host key in /home/USERID/.ssh/known_hosts to get rid of this message.
Offending key in /home/USERID/.ssh/known_hosts:2
RSA host key for SERVER_IP has changed and you have requested strict checking.
Host key verification failed.

 

̸ ̷ ȴ.

 

TortoiseGit PuttyGen Ѵ.

 

 

User/root <- root ߻Ƿ ִ ppk LoadѴ.

 

 

Passphrase 䱸ϹǷ ̸ ϰ ־ Ѵ.

 

Ǹ ̷ ޽ .

 

Saveprivate key Ѵ.

 

 

־ Git Repository Github Ͽ Git Repository .

 

Github ̷ Ǿ Ƿ

https://github.com/Jinwuk/HEVC_Encoder.git

git@github.com:Jinwuk/HEVC_Encoder.git

 

https://jnwhome.iptime.org/root/ ETRI_HEVC_Git_Home.git

git@jnwhome.iptime.org:root/ ETRI_HEVC_Git_Home.git

 

 

    README.md ׷ add ȴ.

   

 

ּҸ ߸ origin ؼ ߻ . TortoiseGit origin ϰ ٽ Ѵ.

 

ߵȴ.

 

ڲ Ѵ.

 

⼭ ϴ ϴ commit ȵǾ ̴.

 

 

 

Redmine Subversion Repository 404

 

c:\BitNami\redmine-2.4.2-0\apps\redmine\htdocs\lib\redmine\scm\adapters\subversion_adapter.rb

 

 

ִ.

SSH ִ.

 

׷ ƴ϶, password Config Ͽ DOS Style LF/CR  ̴.

DOS ŸϷ ΰ , DOS ŸϷ ʾƾ Ѵ.

, Config տ ĭ Ǹ, Subversion ˾Ƶ ϹǷ տ ٿ ǵ ؾ Ѵ.

 

ߵǴ, password ϰ Config ̿ϴ ͵ ̴.

 

Redmine Config

 

c:\Bitnami\redmine-2.4.3-0\apps\redmine\htdocs\config\configuration.yml

 

 

Windows Profile

 

 

Doxygen ׸ ȳ

 

Graphviz ֽ PATH ʾƼ ߻ ̰ų, Graphviz ̸ ʾ ߻ ̴.

 

1.  PATH ذ

 

Wizard->Expert->Dot DOT_PATH Dot.exe ִ ش.

 

 

2.  PNG ̸

Wizard->Expert->Project SHORT_NAMES üũ ش. Config YES ȴ.

 

 

Bitnami Redmine ּ SQL ϱ.

 

C:\Bitnami\redmine-2.4.2-0\mysql\bin Ͽ Ѵ. Path ʴ.

 

My SQL ID Password c:\Bitnami\redmine-2.4.2-0\apps\redmine\htdocs\config\database.yml ִ.

 

C:\Bitnami\redmine-2.4.2-0\mysql\bin>mysql -u bitnami -p bitnami_redmine

Enter password: **********

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 32

Server version: 5.5.34 MySQL Community Server (GPL)

 

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

 

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

 

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 

 

mysql> show variables like 'c%';

+--------------------------+-----------------------------------------------+

| Variable_name            | Value                                         |

+--------------------------+-----------------------------------------------+

| character_set_client     | utf8                                          |

| character_set_connection | utf8                                          |

| character_set_database   | utf8                                          |

| character_set_filesystem | binary                                        |

| character_set_results    | utf8                                          |

| character_set_server     | utf8                                          |

| character_set_system     | utf8                                          |

| character_sets_dir       | C:\Bitnami\REDMIN~1.2-0\mysql\share\charsets\ |

| collation_connection     | utf8_general_ci                               |

| collation_database       | utf8_general_ci                               |

| collation_server         | utf8_general_ci                               |

| completion_type          | NO_CHAIN                                      |

| concurrent_insert        | AUTO                                          |

| connect_timeout          | 10                                            |

+--------------------------+-----------------------------------------------+

14 rows in set (0.00 sec)

 

 

SSH Tunneling

http://wiki.dgoon.net/doku.php?id=misc:sshtunneling

 

Here -> There

⿡ ͳ վ. ,

̷ Ȳ, LinuxMachine ssh ؼ WindowDesktop ִٴ Ȯ ִ. Ŷ ִ ̴. ⿡ ʾ, ܺο WindowDesktop ϰ ʹ. Ʈ 3389 .

ssh -oport=2222 -L 1010:WindowDesktopIP:3389 LinuxMachineIP

ssh ɼ -L Ѵ. ݷ е ɼ , LocalPort, ssh ӽſ ̴ IP, IP port ̴. ssh ϰ ӽ 1010 Ʈ LinuxMachine ؼ WindowDesktop 3389 Ʈ ȴ. ũž localhost:1010 غ!

 

̰ Putty Ϸ

 

Putty ->SSH->ͳθ

⿡ Ʈ 1010 ϰ ǻ ip:3389 ´.

, 129.254.112.185:3389

 

׸ ߰ ָ

L1010 129.254.112.185:3389 ȴ.

 

ǿ Host Name 129.254.112.185 port 22 , SSH üũϰ ̸ Ѵ.,

 

׸ ϸ SSH ȴ. (SSH , SvcCOPSSH ڸ jinwuk ƾ Ѵ. ǻ )

 

׷ ϸ SSH telnet ȴ. Telnet ȴ.

 

ݵũ ž

Localhost:1010 ϸ Ʈ Ǹ鼭 ݵũž .

 

 

jinwuk@JINWUK-PC-185 timestamp: 1396971867

 

Redmine log file

 

1.   .\apps\redmine\htdocs\config\Additional_environment.rb Ѵ.

 

# Copy this file to additional_environment.rb and add any statements

# that need to be passed to the Rails::Initializer.  `config` is

# available in this context.

#

# Example:

#

#   config.log_level = :debug

#   ...

#

#       config.logger = Logger.new('./log/production.log', 5, 1024000)  

#       1. Location of Lof file

#       2. Maximum number of log files

#       3. Maximum size of log file

#

#       config.log_level = :debug

#       Level of Log file :

#       FATAL : minimum size

#       ERROR :

#       WARN  :

#   INFO  : Default

#   DEBUG : Maximum Size

 

config.action_controller.relative_url_root = '/redmine'

config.logger = Logger.new('./log/production.log', 5, 1024000)

config.log_level = :ERROR

 

 

BDrate ϴ

 

VCEG-AE07_BJM.xla Macro Excel Ѵ.

VCEG-AE07_BJM.xla c:\Program Files\Microsoft Office\Office14\VCEG-AE07_BJM.xla

 

->ɼ->߰  ̵

 

߰ɿ -> ãƺ -> vceg-Ae07_Bjm.xla  ϰ Ǹ Ȯ

 

 

 

ffmpeg

 

ffmpeg   -i   .avi -ss  600  -t  120  -vcodec copy -acodec copy  clip.avi

 

-ss   10(600) κ

-t      2а(120) شϴ κ

-vcodec copy         codec ϰ (ȯ ״ )

-acodec copy         codec ........  ...

 

clip.avi   ϸ

 

  -t  ſ -fs üϸ Ͽ뷮 Ѽ ִ..

 

-> ۿɼǸ ϸ, ۺ ϳ..

-> ɼǸ ϸ, ۺ ѵ ð..

 

mp3 ٸ ߶󳻴 .

 

10¥ mp3

ffmpeg -i FILE.mp3  -acodec copy  -t 300    ݺ.mp3

-t 300 ()       5б ʾұ ó 5б̴.

 

ffmpeg -i FILE.mp3  -acodec copy  -ss 300    Ĺݺ.mp3

-ss 300 ()      5кͶ , κ ʾұ 5к ̴.

 

 

ܿ ٸ ҵ ϸ ȴ.

ܼ ̶, α׷ ̰ .  

 

ȵȴٸ, شα׷ ȵǴ codec̱ ̴.

Ǵ İ, codec ˰ ... Ʒ

ffmpeg -formats

 

compileҴ ɼ ̿ ؼ codec ǰ, ȵȴ.

 

 

Avisynth Frame Doubling ڵ

 

ʿ ̺귯

 

LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\plugins\mvtools2.dll")     ## MVTools Version 2

 

##............... Processing 1............... Frame Doubling

super = MSuper(Clip2, pel = 2)

backward_vec = MAnalyse(super, overlap=4, isb = true, search=3)

forward_vec    = MAnalyse(super, overlap=4, isb = false, search=3)

ClipE = MFlowFps(Clip2, super, backward_vec, forward_vec, num=2*frameratenumerator(Clip2), den=frameratedenominator(Clip2), mask=0, isse=true, planar=true)

 

 

Main Issue

Redmine 2.4.2

Date

2014-11-09

SubIssue

Gantt Ʈ PNG :

SubIssue-2

ѱ

Contents

 

Gantt PNG ѱ ǥõ ʴ ذ

 

Cd redmine/config/

Configuration.yml ؾ Ѵ.

 

Line 175 – 196 ̿ Ǿ ִ.

 

  # Configuration of RMagcik font.

  #

  # Redmine uses RMagcik in order to export gantt png.

  # You don't need this setting if you don't install RMagcik.

  #

  # In CJK (Chinese, Japanese and Korean),

  # in order to show CJK characters correctly,

  # you need to set this configuration.

  #

  # Because there is no standard font across platforms in CJK,

  # you need to set a font installed in your server.

  #

  # This setting is not necessary in non CJK.

  #

  # Examples for Japanese:

  #   Windows:

  #     rmagick_font_path: C:\windows\fonts\msgothic.ttc

  #   Linux:

  #     rmagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf

  #

  rmagick_font_path: C:\Windows\Fonts\malgun.ttf

 

κ ̷ ϸ ȴ.

 

Main Issue

Redmine 2.4.2

Date

2014-11-09

SubIssue

Gantt Ʈ ƴ ̱

SubIssue-2

 

Contents

 

Redmine ġ 丮 Ʒ ̿Ͽ ҽ մϴ.

 

1

2

cd <redmine ġ丮>

vi ./app/views/gantts/show.html.erb

ҽڵ忡 <% ###### Days headers ####### %> κ ˻ Ʒ ũ ΰ մϴ. Redmine ⵿մϴ.

./app/views/gantts/show.html.erb

Ruby

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

32

33

34

35

36

37

38

39

<% ###### Days headers ####### %>

<% if show_days %>

  <%

    left = 0

    height = g_height + header_height - 1

    wday = @gantt.date_from.cwday

    day_num = @gantt.date_from

  %>

  <% (@gantt.date_to - @gantt.date_from + 1).to_i.times do %>

    <%

      width =  zoom - 1

      style  = ""

      style += "left: #{left}px;"

      style += "top:37px;"

      style += "width: #{width}px;"

      style += "height: #{height}px;"

      style += "font-size:0.7em;"

 

      if wday == 6

        style += "color:blue;"

      elsif wday == 7

        style += "color:red;"

      end

 

      clss = "gantt_hdr"

      clss << " nwday" if @gantt.non_working_week_days.include?(wday)

    %>

    <%= content_tag(:div, :style => style, :class => clss) do %>

      <%= day_num.day%>

      <%#= day_letter(wday) %>

    <% end %>

    <%

      left = left + width + 1

      day_num = day_num + 1

      wday = wday + 1

      wday = 1 if wday > 7

    %>

  <% end %>

<% end %>

Ǹ, Ʒ ȭ ش ¥ ǥǰ ˴ϴ.

 

 

 

Main Issue

AVISynth

Date

2014-11-09

SubIssue

VirtualDub AVS AVI

SubIssue-2

 

Contents

 

AvsPMode AVS2AVI ϸ ȴ.

AVSPMode tools -> script Encoder(VFW) شѴ

 

AVS2AVI ϸ â .

 

 

״ RUN ϸ

ִٰ ڵ â .

 

 

VFW ڵ ̰ ȴ.

 

 

 

ٽ ϸ AVS Ǵ Color Space״ ( YUV420P 8bit) ״ AVI Ϸ ȴ.

Color space ȯ ش κ ذ ϴ.

 

ٽ ϰ RUN ϸ ȴ.

 

 

ڵ Ǵ ִ.

AVS2AVI Ҿϱ Stop ٰ α׷ ʴ´. , ݵ TaskManager ش μ ؾ Ѵ.

 

 

 

Main Issue

FFmpeg

Date

2014-11-09

SubIssue

Adobe PRemire ޾Ƶ鿩 MOV

SubIssue-2

 

Contents

 

Adobe Premire Uncompressed ϸ ⺻ ڵ v210 ڵ̴. ڵ  ffmpeg Pix format yuv422p10le شѴ.

 

׷Ƿ ɾ ָ Adobe Premire νĵǴ mov ִ,

 

ffmpeg -i SkyTV_Demo_2.avi -vcodec v210 -f mov -use_odml 1 h:\SkyTV_Demo.mov

 

 

 

Main Issue

AVISynth

Date

2014-11-09

SubIssue

Subtitle ġ

SubIssue-2

 

Contents

 

Subtitle (clip, string text, int "x", int "y", int "first_frame", int "last_frame", string "font", float "size", int "text_color", int "halo_color", int "align", int "spc", int "lsp", float "font_width", float "font_angle", bool "interlaced")

Subtitle (clip, string text)

 

ڸ ִ subtitle ġ .

 

The align parameter allows you to set where the text is placed relative to the (x,y) location and is based on the numeric keypad as follows:

<left> 7 <top>

<center> 8 <top>

<right> 9 <top>

top of text aligned to y-location for align=7,8,9

<left> 4 <baseline>

<center> 5 <baseline>

<right> 6 <baseline>

baseline of text aligned to y-location for align=4,5,6

<left> 1 <bottom>

<center> 2 <bottom>

<right> 3 <bottom>

bottom of text aligned to y-location for align=1,2,3

start at x for align=1,4,7

center on x for align=2,5,8

end at x for align=3,6,9

 

Note: There is no vertical center alignment setting.

׷

 

Ǵ align=2 x, yġ Ͽ Ģ .

 

Default Values

clip

last 

text

no default, must be specified 

x

8 if align=1,4,7 or none; -1 if align=2,5,8; or width-8 if align=3,6,9 

y

height-1 if align=1,2,3; size if align=4,5,6 or none; or 0 if align=7,8,9

first_frame

0

last_frame

framecount(clip)-1

font

"Arial"

size

18.0

text_color

$00FFFF00 <full opaque yellow>

halo_color

0 <full opaque black>

align

Normally 4 <left and baseline>; if x=-1, then 5 <horizontal center and baseline>

spc

0 <font spacing unchanged>

lsp

<multiline is not enabled>

font_width

0 <system default>

font_angle

0.0 degrees

interlaced

false

 

Align=2 ̷ ϰ y ġ Ͽ ϴ ġ Subtitle ִ´.

 

Example:

ClipE1 = Subtitle(ClipE1, "SD (Standard Definition : 720x480)", x=-1, y=1420, first_frame=0, last_frame=ClipE1.framecount-1, font="Times New Roman", size=72, text_color=$FFFF00, halo_color=$000000, align=2, spc=0, font_width=0, font_angle=0.0, interlaced=False)

 

3840x2160 ȭ  SD ְ ϴܿ subtitle ִ ̴.

 

 

 

 

Main Issue

FFmpeg

Date

2014-11-12

SubIssue

-map ɼ

SubIssue-2

 

Contents

Է ΰ Ȳ .

 

ffmpeg

-i .\UHD_Audio\0623_KD_v210_12chAudio.mov

-i .\UHD_Audio\KD\KD_all.wav

-map 0:0 -map 0:2 -map 1:0

-c:v copy -c:a copy -c:d copy

-f mov .\UHD_Audio\0623_KD_v210_12chAudio_1.mov

 

̶, ù° Է  

 

Stream 0:0  : Video

Stream 0:1 : Audio

Stream 0:2 : (Meta)Data ̴.

 

ι° Է

Stream 1:0  : Audio ̴.

 

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '.\UHD_Audio\0623_KD_v210_12chAudio.mov':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    creation_time   : 2014-11-12 11:15:40

  Duration: 00:01:51.11, start: 0.000000, bitrate: 1062234 kb/s

    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 1920x1080, 1060622 kb/

s, SAR 1920:1920 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)

    Metadata:

      creation_time   : 2014-11-12 11:15:40

      handler_name    : Apple Alias Data Handler

      timecode        : 00:00:00:00

    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb

/s (default)

    Metadata:

      creation_time   : 2014-11-12 11:15:40

      handler_name    : Apple Alias Data Handler

      timecode        : 00:00:00:00

    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)

    Metadata:

      creation_time   : 2014-11-12 11:15:40

      handler_name    : Apple Alias Data Handler

      timecode        : 00:00:00:00

 

 

Input #1, wav, from '.\UHD_Audio\KD\KD_all.wav':

  Duration: 00:01:51.13, bitrate: 9216 kb/s

    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 12 channels, s16, 921

6 kb/s

[mov @ 00000000042e17e0] You requested a copy of the original timecode track so timecode m

etadata are now ignored

Output #0, mov, to '.\UHD_Audio\0623_KD_v210_12chAudio_1.mov':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    encoder         : Lavf55.19.104

    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 1920x1080 [SAR 1920:19

20 DAR 16:9], q=2-31, 1060622 kb/s, 23.98 fps, 24k tbn, 24k tbc (default)

    Metadata:

      creation_time   : 2014-11-12 11:15:40

      handler_name    : Apple Alias Data Handler

      timecode        : 00:00:00:00

    Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)

    Metadata:

      creation_time   : 2014-11-12 11:15:40

      handler_name    : Apple Alias Data Handler

      timecode        : 00:00:00:00

    Stream #0:2: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 12 channels, 9216 kb/s

 

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:2 -> #0:1 (copy)

Stream #1:0 -> #0:2 (copy)

 

, -map 0:0 -map 0:2 -map 1:0

̷ ߱

 

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:2 -> #0:1 (copy)

Stream #1:0 -> #0:2 (copy)

 

̷ ȴ.

-map 0:0 –map 1:0 –map 0:2

 

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #1:0 -> #0:1 (copy)

Stream #0:2 -> #0:2 (copy)

 

Ǿ ̴.

 

 

 

Main Issue

IPTime NA

Date

2014-11-09

SubIssue

IPTime NAS Application ̿

SubIssue-2

 

Contents

APM ϱ.

ipTIME NAS I/II
߿ 1.1.50 ġ Ͻø, MYSQL/Apache(PHP) PHP α׷
̿ ֽϴ.

  I. MYSQL/Apache ϱ.

  II. MYSQL йȣ ϱ.

        1. phpMyAdmin MYSQL йȣ ϱ.

        2. MYSQL-front MYSQL йȣ ϱ.( )

  III. PHP α׷ ϱ.

        1. κXE ϱ. (v1.5.3.5 )

        2. ״ ϱ. (v4.36.11 )

        3. OwnCloud ϱ. (v4.5.4 )

        4. Ajaxplorer ϱ. (v4.3.0 )

        5. wordpress ϱ. (v3.5 )


I. MYSQL/Apache
ϱ.
1.
MYSQL/Apache 񽺸 '' մϴ.
2. MYSQL
ó йȣ ʱȭ ̹Ƿ,
'
׸ II' Ͽ phpMyAdmin йȣ ϰ DB մϴ.
[ó]
II. MYSQL
йȣ ϱ.
1. phpMyAdmin
MYSQL йȣ ϱ.
1. phpMyAdmin
Ȩ(http://www.phpmyadmin.net/) phpMyAdmin ٿε ޽ϴ.
2.
ٿε 'phpMyAdmin' մϴ.


3. 'phpMyAdmin\config.sample.inc.php'
'phpMyAdmin\config.inc.php'Ϸ մϴ.
4. 'config.inc.php'
׸ 'true' մϴ.
    $cfg['Servers'][$i]['AllowNoPassword'] = false
'false' 'true' մϴ.

5. 'phpMyAdmin\libraries\config.default.php'
׸ 'false' մϴ.
    $cfg['CheckConfigurationPermissions'] = true
'true' 'false' մϴ.

6.
'phpMyAdmin' FTP 񽺸 ̿ Apache Document Root ε մϴ.
7.
ͳ 'http:// NAS IP : Apache Port /phpMyAdmin' մϴ.
(
- http://192.168.0.2:8000/phpMyAdmin)
, URL 'phpMyAdmin' θ ҹڸ ϹǷ ε Ͻ ϰ Էؾ մϴ.
ʱȭ ¿ ȣ Ƿ 'Username' Էâ 'root' Է 'Go' ư Ŭ մϴ.



8.
޴ mysql Ŭ , ° Ŭ մϴ.



9.
Ͽ root йȣ ϴ query ɾ Է ,'Go' ư Ŭմϴ.
(
ɾ Ͽ ˾â ٿֱ , ڷ ǥõ 'root_password' κ ϴ йȣ Ͻʽÿ. - ҹ ʿ)
update User set User='root' where Host='%';
update User set Password=password('root_password') where User='root';
flush privileges;



10. phpMyAdmin
Logout , ȣ Login Ǵ Ȯմϴ.
11.
, ȣ ﳪ ʰų Ÿ α ȵǴ ,
MYSQL
DB ִ mysql MYSQL 񽺸 ϸ MYSQL ʱȭ ֽϴ.
ʱȭ Ͽ ٽ Ͻñ ٶϴ.
12. Home
Database ޴ κ(xe), ״(gb), OwnCloud(oc), wordpress(wp) DB Է ,
'Create'
ư ŬϿ DB մϴ.



[ó]

2. MYSQL-front
MYSQL йȣ ϱ.( )
1. MYSQL-front
Ȩ(http://www.mysqlfront.de/) MYSQL-front ٿε ޾ ġ մϴ.
2.
ġ MYSQL-front մϴ.
3.
޴ ⸦ ŬϿ ϰ ϴ NAS ԷϿ NAS MYSQL 񽺿 մϴ.



4.
'mysql' database 'sql ' Ŭϸ sql â Ÿϴ.
Ͽ root йȣ ϴ query ɾ Է , ư Ŭմϴ.
(
ɾ Ͽ ˾â ٿֱ , ڷ ǥõ 'root_password' κ ϴ йȣ Ͻʽÿ.)

update user set user='root' where host='%';
update user set password=password('root_password') where user='root';
flush privileges;

5. MYSQL-front
, ٲ йȣ Ǵ Ȯմϴ.
6.
, ȣ ﳪ ʰų Ÿ α ȵǴ ,
MYSQL
DB ִ mysql MYSQL 񽺸 ϸ MYSQL ʱȭ ֽϴ.
ʱȭ Ͽ ٽ Ͻñ ٶϴ.
[ó]
III. PHP
α׷ ϱ.

1.
κXE ϱ. (v1.5.3.5 )
1.
κxe Ȩ(http://www.xpressengine.com) XE Core ٿε ޽ϴ.
2.
ٿε κ XE Core 'xe' մϴ.

3.
'xe' FTP 񽺸 ̿ Apache Document Root ε մϴ.
4.
ͳ 'xe' մϴ. ( - http://192.168.0.2:8000/xe)
5.
׸ ȮϽʽÿ.





6. phpMyAdmin
(II-9 .) DB (II-12 .) Է Ͻʽÿ.









7.
κXE ġ ϱ ؼ NAS [ ] ޴ Apache Document Root
FTP
񽺸 Ȱȭ , κXE ޴ FTP ʿմϴ.
'
ġ XE FTP ' ׸ ο '/mnt' θ ԷϽʽÿ.



2.
״ ϱ. (v4.36.11 )
1.
״ Ȩ(
http://www.sir.co.kr) ״ Ű ٿε ޽ϴ.
2.
ٿε ״ 'gb' մϴ.

3.
'gb' FTP 񽺸 ̿ Apache Document Root ε մϴ.
4.
ͳ 'gb' մϴ. ( - http://192.168.0.2:8000/gb)
5.
׸ ȮϽʽÿ.

6. phpMyAdmin
(II-9 .) DB (II-12 .) Է Ͻʽÿ.





[ó]

3. OwnCloud ϱ. (v4.5.4 )
1. OwnCloud
Ȩ(http://www.owncloud.org) OwnCloud Ű ٿε ޽ϴ.
2.
ٿε OwnCloud Ű 'oc' մϴ.



3. 'oc\lib\util.php'
׸ ã մϴ.

if(substr($prems,2,1)!='0') {
$errors[]=array('error'=>'Data directory ('.$CONFIG_DATADIRECTORY.') is readable for other users
','hint'=>$permissionsModHint);
}

if(substr($prems,2,1)!='0') {
$errors[]=array('error'=>'Data directory ('.$CONFIG_BACKUPDIRECTORY.') is readable for other users','hint'=>$permissionsModHint);
}

4.
'oc' FTP 񽺸 ̿ Apache Document Root ε մϴ.
5.
ͳ 'oc' մϴ. ( - http:/192.168.0.2:8000/oc)
6. OwnCloud
α phpMyAdmin (II-9 .) DB (II-12 .) Է Ͻʽÿ.

SQLite Ѵٸ phpMyAdmin MYSQL DB ʽϴ.





[ó]



4. Ajaxplorer
ϱ. (v4.3.0 )

1. AjaxPlorer
Ȩ(http://www.ajaxplorer.info) AjaxPlorer Ű ٿε ޽ϴ.
2.
ٿε AjaxPlorer Ű 'ax' մϴ.



3. 'ax\tmp'
մϴ.
4.
̿ϱ ؼ 'ax\conf\bootstrap_conf.php'
׸ մϴ.
'//define("AJXP_TMP_DIR", AJXP_DATA_PATH."/tmp");'
ã '//'
=> 'define("AJXP_TMP_DIR", AJXP_DATA_PATH."/tmp");'

5.
'ax' FTP 񽺸 ̿ Apache Document Root ε մϴ.
6.
ͳ 'ax' մϴ. ( - http://192.168.0.2:8000/ax)
7. 'click here to continue AjaxPlorer'
ŬϿ ܰ մϴ.







[ó]

5.
ϱ. (v3.5 )

1.
Ȩ(http://ko.wordpress.org) Ű ٿε ޽ϴ.
2.
ٿε Ű 'wp' մϴ.



3.
'wp' FTP 񽺸 ̿ Apache Document Root ε մϴ.
4.
ͳ 'wp' մϴ. ( - http://192.168.0.2:8000/wp)
5.
׸ ȮϽʽÿ.




6. phpMyAdmin
(II-9 .) DB (II-12 .) Է Ͻʽÿ.











 

 

 

Main Issue

Git

Date

2014-11-29

SubIssue

iptime nas SVN-Git

SubIssue-2

 

Contents

 

1. NAS SVN Repository

- svnserve.conf ȯ Ʒ ؾ Ѵ.

anon-access = write

auth-access = write

 

2. PC SVN ؼ ʱ ϰ SVN ø.

 

3. git ٿ ް ġ Ѵ.

http://code.google.com/p/msysgit/downloads/list?can=3 Git-1.8.4-preview20130916.exe

 

4. totoisegit ٿް ġ Ѵ.

http://code.google.com/p/tortoisegit/

 

5. totoisegit ̸ ̸ Ѵ.

â 'TGit .gitconfig ϱ' ư .

Ʒ ߰ Ѵ. (ID email Ѵ.)

[user]

name = abcdid

email = abcdid@email.net

è κ Git ݾ ٸ. · ʾƵ ۿ .

 

6. SVN GIT ޾ƿ ؼ "GIT ϱ" Ѵ.

 

7. ޴ ⺻ ϰ Ȯ .

- URL : SVN://192.168.0.1:3690/svnprj ó SVN Ҹ Ѵ.

- : PC Ѵ.

- SVN üũ Ѵ.

- Trunk , Tags , 귣ġ üũ Ѵ.

 

8 Git commit Ϲ Ҷ PCִ GIT Ҹ Ʈ Ѵ.

Daum Tistory α

 

9. SVN ޾ƿ; 쿡 Git-svn rebase Ѵ.

 

10. SVN Git-svn Decommit Ѵ. (Normal SVN Commit )

 

 

 

 

 

Main Issue

FFmpeg and Mp4Box

Date

2014-12-03

SubIssue

HEVC Bitstream Mp4 AVI

SubIssue-2

 

Contents

ffmpeg ̴.

ȵȴ.

 

׷ Mp4box ȴ.

Mp4box Ʈ û Ը Ŀ ϳ Frame Work ̴. tool ִ.

 

Mp4box ֽ Package ġ

 

1.   hevc binary Ȯڸ Ѵ.

 

rename test2.bin test2.hevc

 

mp4box File Ȯڸ ؼ ˰Եȴ.

 

2.   MP4box Ͽ Mp4 Ѵ.

 

mp4box -add "test2.hevc:fps=60" test4.mp4

 

-     Fps 60̹Ƿ ̷ ԷµǾ Ѵ.

 

HEVC import - frame size 3840 x 2160 at 60.000 FPS

HEVC Import results: 13568 samples - Slices: 424 I 0 P 13144 B - 0 SEI - 424 IDR

Stream uses forward prediction - stream CTS offset: 3 frames

Saving to test4.avi: 0.500 secs Interleaving

 

 

3.   MP4 Ͽ AVI .

 

ffmpeg -i test4.mp4 -c:v copy -f avi test4.avi

 

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test4.mp4':

  Metadata:

    major_brand     : iso4

    minor_version   : 1

    compatible_brands: iso4hvc1

    creation_time   : 2014-12-02 04:39:58

  Duration: 00:03:46.13, start: 0.000000, bitrate: 15913 kb/s

    Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv), 3840x2160, 15907 kb/s, 60 fps, 60 tbr, 60k tbn, 60k tbc (default)

    Metadata:

      creation_time   : 2014-12-02 04:39:58

      handler_name    : hevc:fps=60@GPAC0.5.1-DEV-rev5542

Output #0, avi, to 'test4.avi':

  Metadata:

    major_brand     : iso4

    minor_version   : 1

    compatible_brands: iso4hvc1

    ISFT            : Lavf55.25.101

    Stream #0:0(und): Video: hevc (hvc1 / 0x31637668), yuv420p, 3840x2160, q=2-31, 15907 kb/s, 60 fps, 120 tbn, 120 tbc (default)

 

    Metadata:

      creation_time   : 2014-12-02 04:39:58

      handler_name    : hevc:fps=60@GPAC0.5.1-DEV-rev5542

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

Press [q] to stop, [?] for help

frame=13568 fps=0.0 q=-1.0 Lsize=  439772kB time=00:03:46.07 bitrate=15935.5kbits/s

video:439124kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.147635%

 

4.   ffmpeg ٷ AVI Muxing õϸ κп ٰ ϸ鼭 Muxing ʴ´.

 

Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668),

 

Profile 𸣰ڴٰ ϸ鼭 ʴµ ̴ Parsing .

 

bin hevc Ȯڸ ϸ hevc νϸ鼭 avi ó ϸ鼭 avi Ѵ.

 

Input #0, hevc, from 'test2.hevc':

  Duration: N/A, bitrate: N/A

    Stream #0:0: Video: hevc (Main), yuv420p(tv), 3840x2160, 25 fps, 25 tbr, 1200k tbn, 25 tbc

Output #0, avi, to 'test5.avi':

  Metadata:

    ISFT            : Lavf55.25.101

    Stream #0:0: Video: hevc, yuv420p, 3840x2160, q=2-31, 25 fps, 60 tbn, 60 tbc

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

Press [q] to stop, [?] for help

frame=13568 fps=3115 q=-1.0 Lsize=  439631kB time=00:03:46.13 bitrate=15926.3kbits/s

video:439301kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.075153%

 

5.   Ŀ VUI üũغƾ ϴ.

 

 

 

 

Main Issue

CMD Batch

Date

2015-03-18

SubIssue

batch ɾ ؼ

SubIssue-2

 

Contents

1. ɾ ü

 

ɾ /? ϸȴ.

 

2. ġ ɾ ϶

 

ASSOC

Ȯ ְų մϴ.

ATTRIB

Ӽ ǥϰų ٲߴϴ.

BREAK

Ȯ CTRL+C ˻縦 ϰų ϴ.

BCDEDIT

ε ϱ ͺ̽ Ӽ մϴ.

CACLS

׼ Ʈ (ACL) ǥϰų մϴ.

CALL

ϰ α׷ ٸ ϰ α׷ ȣմϴ.

CD

͸ ̸ ְų ٲߴϴ.

CHCP

Ȱȭ ڵ ȣ ǥϰų մϴ.

CHDIR

͸ ̸ ְų ٲߴϴ.

CHKDSK

ũ ˻ϰ ǥմϴ.

CHKNTFS

ϴ ũ Ȯ ȭ鿡 ǥϰų մϴ.

CLS

ȭ ϴ.

CMD

Windows νϽ մϴ.

COLOR

ܼ ⺻ մϴ.

COMP

Ǵ մϴ.

COMPACT

NTFS ִ ǥϰų մϴ.

CONVERT

FAT NTFS ȯմϴ. ̺

ȯ ϴ.

COPY

ϳ ̻ ٸ ġ մϴ.

DATE

¥ ְų մϴ.

DEL

ϳ ̻ ϴ.

DIR

͸ ִ ϰ ͸ ݴϴ.

DISKCOMP

÷ ũ մϴ.

DISKCOPY

÷ ũ ٸ ÷ ũ մϴ.

DISKPART

ũ Ƽ Ӽ ǥϰų մϴ.

DOSKEY

ϰ, Windows ٽ ȣϰ, ũθ ϴ.

DRIVERQUE

RY  ġ ̹ ¿ Ӽ ǥմϴ.

ECHO

޽ ǥϰų ECHO Ǵ ʽϴ.

ENDLOCAL

ġ Ͽ ȯ ȭ ϴ.

ERASE

ϳ ̻ ϴ.

EXIT

CMD.EXE α׷( ) Ĩϴ.

FC

Ǵ Ͽ ٸ

ǥմϴ.

FIND

Ͽ ؽƮ ڿ ãϴ.

FINDSTR

Ͽ ڿ ãϴ.

FOR

տ Ͽ մϴ.

FORMAT

Windows ũ մϴ.

FSUTIL

ý Ӽ ǥϰų մϴ.

FTYPE

Ȯ ῡ Ǵ ǥϰų մϴ.

GOTO

Windows Ͱ ϰ α׷

̸ǥ ٿ ٷ ̵մϴ.

GPRESULT

ǻ Ǵ ڿ ׷ å ǥմϴ.

GRAFTABL

Windows ׷ 忡 Ȯ Ʈ ǥ

ְ մϴ.

HELP

Windows ɾ մϴ.

ICACLS

ϰ ͸ ACL ǥ, , Ǵ

մϴ.

IF

ϰ α׷ ó մϴ.

LABEL

ũ ̸ ų, ٲٰų, ϴ.

MD

͸ ϴ.

MKDIR

͸ ϴ.

MKLINK

ȣȭ ũ ϵ ũ ϴ.

MODE

ý ġ մϴ.

MORE

ѹ ȭ龿 ǥմϴ.

MOVE

ϳ ̻ ͸ ٸ ͸ űϴ.

OPENFILES

ڿ ǥմϴ.

PATH

ã θ ְų մϴ.

PAUSE

ġ ó ϰ ޽ ݴϴ.

POPD

PUSHD ͸ ٲߴϴ.

PRINT

ؽƮ μմϴ.

PROMPT

Windows Ʈ ٲߴϴ.

PUSHD

͸ ͸ ٲߴϴ.

RD

͸ ϴ.

RECOVER

ҷ̰ų ִ ũ ִ մϴ.

REM

ġ Ǵ CONFIG.SYS ּ մϴ.

REN

̸ ٲߴϴ.

RENAME

̸ ٲߴϴ.

REPLACE

üմϴ.

RMDIR

͸ ϴ.

ROBOCOPY

ϰ ͸ Ʈ ִ ƿƼԴϴ.

SET

Windows ȯ ְų, ϰų, ϴ.

SETLOCAL

ġ Ͽ ȯ ȭ մϴ.

SC

񽺸 ǥϰų մϴ(׶ ۾).

SCHTASKS

ǻͿ ɰ α׷ մϴ.

SHIFT

ġ Ͽ ٲ ִ Ű ġ ٲߴϴ.

SHUTDOWN

ǻ Ǵ Ḧ մϴ.

SORT

Է մϴ.

START

α׷̳ â մϴ.

SUBST

θ ̺ ڷ մϴ.

SYSTEMINF

O  Ư ǻ Ӽ ǥմϴ.

TASKLIST

񽺸 ۾ ǥմϴ.

TASKKILL

μ α׷ մϴ.

TIME

ý ð ְų մϴ.

TITLE

CMD.EXE ǿ â â մϴ.

TREE

̺ Ǵ ͸ ׷ ȭ鿡 ǥմϴ.

TYPE

ؽƮ ݴϴ.

VER

Windows ݴϴ.

VERIFY

ũ ùٷ

θ մϴ.

VOL

ũ ̸ Ϸ ȣ ݴϴ.

XCOPY

ϰ ͸ Ʈ մϴ.

WMIC

ȭ WMI ǥմϴ.

 

 

 

 

 

Main Issue

MingGW ġ ذ

Date

2015-03-18

SubIssue

MingGW ġ 

SubIssue-2

 

Contents

1. MinGW

MinGW , "Windows Minimal GNU" Ӹ, Ƽ Microsoft Windows α׷ ּ ȯ̴..

MinGW MS-Windows α׷ C-Ÿ DLL ʴ ҽ α׷ Ʈ Ѵ. (MS-Windows α׷ C-Ÿ DLL MS ü ̰ų, ũ Ʈ ü ϴ DLL ̴. Ư,  MSVCRT.DLL Microsoft C Ÿ ̺귯 ָҸ ̴.  , α׷ ϴ± DLL MSdptj ϴ Ư α׷̳ Ģ Ǵµ MinGW ü ȴ. )

MinGW Ϸ Microsoft C Ÿ Ϻ Ư Ÿ ɿ ׼ Ѵ. , MinGW, MS-Windows POSIX α׷ POSIX Ÿ ȯ ʴ´. ÷ POSIX α׷ Ѵٸ, Cygwin ؾ Ѵ. .

- ַ MS-Windows ÷ ۾ϴ ڰ ϵ ,  ũν ȣ ϴ. ( а ,)

o   C, C ++, ADA Ʈ Ϸ Ͽ GNU Ϸ ÷ (GCC) Ʈ;

o   Windows GNU Binutils (, Ŀ, ī̺ Ŵ)

o   MS-Windows MinGW MSYS ɼ GUI Ʈ ( Mingw-GET) ġ,

o   GUI ó ġ ( Mingw--ġ) ̰ Mingw- ​​մϴ.

 

 

 

2. ġ

 

1.  MinGW Ȩ ̵. Go to MinGW Homepage
 Link :
http://www.mingw.org/
2. Downloads
Download Page ̵ մϴ.
    Choose "Downloads" tab and move to Download page.




3. Download Page(Sourceforge)
Installer .
  Choose "Installer" at Downloads Page(Sourceforge).


 4. mingw-get-setup.exe
ġ Client Program ٿε մϴ.
   Choose "mingw-get-setup.exe" and Download Installation client program.


 5. mingw-get-setup.exe
մϴ.
  Excute "mingw-get-setup.exe".
 6. Install
ư Ŭ մϴ.
  Click "install" button


 7.
ġ θ ϰ, Continue Ŭմϴ.
  Set installation path and click "continue"


 8.
ġ Ʈ update ٸ , Continue Ŭմϴ.
   wait till updating package list, and click "continue"


 9. MinGW
Msys base մϴ.(ٸ Ϸ ʿϸ մϴ.)
  Basically select the Base MinGW & Msys (if you nees any other compiler, select that)
 - mingw32-base :
CϷ    C Compiler and Tool
 - msys-base : 
ȯ   Tool for Linux shell environment (make, vim, ls,...)

 


 10. Menu
Installation -> Apply Changes ġ մϴ.
   Install! Choose "Installation" -> "Apply Changes".


 11. Apply
Ŭ մϴ. Click "Apply".


 12.
ġ ٸϴ. ġ â ݾƵ ˴ϴ.
   Wait until installation will be done. after Installation you may close entire windows.


 13.
ȯ溯 Registration of Environment variable
 
ȯ Path MinGW Msys ġ θ ߰ ݴϴ.
  Add at Path MinGW and Msys installation path.
  - MinGW : (Installation Directory)\bin                  ex) C:\MinGW\bin
  - Msys : (Installation Directory)\msys\1.0\bin  ex) C:\MinGW\msys\1.0\bin


 15. 
ġ Ȯ Checking Installation
  cmd
մϴ.
  GCC
Ȯ ɼ ġ Ǿ Ȯ.
  > gcc --version

 

 

 

 

 

Main Issue

MingGW ġ ذ

Date

2015-03-18

SubIssue

SubIssue-2

 

Contents

1.   MinGW ġ Msys ʴ

 

Msys-1.0.dll ޸𸮻 ġ ߸Ǿ Ÿ μ rebase.exe DLL ޸𸮻 ġ Ͽ ذѴ. Cygwin Heapsize djqteksmns ޽ ϸ鼭 Linux shell ɾ ʴ´.

 

C:\MinGW\msys\1.0\bin>rebase.exe

      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

C:\MinGW\msys\1.0\bin\rebase.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

 

rebase.exe Visual C++ ִ Ѵ. ̸ Ͽ ذѴ.

 

rebase.exe -b 0x50000000 msys-1.0.dll

 

 ׷  Cygwin Heapsize ȮǸ鼭 msys Ͽ MinGW ȯ ȴ.

 

 

 

 

2.   MinGW Ͻ Ÿ –ldl  ɼ

–ldl  ɼ DLL Load ʿ ̸ ϱ ɼ̴. ׷, MinGW ̰ ִ. , MinGW ó Ǿ ִ. Ƹ Licesnse ֱ ȴ.

 

̰ dlfcn ̺귯 μ MinGW dlfcn library ʾƼ ߻ϴ ̴.  ̷ include ִ dlfcn.h ϴ ̸ ٲٵ ϰ

Google  ֽ dlfcn for MinGW ޾ bin, lib, include ϸ ȴ.

 

dlfcn-win32-r19-x64-130315

 

޾ bin, include, lib ϵ μ ذϿ.

 

ΰ ذǸ MinGW Ͽ Linux ɾ HM ִ.

Ϲ Command Line consile

 

 

 

 

 

 

Main Issue

Source Tree Git

Date

2015-03-28

SubIssue

Git SVN

SubIssue-2

MinGW ͹̳ο ̺ ̵

Contents

1.  Source Tree ġ

Ʈ SourceTree ٿε Ѵ.

http://www.sourcetreeapp.com/download/

 

 

ٿ ̼ Ǹ ϰ ̽ Ѿ (Git) ٿε ǰ ġȴ.

 

 

ý ٿε尡 Ѿ â ߴµ Yes Ѵ.

 

 

߰Ѵ.

Git GitHub ֱ

Jinwuk: 16****** ̴.

 

 

 

Github ʱ Ұ µ ̸ ̿ ο dzʶٰ ߿ ص ȴ.

 

 

ƴϿ Ѵ. GitHub SSH Ű ϳ Ƿ ߿ ȴ.

ʱ ȭ Ÿ.

 

 

GitHub Ҹ ҷ .

߰ ȣƮ Ʈ Ž ŬѴ. ߰ â ̴.

 

Ұ Ÿ HEVC_Encoder ϰ Ȯ Ѵ.

 

 

θ Ŭ . ̰ ش Ŭ ȴ.

 

 

Ŭ ׸ ó α/

 

̷ Ÿ.

 

͹̳ ϸ Git Bash ͹̳ Ÿµ MinGW âε .

 

2.  ̺

 

ϴ MinGW HDD Ʈ Ǿ ִ. ..

Cd /  .  ̺꿡 ְ ̺ ̵

Cd  /c ..  C ̺ ̵

 

 

3.  ѱ

 

-> ɼ -> ⺻ ؽƮ ڵ EUC-KR Ѵ.

, ̋ ҽڵ ѱ , utf-8 ּ ʴ´.

⺻ ؽƮ ڵ ȭ Ų Ŀ ݵ ٰ Ѿ Ѵ. ׷ Ŀ ٽ ؽƮ ڵ ɼ ų SourceTree ٿ Ǹ ̴ SourceTree ص .

 

c:\User\\AppData\Local SourceTree ͵

׸ c:\User\\AppData\Local\CrashDump SourceTree ٿ ͸

C:\Program Files(x86)\Atlanssis ġؾ Ѵ.

 

 

 

 

 

Main Issue

Source Tree SVN-Git

Date

2015-03-28

SubIssue

Remote SVN Local Git Ͽ Ѵ.

SubIssue-2

 

Contents

4.  Git-SVN

SourceTree Terminal .  ϴ ʿϴ. , Ʈ ϸ Ʈ ҽ κ Ǿ Ѵ.  ׸ source װ git svn clone ؾѴ.

Ѵ.

 

User@JINWUK-PC-188 /c/Work/Work-2014/Temporal_Code

$ git svn clone svn://jnwhome.iptime.org/ETRIHEVCMAIN4K60P/source ./[DEV102_git_svn]

 

̷ ش [.git] svn  ȴ. ̷ svn ƴϴ. (trunk Ƿ) trunk ִ svn ش svn ؼ 캻.

 

http://git-scm.com/book/ko/v1/Git%EC%9C%BC%EB%A1%9C-%EC%9D%B4%EC%A0%84%ED%95%98%EA%B8%B0-Git%EA%B3%BC-Subversion

 

̷ ϸ svn κ 鼭 Git .

SourceTree ۾ Git ִ.

 

5.  Local Branch

SourceTree Local Branch ϳ . Subversion ̹Ƿ Local Ѵ. Head Version Origin git-svn ׸ Master ִ.  Local branch ش κп 콺 ư ޴ ã ȴ. â .

 

 

branch ̸ 귣ġ Ѵ. ǻ branch ̸ Local_Branch . ̶ Branch Subversion Branch , Git Branch ´. Local Git Ϸ ϹǷ Git Branch Ѵ.

 

 

Origin: git-svn, Master ׸ Local_Branch .

 

׽Ʈ ణ ϰ Ѵ. ش 콺 ޴ Tortoise Git ִٸ ̸ Local Branch Ŀ ̳İ ´.

ĿѴٰ . SourceTree ִ. Ŀ ְ Ŀ (Local Branch) Ŀ ϸ ȴ.

, Local_Branch ID Ƿ Tortoise Git ̿ 䱸Ѵ.

 

 

Yes ϸ â .

⿡ ̸ ̸ ּҸ Ѵ. Ssh key   inherit ϸ ȴ. (sourceTree Git-svn 鶧 Ǿ)

 

 

׷ Git â ϰ OK Ѵ.

 

 

׷ Commit â . Amend Last Commit üũؾ Ŀ Ʒ change modeâ .

 

 

OK Ͽ Commit Ѵ,. ׷ ׸ Mian Subversion-Git Local Branch Ƣ ִ. ( )

 

 

6.   Local Master -> Subversion Merge ϴ

 

׽Ʈ text ϰ Ѵ. ׷ Ŀ Ÿ.

 

 

ϴ Ŀ ؼ ÷ Ѵ. ö Ŭϸ ö󰣴.

 

 

¿ Ŀϸ Local ĿԵȴ.

 

 

ĿԵ ̷ ȴ.

 

 

̶, Master 콺 Ŭ ϸ ǰ ޴ .

 

 

Master branch ϰ Ѵ.

 

 

 

 

 

· ø Commit Ѵ.

 

 

 

 

 

 

Main Issue

Visual C++ 2010

Date

2015-04-19

SubIssue

Debug ҽ ٸϴ.

SubIssue-2

Contents

̴.

##
ذ ##

1. (F) -> ɼ(V) -> ڵ( ִ UTF-8) - ڵ 65001

ٸ
2. ش ҽ , ش Ʈ ַǿ Ѵ.
   
Ӱ  ҽڵ忡 ߰Ѵ.
   
ϸ .

3. Visual C++ ->ɼ

 

 

ش κ üũ Ѵ.

 

ش MS Ʈ ̴., , -> ɼǿ

 

̰ Default ε, ̷  Debug Ʈ ʴ ߻Ѵ. , ش ڵ 1 ڵ UTF-8 ϸ , ̷ , ٸ Source Insight  ѱ Ʈ Ͼ⵵ Ѵ.

 

, UTF-8 ϵ Source Insight ϰų, ..̰  Ұ, Source Insightsms ANSI Ѵ. , ׽Ʈ 3 ذߴ.

 

 

 

 

Main Issue

Redmine Apache   Git Server ġ

Date

2015-06-03

SubIssue

Apache , Git

SubIssue-2

WebDaV

Contents

1.   ⺻ Ʈ Ѵ.

https://git-scm.com/book/ko/v1/Git-%EC%84%9C%EB%B2%84-%ED%94%84%EB%A1%9C%ED%86%A0%EC%BD%9C

 

Ȥ Ʈ Ѵ.

http://www.rasplay.org/?p=1325

 

Ʈ .

http://blog.bobbyallen.me/2012/07/23/installing-a-git-server-using-apache-webdav-on-ubuntu-server-12-04/

 

, Windows Apache Linux Apache Windows Git , ʴ.  ׷ .

 

ϴ bare Git Repository htdocs .

 

ɾ Windows Commander

mkdir test_git.git

cd test_git.git

 

git Windows Git Bash ؾ Ѵ. test_git.git ̴.

git --bare init

git update-server-info

 

, Command â Git Bash â ÿ ؾ Ѵ.

WebDav Ȱȭ Ѿ Ѵ. 2 ִ.

 

1.     Windows IIS WebDav Ȱȭ Ű (׷ ̹ Apache Ȱȭ Ǵ ʴ.)

Windows 7 Webdav ϴ

http://ycho.tistory.com/15

->Windows Ȱ/Ȱ -> IIS (Internet Information Service) Ȱȭ

 

2.     Apache WebDav Enable Ű

a2enmod dav_fs

׷ a2enmod.exe Redmine Apache ׷ ٸѤ ??

 

3.     httpd.conf WebDav Ȱȭ Ű

ϴ, Apache

/conf/ httpd.conf   ãƺ.

Dynamic Shared Object (DSO) Support

 

׸񿡼 Module 3 Load ǵ Ѵ.

LoadModule dav_module modules/mod_dav.so

LoadModule dav_fs_module modules/mod_dav_fs.so

LoadModule dav_lock_module modules/mod_dav_lock.so

httpd.conf

DocumentRoot "C:/Bitnami/redmine-2.4.2-0/apache2/htdocs"

Ǿ ְ ش Root ؿ Ǿ ִ.

߿ ȯ溯 Git Repository ϰ ϰ  .

 

Password File ؾ Ѵ. Bin ؿ htpasswd ִ. ̰ Ͽ .

$ htpasswd -c passwd.git <user>

 

׷ password ´. Password Էϸ passwd.git ȴ.

passwd.git /conf ؿ Ѵ.

ڸ ߰ϱ ؼ passwd.git –c ɼ ڸ ߰ϸ ȴ.

 

ٽ, httpd.conf  Ѵ.

 

# WebDAV for Git Server

# First Locking DAV Operation using DavLockDB

# Second Including the following Directory

#

 

DavLockDB  "c:\Bitnami\redmine-2.4.2-0\apache2\var\DavLock"

 

<Location /test_git.git>

     DAV on

     AuthType Basic

     AuthName Git

     AuthUserFile conf/passwd.git

     Require valid-user

  </Location>

 

DavLockDB θ ־ Ѵ.

User valid-user ־ Ѵ.

Apache ٽ Enable Ų.

ϸ

http://jnwhome.iptime.org/test_git.git ϸ ش ִ (ID PW Է )

 

׸ ߿

Test_git.git ־ Ѵ. Linux κ chmod Ȥ chown -R www.www ϴµ Windows ٸ. Windows test_git.git 콺 Ӽ->

 

Authenticated Users ־ Ѵ. ׷ Git . ̷μ WebDav ڰ Git Remote Ͽ ְ ȴ.

 

Client ??

Git Bash ִٸ ϸ ȴ. (δ Windows ΰ ǵ Ѵ)

 

mkdir ~/Desktop/test-project

cd ~/Desktop/test-project

git init

git remote add origin http://<user>@<server name or IP address>/test-project.git

touch README

git add .

git commit -a -m Initial import

git push origin master

 

TortoiseGit ġǾ ִٸ Ѵ.

ϴ, Git Repository here Ͽ Ư git Repository .

Bare ȵȴ.

TortoiseGit -> Setting -> Git Ȯ ( ̸)

Git->Remote Ѵ. (ſ ߿)

<URL>

http://jnwhome.iptime.org/test_git.git

 

̰͸ ־ ־ ڵ origin . ߿ϴ.

 

<Push URL>

http://MyID:MyPW@jnwhome.iptime.org/test_git.git

 

ID PW http:// տ ־ Ѵ.

׸ PUSH ָ Remote Push ȴ.

 

 

 

 

 


 

 

Main Issue

SSH ȭ ܺ  

Date

2015-06-13

SubIssue

Bitvise SSH MinGW  msys SSH   

SubIssue-2

 

Contents

1.  Bitvise SSH ġ

 

ٸ Default ġ ȭ ȴ.  , Linux Admin Virtual sderoen : sj1612 ID PW ȴ. Ʈ ȣ 22̴. ܺ , ִ ǻ  Port forwading ̹Ƿ Local Network.

 

2.  AP Ʈ

 

ϴ ܺ Ʈ 22 ŷ Ƿ Ʈ ϵ Ѵ. ̹ 10022 Ͽ. ׸ ip Bitvise SSH ִ ip Ѵ. ׸ Ų. Ѵ.

 

ܺ Ʈ 10022, Ʈ 22 Ͽ. ̷ ϸ ܺο η AP   ssh ϴ.

 

3.  MinGW SSH Client

 

MinGW SSH Client Ѵ. ش Ŭ̾Ʈ ¼ҽ̹Ƿ .

MinGW SSH Client ɼ .

 

usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]

           [-D [bind_address:]port] [-e escape_char] [-F configfile]

           [-I pkcs11] [-i identity_file]

           [-L [bind_address:]port:host:hostport]

           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]

           [-R [bind_address:]port:host:hostport] [-S ctl_path]

           [-W host:port] [-w local_tun[:remote_tun]]

           [user@]hostname [command]

 

 

̷ Ȳ ɾ ش.

 

ssh -R 10022:localhost:22 sderoen@jnwhome.iptime.org -p 10022

 

̷ ϸ , ִ ǻͿ SSH ̷.

̴ ɼ 캸 putty Ȥ ̰ ssh ͳθ .

 

 

 

 

Main Issue

Date

2015-07-07

SubIssue

Ruby bundle    Plug-in Update

SubIssue-2

 

Contents

1.  Ruby\bundle  

׵  Ruby bundle ȵǾ

Bundle, ruby, rake θ ָ ruby  ͵ Ȯϰ bundle.bat ִ ruby.exe θ η

 

⺻ ̷ ָ ȴ

 

C:\Bitnami\redmine-2.6.5-0\apps\redmine\htdocs>c:\Bitnami\redmine-2.6.5-0\ruby\bin\bundle exec c:\Bitnami\redmine-2.6.5-0\ruby\bin\rake redmine:plugins:migrate RAILS_ENV=production

 

ʿ ο η bundle θ η  rake θ ȴ.

 

  database Migration 쵵 ̴.

C:\Bitnami\redmine-2.6.0-2\ruby\bin\bundle exec rake db:migrate RAILS_ENV=production

 

帶 Ʈ Ͽ ⸦ Ѵ.

http://kalipso.tistory.com/153

 

ġ Error log ڼ 캸 Ǵ κ ִ.

 

 

 

 

 

Main Issue

Date

2015-06-13

SubIssue

帶 Ʈ

SubIssue-2

Sub Issue ʴ ⿡ ´.

Contents

 

Bitnami Redmine ׷̵(V.2.0.3-1 ==> V.2.6.0-2) Programming/Tool & Util 2014/12/10 13:49

Redmine Ÿ ϴ ׾ Ҵ. Apache ص ʰ, mysql ص . ϰ ɸ ư ִ° ɸ ̾ ٸ ̱׷̼ ϱ Ծ.

1. DB

ó root ȣ ʾƼ ָ Ծ. root ȣ ã (http://kalipso.tistory.com/152) mysqldump Ͽ.

C:\Program Files\BitNami Redmine Stack\mysql\bin>mysqldump -u bitnami -p bitnami_redmine > bckup.bizen.redmine.20141209.sql
Enter password: **********

 

2.

C:\Program Files\BitNami Redmine Stack\apps\redmine\htdocs\files ִ ÷ϵ

 

3. űԼ Bitnami Redmine ֽŹ ġ

https://bitnami.com/stack/redmine/installer Window ֽŹ ٿεϿ ġ Ȯ

Bitnami ֽŹ http port ܿ https ʿ Ѵ. IIS ϰ ʴٸ Installer ڵ 80 port 443 port ϸ, ش port ̶ port ϶ ´. ϴ.

 

4. űԼ Database Drop/Create

C:\Bitnami\redmine-2.6.0-2\mysql\bin>mysql -uroot -p
Enter password: **********

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.5.40 MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| bitnami_redmine    |
| mysql              |
| performance_schema |
| test               |
+--------------------+
5 rows in set (0.00 sec)

mysql> drop database bitnami_redmine;

mysql> create database bitnami_redmine;

mysql> grant all privileges on bitnami_redmine.* to 'bitnami'@'localhost' identified by 'н';

 

5. redmine app ϴ bitnami йȣ

C:\Bitnami\redmine-2.6.0-2\apps\redmine\htdocs\config\database.yml Ͽ "н"

 

6. Restore database & ÷(htdocs/files)

C:\Bitnami\redmine-2.6.0-2\mysql\bin>mysql -ubitnami -p bitnami_redmine < bckup.bizen.redmine.20141209.sql

, database Internal Server Error ȴ. 7 DB migration ؾ Ѵ.

 

7. rake Utility ̿Ͽ DB Migration plugin ׷̵

ruby rake Utility Ϸ C:\Bitnami\redmine-2.6.0-2 use_redmine.bat Ѿ Ѵ. ( ̰͵ stackoverflow ߴ.)

redmine/htdocs rake Ų.

 C:\Bitnami\redmine-2.6.0-2\apps\redmine\htdocs>C:\Bitnami\redmine-2.6.0-2\ruby\bin\rake db:migrate RAILS_ENV=production
rake aborted!
You have already activated rake 10.1.0, but your Gemfile requires rake 10.4.0. Prepending `bundle exec` to your command
may solve this.
C:/Bitnami/redmine-2.6.0-2/apps/redmine/htdocs/config/boot.rb:8:in `<top (required)>'
C:/Bitnami/redmine-2.6.0-2/apps/redmine/htdocs/config/application.rb:1:in `<top (required)>'
C:/Bitnami/redmine-2.6.0-2/apps/redmine/htdocs/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

׷ Դ.

C:\Bitnami\redmine-2.6.0-2\apps\redmine\htdocs>bundle update rake

Ͽ update Ѵ. ׷ ذ ʴ´. stackoverflow ذߴ.

C:\Bitnami\redmine-2.6.0-2\apps\redmine\htdocs>C:\Bitnami\redmine-2.6.0-2\ruby\bin\bundle exec rake db:migrate RAILS_ENV
=production
DL is deprecated, please use Fiddle
==  AddTrackersFieldsBits: migrating ==========================================
-- add_column(:trackers, :fields_bits, :integer, {:default=>0})
   -> 0.1560s
==  AddTrackersFieldsBits: migrated (0.1560s) =================================

==  AddAuthSourcesTimeout: migrating ==========================================
-- add_column(:auth_sources, :timeout, :integer)
   -> 0.1404s
==  AddAuthSourcesTimeout: migrated (0.1404s) =================================

==  AddWorkflowsType: migrating ===============================================
-- add_column(:workflows, :type, :string, {:limit=>30})
   -> 0.1872s
==  AddWorkflowsType: migrated (0.1872s) ======================================

==  UpdateWorkflowsToSti: migrating ===========================================
==  UpdateWorkflowsToSti: migrated (0.0780s) ==================================

....

÷ ƴ ÷ε update ߴ.

C:\Bitnami\redmine-2.6.0-2\apps\redmine\htdocs>C:\Bitnami\redmine-2.6.0-2\ruby\bin\bundle exec rake redmine:plugins:migrate RAILS_ENV=production

帶 ߴ.

 

 

 

Main Issue

Git Advanced

Date

2015-08-29

SubIssue

Git Clone, checkoput, commit, push

SubIssue-2

Notebook pc188   踦 κе Master

 

1.  Clonne

ܼϰ clone remote/origin Master Clone ް ȴ. Master ַ ϰ Ǵµ, ̷ Ǹ ΰ . , Clone ڱ ڽ Branch ϰ Clone ޴ . ׷ Ǹ ó Master Local ڱ ڽ Branch ϰ ȴ.

 

1.1 , VAIO Notebook Master Branch Jinwuk_VAIO

 

 

̷ ϸ Origin Name ʾұ Jinwuk_VAIO Branch Master Clone ȴ.

 

ID ְ

 

Password ԷѴ.

 

PC188 VAIO 纻 ް ʹٸ Origin Name Jinwuk_VAIO ָ ȴ.

 

 

ٽø, Clone ִµ, Masterκ Branch Clone Ư Branch κ Clone Ǵ ִ.

 

 

 

2.  PUSH

 

Commit subversion ϹǷ , PUSH ٸ.  PUSH Git Clone Branch ؾ Ѵ. ׷Ƿ Local  Branch ̸ remote Branch ϵ Ѵ. ׷ ʰ Master PUSH õϸ, Git Server ó Push Local Branch PUSH ƴ PUSH ź . ٸ Commit õμ ߻ϴ Git ߻ . 

Git Master Merge ߵȴ. ڿ ϴ.

 

PUSH ִ´ PUSH URL Ǿ Ѵ.

 

3.  CheckOut

 

Check out Local Git Repository ¶ ϸ ٸ Branch ̴.  Checkout Ҷ ƹ͵ Master Checkout ȴ. ׷, Ư Branch ̸ Ǹ, remote Ư Branch ȴ. ¿ Commit PUSH Ͽ ϸ ȴ.

 

 

 

Main Issue

׸ ǥ

Date

2015-06-13

SubIssue

׸ ǥ õ sub Issue ⿡ ´

SubIssue-2

Sub Issue ʴ ⿡ ´.

Contents

1. 

1. شϴ ⿡ ´. Ʈ 10 ̴.

 

2. 

 

ʿ ̷ ȴ.

 

ssh -R 10022:localhost:22 sderoen@jnwhome.iptime.org -p 10022

 

ʿ κ ̷ ǥ ϸ ȴ.