VDR/ko

이 안내서에서는 DVB와 VDR을 젠투 리눅스에서 준비하는 방법을 설명합니다.

DVB란 무엇인가요?
DVB는 Digital Video Broadcasting의 약어입니다. DVB는 TV, 라디오, MHP, EPG, 텔레텍스트 같은 대화식 서비스의 디지털 데이터를 전송하는 방법입니다. HDTV에 대해 MPEG-2 또는 H-264로 데이터를 압축하여 같은 주파수에서도 다양한 채널로 데이터를 전송할 수 있습니다. 데이터를 좀 더 압축하여 더 많은 채널을 전송할 수 있지만, 화질이나 음질이 깨질 수 있습니다.

DVB는 다양한 방법으로 전송할 수 있습니다. 마지막에 붙은 문자가 전송 방식을 구분하는데 DVB-T는 지상 전송 방식을 의미합니다. 이 말고도 몇가지 방식이 또 있습니다:


 * DVB-S 는 위성 전송 방식입니다
 * DVB-C 는 물리 회선 전송 방식입니다
 * DVB-H 모바일 장치 전송 (지상) 방식입니다
 * DVB-IPI 는 IP 기반 네트워크 전송 방식입니다 예:인터넷
 * DVB-RC(S/C/T) 는 데이터 서비스 전송 채널을 반환합니다. 예: 광대역 인터넷

형식과 필요한 DVB 카드
Besides the different methods available to receive a DVB stream, the cards are classified by their type of produced output. There are cards with a decoder implemented which offer direct access to the stream by the device. These cards are full featured cards. Other cards have no own decoder implemented and require a software decoder on the computer and are budget cards. This implies higher system requirements. The computer's CPU should run at at least 600 MHz, and have at least 256MB of RAM. This list is useful for identifying the card.

커널 설정하기
First, ensure that the kernel supports DVB and the DVB device. Since kernel version 2.6 the necessary drivers are included. Check the kernel configuration and make sure the following options are selected as a static driver or as modules.

Additionally select the proper driver for the system's hardware. To find the right module for the card mark every driver as module. If a PCI card is being used, then install the package if it has not been previously installed. This will provide a helpful tool called lspci. For built-in drivers or if there is no PCI card in the system then skip this step and continue with Checking the kernel output.

After booting from the new kernel, run pcimodules to list the required modules:

In this case the module  needs to be loaded. Add the module's name to the file:

커널 출력 확인
It is recommended to mark every driver as module, so that the required module can be added dynamically, especially if it is unclear at first which module should be added. If the module name is known then select the driver as a built-in driver. Compile the kernel, install the modules, and boot the new kernel. Verify the kernel has successfully detected the PCI card by using the dmesg utility.

If the system has a TerraTec Cinergy T2 card the output might look something like the following:

VDR 설치
To install VDR simply emerge it:

원격 조종기(리모콘) 설치
적외선 원격 조종기를 통해 VDR을 조정하는 최소한 두가지의 방법이 있습니다. TV 카드에 보드 내장 적외선 수신 모듈이 붙어있다면, 를 사용할 수 있습니다. 그렇지 않으면 LIRC를 사용해야 할 지도 모릅니다.

vdr-remote 설치
우선 로 플러그인을 설치하십시오:

When using the remote plugin for the IR port on a DVB card everything should be fine with the default configuration. It automatically uses the input device which has "dvb" in its name. For more advanced uses take a look at file.

대안: LIRC 설치
If the card can be remotely controlled but managing it via  is not desired, then LIRC should be configured. LIRC interprets the pressed keys and returns a name for each one. A program that supports LIRC waits for key events and runs the action configured in the configuration file, mostly stored in the configuration directory of the executing program (e.g. mplayer loads the file ). Before LIRC is installed add  as a USE flag and add a special variable called   to  Use this list to find the proper arguments for the new  variable.

At start each key code must be defined with a name. Most supported remote controls are configured already, so take a look at the remote list. Download the required file and save it as. Now find out where to access the remote control. Run the following command to get a list of the current input devices (make sure the device is running).

In this case the Terratec Cinergy T2 device plugged in, so the device can be accessed over. Replace  with the matching device listed in the output.

lircd needs to know the device to use. Add the following line to the file. Remember to replace  with the name of the driver and   with the actual device:

It is time to start lircd:

Now it should be possible to watch lircd capturing and decoding key presses. Run the irw command. Stop it by pressing + when enough keys have been pressed.

Next, add it to the default runlevel so that it starts automatically at boot time:

To be able to use the remote control, LIRC support must be enabled in VDR. Add the following line to the file:

동영상 출력 방식
Now decide on one (and only one) of the following video output devices which show the picture and the overlayed On Screen Display (OSD).

하드웨어 디코드: 완전한 기능을 갖춘 DVB 카드
Install when using an TechnoTrend Premium S2-6400 Twin HD, or general hardware decoding for SDTV and HDTV (MPEG2 and MPEG4 AVC/H.264):

For Fujitsu_Siemens, Hauppage WinTV and TechnoTrend Premium S2300 and cards based on this reference design, or general hardware decoding for SDTV (MPEG1 and MPEG2):

하드웨어 디코드: DXR3/Hollywood+ cards
To use a DXR3 card for VDR output the  plugin is needed:

em8300 모듈은 카드의 정확한 리비전에 따라 추가 설정이 필요합니다.

하드웨어 디코드: PVR350 카드
Since PVR350 cards have an onboard MPEG-Decoder chip it should be used to its full potential. In order for this to happen the  plugin is needed. If  is not yet installed emerge should automatically install it. To have the  module loaded at boot time add it to the  list:

소프트웨어 디코드: vdr-xineliboutput
Some people prefer to use, because it can work remotely. Follow the next set of instructions to configure  on a host and client. First, the host setup:

Adding command line options at this point is crucial for xineliboutput to work. For more options, see vdr --help</tt>.

다음 단계에서는 를 편집합니다. 이 파일에는 호스트 시스템에서 실행중인 동영상 디스크 레코더의 SVDRP 포트로 어떤 호스트 주소를 연결할지에 대한 내용이 있습니다.

When using  to view the picture on the same computer as the one running VDR it is now possible to continue with.

Otherwise, simply emerge</tt> on the client:

Later (after having started VDR) the vdr-sxfe xvdr://hostname</tt> command can be used to connect to the VDR and view its picture and OSD.

채널 목록 만들기
To make VDR really useful an appropriate channel list must be created. There is more than one way to get a working list of channels (besides downloading one). The channel list installed by default is for DVB-S reception on Astra on 19.2° E.

linuxtv-dvb-apps의 dvbscan 활용
Find the correct frequency list for region and type of reception of interest. These files are stored under. For reception with DVB-T in Germany, Berlin should be used:

vdr-reelchannelscan 활용하기
First, delete the contents of the existing channel list:

vdr-analogtv를 활용하여 시스템 채널 찾기
It is a good idea to configure channels at this point. The VDR project provides users with some examples which can be found at, as long as  and up has been installed.

VDR 시작
After having all basic software parts ready on the system the VDR with its OSD must be configured.

If a hardware decoder for picture output is used, then the connected TV should be turned on. When using software output the client for this must be started after VDR.

First, learn the key definitions; that is, connecting keys on the remote control to VDR's internal commands.

VDR을 시작할 차례입니다:

vdr-softdevice 사용자라면:

vdr-xineliboutput 사용자에 대해:

VDR에서 쓸모있는 대부분의 키는 다음과 같습니다:


 * 커서 키(좌/우/상/하)
 * 메뉴/나가기/확인
 * 색상(적/녹/황/청)
 * 숫자 키(0-9)

Now that the basic installation is over it is time to configure VDR. Switch to the output screen and follow the on-screen instructions. VDR asks the user to press various keys on the remote control so it can learn the correct key codes. If a remote control is not present, then the keyboard can be used as an alternative.

Now add the VDR init script to the default runlevel to get it started each time the computer boots:

문제 해결
If help is needed feel free to ask someone in #gentoo-vdr, or look around on the Gentoo forums