MeGUI 인코딩 화질 선명하게

Posted by Programmer™
2017. 4. 13. 21:23 Utility

Lanczos 필터만 쓰면 영상 품질이 또렷하지가 않습니다.

 

같은 영화인데도 본인이 인코딩한것은 화질이 그저그런데, 다른 분들이 인코딩한것은 화질이 또렷한 경우를 경험하셨을겁니다.

 

이런 경우는 Sharpen 필터를 따로 한번 더 적용해줘서 그렇습니다.

 

아래는 많이 쓰이는 LimitedSharpenFaster 필터에 대한 간단한 예제입니다.   

 

# Set DAR in encoder to 8640 : 4739. The following line is for automatic signalling
global MeGUI_darx = 8640
global MeGUI_dary = 4739

 

Import("D:\ZMEGUI\tools\avisynth_plugin\LimitedSharpenFaster.avsi")
Import("D:\ZMEGUI\tools\avisynth_plugin\QTGMC-3.32.avsi")
LoadPlugin("D:\ZMEGUI\tools\avisynth_plugin\masktools2.dll")
LoadPlugin("D:\ZMEGUI\tools\avisynth_plugin\RgTools.dll") 
LoadPlugin("D:\ZMEGUI\tools\avisynth_plugin\warpsharp.dll")
LoadPlugin("D:\ZMEGUI\tools\avisynth_plugin\mvtools2.dll")
LoadPlugin("D:\ZMEGUI\tools\avisynth_plugin\nnedi3.dll")
LoadPlugin("D:\ZMEGUI\tools\avisynth_plugin\immaavs.dll") 

LoadPlugin("D:\ZMEGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)

LoadPlugin("D:\ZMEGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("G:\VTS_01_1.d2v", cpu=4, info=3)

#deinterlace
QTGMC(Preset="Very Fast")
SelectEven() # 원래 프레임율을 유지하려면 이 문장을 추가합니다. 빼면 2배의 프레임율이 됩니다.
LimitedSharpenfaster( ss_x=1.5, ss_y=1.5, dest_x=last.width, dest_y=last.height,
 \ Smode=3, strength=192, radius=2,
 \ Lmode=1, wide=false, overshoot=1,
 \ soft=0, edgemode=0, special=false,
 \ exborder=0)

#crop
Lanczos4Resize(1280,720)
#denoise
LoadPlugin("D:\ZMEGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise

 

LimitedSharpenFaster :

limitedsharpenfaster.zip
다운로드

 

Masktools2 : https://github.com/pinterf/masktools/releases/

 

RgTools : http://github.com/pinterf/RgTools/releases

 

WarpSharp :

warpsharp_20080325.zip
다운로드

 

 

 

사용 문법에 관한 자세한 내용은 아래 URL 참고하시기 바랍니다.

 

http://forum.doom9.org/showthread.php?t=156028

http://avisynth.nl/index.php/LimitedSharpen

 

 

LimitedSharpenFaster (clip clp, float "ss_x", float "ss_y", int "dest_x", int "dest_y", int "Smode" , int "strength", int "radius", int "Lmode", bool "wide", int "overshoot", int "undershoot", int "soft", int "edgemode", bool "special", int "exborder" )


clip   =
Input clip.

 

float  ss_x = 1.5
float  ss_y = 1.5
Supersampling when > 1, which reduces aliasing on edges.

 

float  dest_x = width
float  dest_y = height
Resize directly to final size, saves a resize step.

 

int  Smode = 3
Sharpen mode:

Each mode has progressively less haloing in its sharpening.

 

int  strength = 160
Sharpening strength:

  • For Smode=1, it can be 0~127 (simple sharpening), 128~255 (simple overdrive), 255~4096 (big overdrive).
  • For Smode=2, values 0~100 are handled over to Sharpen() as 0.0~1.0. Values >100 are mapped to 100.
  • For Smode=3, 0~100 is common, but 100~inf. can be used if necessary.

Default is strength=160 for Smode=1, and strength=100 otherwise.

 

int  radius = 1
Radius of UnsharpMask, only used in Smode=1. Range: 1 to 10

 

int  Lmode = 1
Lmode:

  • 0 : No effect
  • 1 : Clamp to over/undershoot.
  • 3 : Zero over/undershoot on edges, normal over/undershoot on not-edges.


bool  wide = false
With wide=true, the local [min,max] limits are gathered from the 5x5 neighborhood, instead just 3x3. Enables more gain in detail contrast. Increasingly useful with increasing supersampling factors.

 

int  overshoot = 1
Sharpening limit: a sharpened pixel may not exceed [min,max] of the local neighborhood by more than 'overshoot'. (High values remove the "Limited" of LimitedSharpen, and cause excessive haloing.)

 

int  undershoot = [overshoot]
Separate limit for pixels that get darker during sharpening. Good for cartoons with strong lines. (If not specified, then undershoot==overshoot.)

 

int  soft = 0
Softens the effect of sharpening. -1 will (try to) autocalculate a good value. Range: 0 to 100

 

int  edgemode = 0

  • -1 : shows edges.
  • 0 : does nothing.
  • 1 : restricts sharpening to edges
  • 2 : restricts sharpening to mostly non-edges (I think?)


bool  special = false
special=true tries to raise detail contrast in dark areas of a frame. (Usage not really recommended - the method is simple and might cause artefacts.)

 

int  exborder = 0
Border exclusion; range: 0 to 16

데이터베이스 연결 문자열

Posted by Programmer™
2017. 4. 10. 21:25 카테고리 없음

Excel 97-2003

 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myOldExcelFile.xls;
Extended Properties
="Excel 8.0;HDR=YES";

 

 

Excel 2007

 

Xlsx files

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsx;
Extended Properties
="Excel 12.0 Xml;HDR=YES";

 

Xlsb files

Provider=Microsoft.ACE.OLEDB.12.0;
Data Source
=c:\myFolder\myBinaryExcel2007file.xlsb;
Extended Properties
="Excel 12.0;HDR=YES";

 

Xlsm files

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsm;
Extended Properties
="Excel 12.0 Macro;HDR=YES";

 

 

Excel 2010

 

Xlsx files

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsx;
Extended Properties
="Excel 12.0 Xml;HDR=YES";

 

Xlsb files

Provider=Microsoft.ACE.OLEDB.12.0;
Data Source
=c:\myFolder\myBinaryExcel2007file.xlsb;
Extended Properties
="Excel 12.0;HDR=YES";

 

Xlsm files

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsm;
Extended Properties
="Excel 12.0 Macro;HDR=YES";

 

 

Excel 2013

 

Xlsx files

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsx;
Extended Properties
="Excel 12.0 Xml;HDR=YES";

 

Xlsb files

Provider=Microsoft.ACE.OLEDB.12.0;
Data Source
=c:\myFolder\myBinaryExcel2007file.xlsb;
Extended Properties
="Excel 12.0;HDR=YES";

 

Xlsm files

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsm;
Extended Properties
="Excel 12.0 Macro;HDR=YES";

 

 

Access 97

 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.mdb;
Persist Security Info
=False;

 

Access 2000

 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.mdb;
Persist Security Info
=False;

 

Access 2002

 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.mdb;
Persist Security Info
=False;

 

Access 2003

 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.mdb;
Persist Security Info
=False;

 

Access 2007

 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.accdb;
Persist Security Info
=False;

 

Access 2010

 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.accdb;
Persist Security Info
=False;

 

Access 2013

 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.accdb;
Persist Security Info
=False;

 

 

 

 

AnyBizSoft PDF Splitter v1.0.1

Posted by Programmer™
2017. 3. 25. 22:05 Utility

그다지 많이 쓰지는 않지만 없을때 아쉬운 프로그램이라면 PDF 나누기 프로그램을 들 수 있겠네요.

보통 eBook 을 Chapter 별로 쪼갤때 유용합니다.

 

대충 화면이 비슷한 프로그램으로는 4Videosoft PDF Splitter, Wondershare PDF Splitter 등이 있습니다.

 

먼저 AnyBizSoft PDF Splitter 입니다. 이 제품은 더이상 출시되지는 않고 Wondershare 브랜드로 나옵니다.

 

 

다운로드:  anybizsoft-pdf-splitter_full550.zip

 

 

 

 

 

 

multiple PDF files 선택 후 옆의 Setting 을 클릭합니다.

 

 

그리고 + New 를 눌러서 나누고자 하는 페이지를 지정해줍니다. 지정이 끝나면 OK 를 클릭합니다.

 

 

이제 마지막으로 Split 버튼을 클릭하면 새로운 PDF 파일이 만들어집니다.

 

 

4Videosoft PDF Splitter 입니다.

 

 

   

 

 

마지막으로 Wondershare PDF Splitter 입니다.

 

 

  

 

 

3개가 완전 똑같습니다.

이중에 마지막 Wondershare PDF Splitter 의 경우에는 실행시 Wonder Studio 프로세스가 (WSHelper.exe) 메모리에 상주하게 됩니다.

그래서 비추합니다.

 

그리고 회사에서도 무료로 사용할 수 있는 국산 프로그램 nPDF도 있습니다.

 

 

nPDF 공식 홈페이지: http://iblogbox.com/npdf/

 

 

 

FireFox 이 연결은 안전하지 않습니다. 입력된 로그인 정보가 유출될 수 있습니다.

Posted by Programmer™
2017. 3. 14. 01:51 카테고리 없음

 

2017년 3월 7일자로 나온 Mozilla FireFox 52.0 버전부터 몇가지 새로운 기능이 추가되었습니다.

 

새로 추가된 기능 때문에 저처럼 혹시 해킹된게 아닌지 적잖게 놀라신 분들이 많을것으로 생각됩니다. 

아래는 파이어폭스 공식 홈페이지에 올라온 해당 부분 글입니다.

Added user warnings for non-secure HTTP pages with logins. Firefox now displays a “This connection is not secure” message when users click into the username and password fields on pages that don’t use HTTPS.

위 글처럼 보안 연결(HTTPS)을 지원하지 않는 로그인 폼에 마우스를 위치할 경우 "이 연결은 안전하지 않습니다. 입력된 로그인 정보가 유출될 수 있습니다." 라는 경고 메시지를 표시하도록 기능이 추가되었습니다.

 

주로 기존의 즐겨찾기가 http 로 되어 있는 경우 위와 같이 로그인 정보가 유츌 될 수 있습니다. 라는 현상이 일어납니다.

웹사이트가 https 를 지원하는 경우, http://웹사이트주소 대신에 https://웹사이트주소 로 접속하시면 해결됩니다.

실제로 위 홈페이지를 https:// 로 시작해 접속하니 아래 그림처럼 더이상 경고창은 표시되지 않습니다,

 

앞으로 대부분의 사이트들이 https:// 를 지원하게끔 바꿔지겠네요.

 

From: https://www.mozilla.org/en-US/firefox/52.0/releasenotes/