2010.07.06 추가
The Free, Cross-Platform Sound Editor

리눅스 / 윈도우 / MacOSX 지원


집에서 굴러다니는 스테레오 마이크를 사용하여 녹음하려고 하니
이상하게 윈도우 내장 녹음기는 메모리 부족이라고 배를째고..
그래서 부랴부랴 open source recorder라고 검색을 해보니 아래 녀석이 딱! 하고 나왔다.

그런데... 솔찍히.. 쓰는법을 모르겠다. ㄱ-


아래는 About 다이얼로그, 아이콘 이쁘네 -ㅁ-!

스테레오로 녹음하려면 Project - New Stereo Track 을 선택하면 된다.

그러면 익숙한(?) 좌우 채널이 분리된 하나의 Audio Track이 생성된다.

상단의 빨간 원형 버튼(일반적인 녹음)을 누르면 녹음이 된다.

[링크 : http://audacity.sourceforge.net/]


사족
 TC-1100 노트북에서는 스테레오 마이크가 크게 녹음되지만, mono로만 되고
 데스크탑에서는  stereo로 녹음되나, 소리가 거의 들릴락 말락한다. 물론 음질은 매우 좋다.
 아마도, 스테레오 마이크가 다이나믹(패시브)가 아닌 액티브(콘덴서) 마이크라서 그런듯 싶다.

[링크 : http://www.digitalaudio.co.kr/good/sa442.html]
이녀석이랑 동일하게 생겼는데.. 음.. 콘덴서 마이크라서 전원공급이 안되서 작게 녹음되는건가..
Posted by 구차니
저번에 안되도록 막힌 방법처럼 간단하진 않지만.
어쩌면 구식 방법으로 다운로드 하는것과 유사한 방법으로 VLC에서 동영상 재생이 가능한 방법이다.

1. video ID를 알아낸다.
2. token을 알아낸다.
3. vlc에 네트워크 스트림에 붙여넣는다.
http://www.youtube.com/get_video?video_id=[video_id]&t=[token_value]

video ID는 주소표시줄에 나오지만,
token은 그 페이지에서 java script중에 &t= 으로 검색하면 나온다.

2010/04/13 - Dreambox youtube VLC
Posted by 구차니
회사일/enigma2010. 4. 13. 14:20
VLC 1.0.5 에서는 .hosts 파일을 수정해서 외부에서 접속을 하게 해도 컨트롤이 되지 않는다.
예전에 보안상의 차이점이 있는건 확인했지만, 내부적으로 얼마나 바뀐건진 모르겠고

VLC 0.8.6 버전은 Enigma의 YoutubeplayerE1 과 연동이 이상없이 잘된다.

위는 vlc web interface를 통해본 youtube 플레이 주소

http://www.youtube.com/get_video?video_id=SKApWIUdW04&feature=youtube_gdata&sk=GKryLbgUV8stfYVg4AOwLbInoiMQKix_C&t=vjVQa1PpcFNAC3oy1pAOoTswIowYvc1anZx7GC2w-wU%3D

특이하게도(?) &t 값을 통해 토큰이 들어가 있다.


도움은 안된 관련내용
[링크 : http://forum.videolan.org/viewtopic.php?f=14&t=49538]
[링크 : http://www.techwatch.co.uk/forums/21899-streaming-from-linux-enigma-receivers-to-windows-ppc.html]
[링크 : http://www.satellites.co.uk/forums/dreambox-support-forum/]
Posted by 구차니
프로그램 사용/VLC2010. 4. 13. 13:55
매일매일 빌드하는 버전으로, 일종의 개발버전 릴리즈이다.

[링크 : http://nightlies.videolan.org/]
Posted by 구차니
회사일/enigma2010. 4. 13. 12:07
id 는 root
pw 는 dreambox


TELNET server. You can telnet into the box if you want to control Linux directly. default username=root, password=dreambox.
Note: To change the root password, just telnet in and use the unix "passwd" command. In images from June 2003 onwards, this command writes back to the flash memory so the command will last until the next flash erase, not just the next reboot ;-)

FTP server. You can FTP into the box if you want to send files to or from the DREAMBOX flash "disk" (and hard disk if fitted). default username=root, password=dreambox.

SAMBA server. You can access the DREAMBOX flash "disk" (and hard disk if fitted) from a Windows PC using the standard file sharing in the Windows file explorer. (open \\192.168.0.42 or whatever)

WEB server. Open up a web browser to http://192.168.0.42 (or whatever address you've given your Dreambox) and follow the prompts. It's a little incomplete so far, but already you can get status from the box, and listen to an audio stream as MP2 (click on "apid" in top right hand corner). Interestingly, you can listen to a different radio station over TCP/IP to that which is playing on the box itself! But, of course the radio stations must be on the same transponder mux.

[링크 : http://www.net42.co.uk/satellite/dreambox-hints.html]

'회사일 > enigma' 카테고리의 다른 글

enigma2 위성 검색하기(satellite scan on enigma2)  (0) 2010.04.14
Dreambox youtube VLC  (0) 2010.04.13
enigma2 download  (15) 2010.01.21
Posted by 구차니
linux에서 제공하는 표준 API는 존재하지 않아
C++에서도 클래스를 만들어 쓰거나, 별도의 함수를 만들어 써야 한다고 한다.

일단 Encoding은 isalnum() 이 아닐경우에는 %02X로 출력해주면 될 것으로 보이고
Decoding은 %[0-9a-f][0-9a-f] 일 경우에는 %c로 출력해주면 될 것으로 보인다.

Encoding은 한글자만 보면 되지만
Decoding은 두글자를 보면서 해야 해서 귀찮을듯..


아래는 소스가 있는 페이지 이지만, 검증은 아직 해보지 않았음
  [링크 : http://tistory.izyou.net/entry/URL-인코딩, 디코딩 클래스]
  [링크 : http://remipa.pe.kr/zog/?no=118]
  [링크 : http://demo.initech.com/?document_srl=237]
  [링크 : http://smok95.tistory.com/entry/URL-EncodeDecode]
Posted by 구차니
웹(HTML)      http://www.youtube.com/results?search_query=검색어
RSS(XML)     http://gdata.youtube.com/feeds/base/videos?q=검색어
api(XML)       http://gdata.youtube.com/feeds/api/videos?q=검색어
Posted by 구차니
개소리 왈왈2010. 4. 12. 16:02
1주일 블로그 폭발을 시켰더니 방문자가 반토막이 났다.
요즘에는 300도 겨우오는 추세 -ㅁ-


솔찍히 300에서 800 넘어 갈때, 네이버에서 많이 왔는데
이제는 거의 구글만 오고 있다.



결론 : 네이버는 1주일 정도 무효링크가 되면 없애나보다

'개소리 왈왈' 카테고리의 다른 글

딸기  (8) 2010.04.18
전 지대로 컴맹이빈다 /ㅁ/  (8) 2010.04.14
구차니로 컴백합니다  (0) 2010.04.05
티스토리 폭파 후 이야기  (2) 2010.03.31
리눅스 마스터 1급 합격!  (10) 2010.03.26
Posted by 구차니
Linux2010. 4. 10. 18:11
wget은 머의 약자일려나.. 혹시.. ftp의 get 명령어를 Web에서 한다고 wget 이려나?

아무튼, wget은 Ubuntu 9.10에서 2010-04-10 에 1.11.4 버전을 유지하고있다.
$ wget -V
GNU Wget 1.11.4

Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Currently maintained by Micah Cowan <micah@cowan.name>.
gnu 에서는 1.12 가 최신인데 짝수버전은 피하는 성격상 11.4를 넣은것으로 생각된다.

[링크 : http://www.gnu.org/software/wget/]
[링크 : http://ftp.gnu.org/gnu/wget/]


그리고, wget이 필요로 하는 라이브러리는 다음과 같다.
$ ldd /usr/bin/wget
        linux-gate.so.1 =>  (0xb78c7000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb78ac000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb78a3000)
        libssl.so.0.9.8 => /lib/i686/cmov/libssl.so.0.9.8 (0xb785c000)
        libcrypto.so.0.9.8 => /lib/i686/cmov/libcrypto.so.0.9.8 (0xb7716000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb75d1000)
        /lib/ld-linux.so.2 (0xb78c8000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb75b8000)
        libz.so.1 => /lib/libz.so.1 (0xb75a2000)

파일은 대략 237K 이다.(보기보다 덩치가 큰녀석이다!)
$ ll /usr/bin/wget
-rwxr-xr-x 1 root root 242516 2009-10-07 00:12 /usr/bin/wget

busybox 에서는 cookie 관련 내용은 빠져있는 것으로 생각된다.
wget

    wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document file]
        [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
        [-U|--user-agent agent] url

    Retrieve files via HTTP or FTP

    Options:

            -s      Spider mode - only check file existence
            -c      Continue retrieval of aborted transfer
            -q      Quiet
            -P      Set directory prefix to DIR
            -O      Save to filename ('-' for stdout)
            -U      Adjust 'User-Agent' field
            -Y      Use proxy ('on' or 'off')

[링크 : http://www.busybox.net/downloads/BusyBox.html]

Posted by 구차니
wget은 HTTP나 FTP 등의 프로토콜을 통해 웹페이지나 파일을 다운받는 유틸리티이다.
아무튼 youtube에서 파일로 다운로드 받기위해 주소를 변환해서 시도를 해도
403 Forbidden 에러만 날뿐 다운로드 되지 않는다.

아무튼 쿠키를 저장하고, 이를 다시 불러들여 다운로드를 시도하면 제대로 받아진다.
쿠키를 이용해서 세션이 달라지면, 이전의 내용은 무효화 되서 그런것으로 생각된다.

--no-cookies
Disable the use of cookies. Cookies are a mechanism for maintaining server-side state. The server sends the client a cookie using the Set-Cookie header, and the client responds with the same cookie upon further requests. Since cookies allow the server owners to keep track of visitors and for sites to exchange this information, some consider them a breach of privacy. The default is to use cookies; however, storing cookies is not on by default.


--load-cookies file
Load cookies from file before the first HTTP retrieval. file is a textual file in the format originally used by Netscape's cookies.txt file.

You will typically use this option when mirroring sites that require that you be logged in to access some or all of their content. The login process typically works by the web server issuing an http cookie upon receiving and verifying your credentials. The cookie is then resent by the browser when accessing that part of the site, and so proves your identity.

Mirroring such a site requires Wget to send the same cookies your browser sends when communicating with the site. This is achieved by ‘--load-cookies’—simply point Wget to the location of the cookies.txt file, and it will send the same cookies your browser would send in the same situation. Different browsers keep textual cookie files in different locations:

Netscape 4.x.
The cookies are in ~/.netscape/cookies.txt.
Mozilla and Netscape 6.x.
Mozilla's cookie file is also named cookies.txt, located somewhere under ~/.mozilla, in the directory of your profile. The full path usually ends up looking somewhat like ~/.mozilla/default/some-weird-string/cookies.txt.
Internet Explorer.
You can produce a cookie file Wget can use by using the File menu, Import and Export, Export Cookies. This has been tested with Internet Explorer 5; it is not guaranteed to work with earlier versions.
Other browsers.
If you are using a different browser to create your cookies, ‘--load-cookies’ will only work if you can locate or produce a cookie file in the Netscape format that Wget expects.

If you cannot use ‘--load-cookies’, there might still be an alternative. If your browser supports a “cookie manager”, you can use it to view the cookies used when accessing the site you're mirroring. Write down the name and value of the cookie, and manually instruct Wget to send those cookies, bypassing the “official” cookie support:

          wget --no-cookies --header "Cookie: name=value"


--save-cookies file
Save cookies to file before exiting. This will not save cookies that have expired or that have no expiry time (so-called “session cookies”), but also see ‘--keep-session-cookies’.


--keep-session-cookies
When specified, causes ‘--save-cookies’ to also save session cookies. Session cookies are normally not saved because they are meant to be kept in memory and forgotten when you exit the browser. Saving them is useful on sites that require you to log in or to visit the home page before you can access some pages. With this option, multiple Wget runs are considered a single browser session as far as the site is concerned.

Since the cookie file format does not normally carry session cookies, Wget marks them with an expiry timestamp of 0. Wget's ‘--load-cookies’ recognizes those as session cookies, but it might confuse other browsers. Also note that cookies so loaded will be treated as other session cookies, which means that if you want ‘--save-cookies’ to preserve them again, you must use ‘--keep-session-cookies’ again.


[링크 : http://www.gnu.org/software/wget/manual/html_node/HTTP-Options.html]

--save-cookies 로 저장한 youtube 쿠키이다. 음.. 무슨 의미지 -ㅁ-?
$ cat yt.cookie
# HTTP cookie file.
# Generated by Wget on 2010-04-10 11:57:59.
# Edit at your own risk.

.youtube.com    TRUE    /       FALSE   1586228278      PREF    f1=50000000&f2=8000000
.youtube.com    TRUE    /       FALSE   1291604278      VISITOR_INFO1_LIVE      FNfBrJzTQY

$ wget "http://www.youtube.com/watch?v=mdljV2uEs1A" --save-cookies yt.cookie
$ wget --load-cookies=yt.cookie "http://v22.lscache2.c.youtube.com/videoplayback?ip=211.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Ci
tag%2Calgorithm%2Cburst%2Cfactor&fexp=904405%2C900037&algorithm=throttle-factor&itag=35&ipbits=8&burst=40&sver=3&expire=1270890000&key=yt1&signature=5C611E956FB97E74D3435F8815A7A2376E3C61D4.C2C593CDDE0C15671462BB13C5404EC6927F7F7D&factor=1.25&id=99d963576b84b350" -O file.mp4
--2010-04-10 12:33:26--  http://v22.lscache2.c.youtube.com/videoplayback?ip=211.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor&fexp=904405%2C900037&algorithm=throttle-factor&itag=35&ipbits=8&burst=40&sver=3&expire=1270890000&key=yt1&signature=5C611E956FB97E74D3435F8815A7A2376E3C61D4.C2C593CDDE0C15671462BB13C5404EC6927F7F7D&factor=1.25&id=99d963576b84b350
Resolving v22.lscache2.c.youtube.com... 74.125.167.33
접속 v22.lscache2.c.youtube.com|74.125.167.33|:80... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 15708973 (15M) [video/x-flv]
Saving to: `file.mp4'

100%[==========================================================================>] 15,708,973   105K/s   in 2m 0s

2010-04-10 12:35:27 (128 KB/s) - `file.mp4' saved [15708973/15708973]

URL이 너무 길어서 별도의 파일이름을 지정해주지 않으면
Cannot write to `videoplayback?ip=211.0.0.0&sparams=id,expire,ip,ipbits,itag,algorithm,burst,factor&fexp=904405,900037&algorithm=throttle-factor&itag=35&ipbits=8&burst=40&sver=3&expire=1270890000&key=yt1&signature=5C611E956FB97E74D3435F8815A7A2376E3C61D4.C2C593CDDE0C15671462BB13C5404EC6927F7F7D&factor=1.25&id=99d963576b84b350' (File name too long).
주소가 255자를 넘어서는 관계로, 파일 이름으로 하기에는 너무 길다고 에러가 발생한다.
반드시 -O filename 으로 별도의 이름을 지정해 주어야 한다.

2010/04/09 - youtube 동영상 페이지 fmt_map, fmt_url_map, fmt_list, fmt_stream_map
[링크 : http://kldp.org/node/75150]


Posted by 구차니