빠르고 좋네 +_+

ffmpeg 만세


If you only want to convert mkv to mp4 then you will save quality and a lot of time by just changing the containers. Both of these are just wrappers over the same content so the cpu only needs to do a little work. Don't re encode as you will definitely lose quality.


It's very straight forward using ffmpeg:


ffmpeg -i LostInTranslation.mkv -vcodec copy -acodec copy LostInTranslation.mp4

Here, you are copying the video codec and audio codec so nothing is being encoded.


Tip:


To convert all the mkv files in current directory, run a simple loop in terminal:


for i in *mkv; do ffmpeg -i $i -vcodec copy -acodec copy $i.mp4; done 


[링크 : http://askubuntu.com/questions/396883/how-to-simply-convert-video-files-i-e-mkv-to-mp4]

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

ffmpeg concat  (0) 2018.10.10
ffmpeg huffyuv  (0) 2017.02.28
ffmpeg 으로 파일 재생하기  (0) 2015.02.10
Mplayer/ffmpeg 크로스 컴파일 하기  (0) 2015.01.27
ffmpeg arm 아키텍쳐별 최적화 코덱  (0) 2015.01.26
Posted by 구차니
프로그램 사용/Blender2016. 11. 23. 23:41

먼가 엉겨서 이상한거 같긴하지만...


일단 버전 자체는.. git에서 받은거랑 윈도우에서 포함되어 있던 버전이랑 확실히 다르니..

양쪽다 git에서 받던가 패키지 된거에서 뺴내던가 둘중에 하나일지도?


odroid 에다가

blender 두개 실행해서 하나는 Master

하나는 Client로 설정하고

윈도우에서는 

Slave로 해서 붙이긴 했는데 두번 실행했더니 두개가 붙네..


아무튼 파일을 저장하고 나서

Send Network 하고 나서

Get Image 하니 먼가 받아는 오는데

그 이후로는 다시는 안되고 Slave를 종료하기 전에는 Master 로 실행했던 Blender도 안죽고..

미묘하다 미묘해..

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

blender 포켓몬 애니메이션  (0) 2020.08.08
blender physical simulation  (0) 2018.03.19
blender netrender / incorrect master version  (0) 2016.11.22
blender netrender 구조  (0) 2016.11.19
블렌더 강좌  (0) 2016.11.18
Posted by 구차니
프로그램 사용/Blender2016. 11. 22. 21:41

netrender 소스인거 같은데 이런 에러네.. 버전 체크?

def clientConnection(netsettings, report = None, scan = True, timeout = 5):

    address = netsettings.server_address

    port = netsettings.server_port

    use_ssl = netsettings.use_ssl

    

    if address== "[default]":

#            calling operator from python is fucked, scene isn't in context

#            if bpy:

#                bpy.ops.render.netclientscan()

#            else:

        if not scan:

            return None


        address, port = clientScan()

        if address == "":

            return None

    conn = None

    try:

        HTTPConnection = http.client.HTTPSConnection if use_ssl else http.client.HTTPConnection

        if platform.system() == "Darwin":

            with ConnectionContext(timeout):

                conn = HTTPConnection(address, port)

        else:

            conn = HTTPConnection(address, port, timeout = timeout)


        if conn:

            if clientVerifyVersion(conn, timeout):

                return conn

            else:

                conn.close()

                reporting(report, "Incorrect master version", ValueError)

    except BaseException as err:

        if report:

            report({'ERROR'}, str(err))

            return None

        else:

            print(err)

            return None


def clientVerifyVersion(conn, timeout):

    with ConnectionContext(timeout):

        conn.request("GET", "/version")

    response = conn.getresponse()


    if response.status != http.client.OK:

        conn.close()

        return False


    server_version = response.read()


    if server_version != VERSION:

        print("Incorrect server version!")

        print("expected", str(VERSION, encoding='utf8'), "received", str(server_version, encoding='utf8'))

        return False


    return True 

[링크 : https://github.com/WARP-LAB/Blender-Network-Render-Additions/blob/master/netrender/utils.py]


이제야(?) 생각이 나서 콘솔에서 실행에서 에러를 보니.. 크앙..

2.76b랑 2.78이랑은 버전이 다른듯 흑 ㅠㅠ

윈도우 쪽을 버전을 내려야지 머 ㅠㅠ

$ blender

connect failed: No such file or directory

Read new prefs: /home/odroid/.config/blender/2.76/config/userpref.blend

libGL error: unable to load driver: exynos_dri.so

libGL error: driver pointer missing

libGL error: failed to load driver: exynos

Incorrect server version!

expected 1.9 received 1.8

Incorrect master version

Incorrect server version!

expected 1.9 received 1.8

Incorrect master version

Info: Master server found


Incorrect server version!

expected 1.9 received 1.8

Error: Incorrect master version 


+

2016.11.23

윈도우쪽 버전을 맞추어도 여전히 incorrect 버전이라고 뜨네..

python쪽 차이일려나? 미지수네...

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

blender physical simulation  (0) 2018.03.19
blender netrender 잠시 된건가..  (0) 2016.11.23
blender netrender 구조  (0) 2016.11.19
블렌더 강좌  (0) 2016.11.18
ubuntu blender addons  (0) 2016.11.17
Posted by 구차니
프로그램 사용/VLC2016. 11. 22. 09:21

엌 win/pc 버전으로 해서봤더니 나오네? ㅋㅋㅋ


엌ㅋㅋㅋㅋ 멀리서 보면 그럴싸 한데?


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

vlc 간편 녹화  (0) 2022.08.01
http vlc protocol  (0) 2018.11.30
vlc 옵션 -vvv  (0) 2015.09.15
dash with VLC  (0) 2015.09.11
VLC dshow(캡쳐장비) 해상도 설정  (0) 2015.05.23
Posted by 구차니
프로그램 사용/Blender2016. 11. 19. 22:02

Master는 Slave를 관리하기만 하고 자기 스스로는 rendering을 하지 않는 관리용 노드

Slave는 Master의 명령을 받아 rendering하는 노드

Client는 Mater에게 렌더링을 요청하는 노드

The Master Node does no rendering, it just stores the .blend information and sources out the rendering to slaves and keeps track of what 'Chunks' are going where.


The Slave Node (or nodes) are the work horses, doing all the rendering under the control of the master.


The Client Node is the node from which render jobs are sent to the master for distributed rendering by the slaves. This is where you have your project open and are working in Blender. 

[링크 : http://blendingwithforbes.blogspot.kr/2010/03/blender-25-network-render.html]



두대 가지고 하려면은

메인 PC에는

Mater / Slave / Client를 돌리고

보조 PC에다가는

Slave를 돌려야 하는데...

그러면 Blender를 세개나 돌려야 하나.. ㄷㄷㄷ

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

blender netrender 잠시 된건가..  (0) 2016.11.23
blender netrender / incorrect master version  (0) 2016.11.22
블렌더 강좌  (0) 2016.11.18
ubuntu blender addons  (0) 2016.11.17
blender 2.78 network render  (0) 2016.11.16
Posted by 구차니
프로그램 사용/Blender2016. 11. 18. 13:20

오랫만에 만져보려니 다 까먹었네ㅠㅠ


[링크 : https://www.youtube.com/user/nyaank/videos?sort=dd&shelf_id=1&view=0]


[링크 : http://minex2.tistory.com/18]


[링크 : http://sinyeobi.blog.me/10137607440] 컵만들기

    [링크 : http://sinyeobi.blog.me/10134908514] 컵만들기 1

[링크 : http://sinyeobi.blog.me/10137157495] 기본단축키

[링크 : http://sinyeobi.blog.me/10175283243] 기본 UI 설명

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

blender netrender / incorrect master version  (0) 2016.11.22
blender netrender 구조  (0) 2016.11.19
ubuntu blender addons  (0) 2016.11.17
blender 2.78 network render  (0) 2016.11.16
Blender stereoscopic Add-on 설치  (2) 2011.09.19
Posted by 구차니
프로그램 사용/sketchup2016. 11. 18. 10:12

layout이 라는 프로그램이 그런 용도라니..

대충 실행해보니.. layout은 30일간 만 무료인 pro버전에 속한 패키지..

[링크 : http://allbim.kr/?bim-software-article=sketchup-layout]


주말에 sketchup<->blender 한번 시도 해봐야겠다

[링크 : http://www.katsbits.com/tutorials/blender/sketchup-import.php]



[링크 : http://s.elfism.com/entry/카타나-검-모델링하기2-손잡이-모델링]

[링크 : https://wiki.blender.org/index.php/Doc:KO/2.6/Manual/3D_interaction/Transform_Control/Snap] 블렌더 snap

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

sketchup stl exporter  (0) 2017.02.28
sketchup flip 하기  (0) 2016.08.31
sketchup 여러번 복사하기  (0) 2016.08.31
스케치업 자격증  (0) 2014.02.28
스케치업 / export to DWG  (0) 2014.02.04
Posted by 구차니
프로그램 사용/Blender2016. 11. 17. 23:26

음.. git에서 하위경로 받는법을 찾으면 좀더 간편해질듯?

$ sudo find / -name addons

/usr/share/blender/scripts/addons


$ cd /usr/share/blender/scripts/addons

$ sudo git clone https://github.com/WARP-LAB/Blender-Network-Render-Additions.git

$ sudo mv Blender-Network-Render-Additions/netrender ./

$ sudo rm -rf Blender-Network-Render-Additions 



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

blender netrender 구조  (0) 2016.11.19
블렌더 강좌  (0) 2016.11.18
blender 2.78 network render  (0) 2016.11.16
Blender stereoscopic Add-on 설치  (2) 2011.09.19
blender 2.5용 Stereoscopic plugin  (0) 2011.09.07
Posted by 구차니
프로그램 사용/vi2016. 11. 17. 19:14

 

3. Jumping to diffs                                     *jumpto-diffs*


Two commands can be used to jump to diffs:
                                                                *[c*
        [c              Jump backwards to the previous start of a change.
                        When a count is used, do it that many times.
                                                                *]c*
        ]c              Jump forwards to the next start of a change.
                        When a count is used, do it that many times.


It is an error if there is no change for the cursor to move to. 

 

 
4. Diff copying                 *copy-diffs* *E99* *E100* *E101* *E102* *E103*
                                                                *merge*
There are two commands to copy text from one buffer to another.  The result is
that the buffers will be equal within the specified range.


                                                        *:diffg* *:diffget*
:[range]diffg[et] [bufspec]
                Modify the current buffer to undo difference with another
                buffer.  If [bufspec] is given, that buffer is used.  If
                [bufspec] refers to the current buffer then nothing happens.
                Otherwise this only works if there is one other buffer in diff
                mode.
                See below for [range].


                                                *:diffpu* *:diffput* *E793*
:[range]diffpu[t] [bufspec]
                Modify another buffer to undo difference with the current
                buffer.  Just like ":diffget" but the other buffer is modified
                instead of the current one.
                When [bufspec] is omitted and there is more than one other
                buffer in diff mode where 'modifiable' is set this fails.
                See below for [range].


                                                        *do*
do              Same as ":diffget" without argument or range.  The "o" stands
                for "obtain" ("dg" can't be used, it could be the start of
                "dgg"!). Note: this doesn't work in Visual mode.


dp              Same as ":diffput" without argument or range.
                Note: this doesn't work in Visual mode.

 

zo / z+space 펼치기

zc / 접기

 

[링크 : http://seungigi.blogspot.com/2012/02/vimdiff.html]

 

+

2022.09.21

 

]c 앞쪽으로 이동하며 차이점 부분 찾기

[c 뒤쪽으로 이동하며 차이점 부분 찾기

do 커서가 있는 쪽의 내용을 반대쪽에 복사한다

dp 커서가 없는 쪽의 내용을 커서가 있는 쪽에 복사한다.

zo 숨긴부분 열기

zc 차이점 없는 부분 열기

:diffupdate  차이점 비교 update시 실행

[링크 : https://seungdols.tistory.com/745]

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

vi 단어 단위 이동  (0) 2017.02.01
vi syntax highlight 선택하기  (0) 2017.01.03
vi 스크롤  (0) 2016.11.10
vi ctrl-s / ctrl-q  (0) 2016.11.09
vim 버전별 옵션 차이  (0) 2016.11.08
Posted by 구차니
프로그램 사용/u-boot2016. 11. 17. 18:38

filesize 라는 변수가 매번 바뀌나 궁금해서 검색

한마디로.. bootp나 dhcp tftp로 받은 마지막 파일 사이즈 라는 의미


filesize: Size (as hex number in bytes) of the file downloaded using the last bootp, dhcp, or tftp command.

[링크 : http://www.denx.de/wiki/DULG/UBootEnvVariables]



+

nand에 구울때

nand write.yaffs ${fileaddr} 0x400000 ${filesize};

이런식으로 하는게 안전할 듯(tftp로 받아와서 쓰는데 용량 크기가 안 맞아서.. ㅠㅠ

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

uboot nand scrub  (0) 2016.12.14
tftpd-hpa  (0) 2016.11.08
ubuntu 12.04 xinetd/tftpd 느린 이유  (0) 2016.11.08
uboot bootargs 기본값 설정하기  (0) 2015.02.09
uboot 메모리 관련 명령어  (0) 2015.01.08
Posted by 구차니