WD My Cloud로 EBS 라디오 녹음하기
컨텐츠 정보
- 39,229 조회
- 8 댓글
- 0 추천
- 목록
본문
1. 시간 설정하기
MBL와 마찬가지로 시간먼저 맞춰야 합니다.
위와 같이 대시보드에서 서울에 맞추고 저장합니다.
2. 라디오 녹음 파일이 저장 될 폴더 생성하기
MBL와는 다르게 저장될 폴더를 대시보드에서 생성해야 합니다.
FTP 폴더 확장이 불가능하기 때문이죠.
위와 같이 대시보드에서 EBS라는 폴더를 생성 후 관리자에게만 권한을 줍니다.
3. 패키지 리스트 업데이트
apt-get update
위 명령어로 업데이트를 진행합니다.
WDMyCloud:~# apt-get update
Ign http://ftp.us.debian.org wheezy InRelease
Get:1 http://ftp.us.debian.org wheezy Release.gpg [1672 B]
Get:2 http://ftp.us.debian.org wheezy Release [168 kB]
Get:3 http://ftp.us.debian.org wheezy/main armhf Packages [5693 kB]
Get:4 http://ftp.us.debian.org wheezy/main Translation-en [3852 kB]
Fetched 9715 kB in 56s (172 kB/s)
Reading package lists... Done
WDMyCloud:~#
위와 같이 진행됩니다.
4. 녹음에 필요한 패키지 설치
apt-get install rtmpdump libav-tools
위 명령어로 설치합니다.
WDMyCloud:~# apt-get install rtmpdump libav-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libasyncns0 libavcodec53 libavdevice53 libavfilter2 libavformat53
libavutil51 libcaca0 libcdio-cdda1 libcdio-paranoia1 libcdio13 libdc1394-22
libdirac-encoder0 libdirectfb-1.2-9 libgsm1 libice6 libjack-jackd2-0
libjson0 libmp3lame0 libopencv-core2.3 libopencv-imgproc2.3 libopenjpeg2
liborc-0.4-0 libpostproc52 libpulse0 libraw1394-11 libsamplerate0
libschroedinger-1.0-0 libsdl1.2debian libsm6 libsndfile1 libspeex1
libswscale2 libtheora0 libts-0.0-0 libusb-1.0-0 libva1 libvorbis0a
libvorbisenc2 libvpx1 libx11-xcb1 libx264-123 libxext6 libxfixes3 libxi6
libxtst6 libxvidcore4 tsconf x11-common
Suggested packages:
jackd2 pulseaudio libraw1394-doc speex ffmpeg mplayer
The following NEW packages will be installed:
libasyncns0 libav-tools libavcodec53 libavdevice53 libavfilter2
libavformat53 libavutil51 libcaca0 libcdio-cdda1 libcdio-paranoia1 libcdio13
libdc1394-22 libdirac-encoder0 libdirectfb-1.2-9 libgsm1 libice6
libjack-jackd2-0 libjson0 libmp3lame0 libopencv-core2.3 libopencv-imgproc2.3
libopenjpeg2 liborc-0.4-0 libpostproc52 libpulse0 libraw1394-11
libsamplerate0 libschroedinger-1.0-0 libsdl1.2debian libsm6 libsndfile1
libspeex1 libswscale2 libtheora0 libts-0.0-0 libusb-1.0-0 libva1 libvorbis0a
libvorbisenc2 libvpx1 libx11-xcb1 libx264-123 libxext6 libxfixes3 libxi6
libxtst6 libxvidcore4 rtmpdump tsconf x11-common
0 upgraded, 50 newly installed, 0 to remove and 78 not upgraded.
Need to get 13.3 MB of archives.
After this operation, 35.4 MB of additional disk space will be used.
Do you want to continue [Y/n]?
.
.
.
.
.
package has no files currently installed
dpkg: warning: files list file for package 'libevent-2.0-5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libedit2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libldap-2.4-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-client3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1c2a:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblua5.1-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpkcs11-helper1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcre3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsensors4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libx11-6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnfsidmap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libbsd0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common-data:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libjpeg8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcurl3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtirpc1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5support0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'librtmp0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcap0.8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdevmapper1.02.1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexpat1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libltdl7:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkeyutils1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libreadline5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libantlr3c-3.2-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libasound2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxcb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtdb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxpm4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1-vanilla:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblzo2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libogg0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfontconfig1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libmagic1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libk5crypto3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssglue1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libunistring0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwbclient0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfuse2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssapi-krb5-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libparted0debian1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgd2-xpm:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libconfuse0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexif12:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libffi5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libflac8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdbus-1-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxml2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfreetype6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxdmcp6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-cap:armhf' missing; assuming package has no files currently installed
(Reading database ... 24501 files and directories currently installed.)
Unpacking libasyncns0:armhf (from .../libasyncns0_0.8-4 b1_armhf.deb) ...
Selecting previously unselected package libavutil51:armhf.
Unpacking libavutil51:armhf (from .../libavutil51_6:0.8.6-1_armhf.deb) ...
Selecting previously unselected package libdirac-encoder0:armhf.
Unpacking libdirac-encoder0:armhf (from .../libdirac-encoder0_1.0.2-6_armhf.deb) ...
Selecting previously unselected package libgsm1:armhf.
Unpacking libgsm1:armhf (from .../libgsm1_1.0.13-4_armhf.deb) ...
Selecting previously unselected package libmp3lame0:armhf.
Unpacking libmp3lame0:armhf (from .../libmp3lame0_3.99.5 repack1-3_armhf.deb) ...
Selecting previously unselected package libopenjpeg2:armhf.
Unpacking libopenjpeg2:armhf (from .../libopenjpeg2_1.3 dfsg-4.7_armhf.deb) ...
Selecting previously unselected package liborc-0.4-0:armhf.
Unpacking liborc-0.4-0:armhf (from .../liborc-0.4-0_1:0.4.16-2_armhf.deb) ...
Selecting previously unselected package libschroedinger-1.0-0:armhf.
Unpacking libschroedinger-1.0-0:armhf (from .../libschroedinger-1.0-0_1.0.11-2_armhf.deb) ...
Selecting previously unselected package libspeex1:armhf.
Unpacking libspeex1:armhf (from .../libspeex1_1.2~rc1-7_armhf.deb) ...
Selecting previously unselected package libtheora0:armhf.
Unpacking libtheora0:armhf (from .../libtheora0_1.1.1 dfsg.1-3.1_armhf.deb) ...
Selecting previously unselected package libva1:armhf.
Unpacking libva1:armhf (from .../libva1_1.0.15-4_armhf.deb) ...
Selecting previously unselected package libvorbis0a:armhf.
Unpacking libvorbis0a:armhf (from .../libvorbis0a_1.3.2-1.3_armhf.deb) ...
Selecting previously unselected package libvorbisenc2:armhf.
Unpacking libvorbisenc2:armhf (from .../libvorbisenc2_1.3.2-1.3_armhf.deb) ...
Selecting previously unselected package libvpx1:armhf.
Unpacking libvpx1:armhf (from .../libvpx1_1.1.0-1_armhf.deb) ...
Selecting previously unselected package libx264-123:armhf.
Unpacking libx264-123:armhf (from .../libx264-123_2:0.123.2189 git35cf912-1_armhf.deb) ...
Selecting previously unselected package libxvidcore4:armhf.
Unpacking libxvidcore4:armhf (from .../libxvidcore4_2:1.3.2-9_armhf.deb) ...
Selecting previously unselected package libavcodec53:armhf.
Unpacking libavcodec53:armhf (from .../libavcodec53_6:0.8.6-1_armhf.deb) ...
Selecting previously unselected package libavformat53:armhf.
Unpacking libavformat53:armhf (from .../libavformat53_6:0.8.6-1_armhf.deb) ...
Selecting previously unselected package libcdio13.
Unpacking libcdio13 (from .../libcdio13_0.83-4_armhf.deb) ...
Selecting previously unselected package libcdio-cdda1.
Unpacking libcdio-cdda1 (from .../libcdio-cdda1_0.83-4_armhf.deb) ...
Selecting previously unselected package libcdio-paranoia1.
Unpacking libcdio-paranoia1 (from .../libcdio-paranoia1_0.83-4_armhf.deb) ...
Selecting previously unselected package libraw1394-11:armhf.
Unpacking libraw1394-11:armhf (from .../libraw1394-11_2.0.9-1_armhf.deb) ...
Selecting previously unselected package libusb-1.0-0:armhf.
Unpacking libusb-1.0-0:armhf (from .../libusb-1.0-0_2:1.0.11-1_armhf.deb) ...
Selecting previously unselected package libdc1394-22:armhf.
Unpacking libdc1394-22:armhf (from .../libdc1394-22_2.2.0-2_armhf.deb) ...
Selecting previously unselected package libsamplerate0:armhf.
Unpacking libsamplerate0:armhf (from .../libsamplerate0_0.1.8-5_armhf.deb) ...
Selecting previously unselected package libjack-jackd2-0:armhf.
Unpacking libjack-jackd2-0:armhf (from .../libjack-jackd2-0_1.9.8~dfsg.4 20120529git007cdc37-5_armhf.deb) ...
Selecting previously unselected package x11-common.
Unpacking x11-common (from .../x11-common_1:7.7 3~deb7u1_all.deb) ...
Selecting previously unselected package libice6:armhf.
Unpacking libice6:armhf (from .../libice6_2:1.0.8-2_armhf.deb) ...
Selecting previously unselected package libjson0:armhf.
Unpacking libjson0:armhf (from .../libjson0_0.10-1.2_armhf.deb) ...
Selecting previously unselected package libsm6:armhf.
Unpacking libsm6:armhf (from .../libsm6_2:1.2.1-2_armhf.deb) ...
Selecting previously unselected package libsndfile1:armhf.
Unpacking libsndfile1:armhf (from .../libsndfile1_1.0.25-5_armhf.deb) ...
Selecting previously unselected package libx11-xcb1:armhf.
Unpacking libx11-xcb1:armhf (from .../libx11-xcb1_2:1.5.0-1 deb7u1_armhf.deb) ...
Selecting previously unselected package libxext6:armhf.
Unpacking libxext6:armhf (from .../libxext6_2:1.3.1-2 deb7u1_armhf.deb) ...
Selecting previously unselected package libxi6:armhf.
Unpacking libxi6:armhf (from .../libxi6_2:1.6.1-1 deb7u1_armhf.deb) ...
Selecting previously unselected package libxtst6:armhf.
Unpacking libxtst6:armhf (from .../libxtst6_2:1.2.1-1 deb7u1_armhf.deb) ...
Selecting previously unselected package libpulse0:armhf.
Unpacking libpulse0:armhf (from .../libpulse0_2.0-6.1_armhf.deb) ...
Selecting previously unselected package libxfixes3:armhf.
Unpacking libxfixes3:armhf (from .../libxfixes3_1:5.0-4 deb7u1_armhf.deb) ...
Selecting previously unselected package libavdevice53:armhf.
Unpacking libavdevice53:armhf (from .../libavdevice53_6:0.8.6-1_armhf.deb) ...
Selecting previously unselected package libopencv-core2.3.
Unpacking libopencv-core2.3 (from .../libopencv-core2.3_2.3.1-11_armhf.deb) ...
Selecting previously unselected package libopencv-imgproc2.3.
Unpacking libopencv-imgproc2.3 (from .../libopencv-imgproc2.3_2.3.1-11_armhf.deb) ...
Selecting previously unselected package libswscale2:armhf.
Unpacking libswscale2:armhf (from .../libswscale2_6:0.8.6-1_armhf.deb) ...
Selecting previously unselected package libavfilter2:armhf.
Unpacking libavfilter2:armhf (from .../libavfilter2_6:0.8.6-1_armhf.deb) ...
Selecting previously unselected package libpostproc52:armhf.
Unpacking libpostproc52:armhf (from .../libpostproc52_6:0.8.6-1_armhf.deb) ...
Selecting previously unselected package libcaca0:armhf.
Unpacking libcaca0:armhf (from .../libcaca0_0.99.beta18-1_armhf.deb) ...
Selecting previously unselected package tsconf.
Unpacking tsconf (from .../archives/tsconf_1.0-11_all.deb) ...
Selecting previously unselected package libts-0.0-0:armhf.
Unpacking libts-0.0-0:armhf (from .../libts-0.0-0_1.0-11_armhf.deb) ...
Selecting previously unselected package libdirectfb-1.2-9:armhf.
Unpacking libdirectfb-1.2-9:armhf (from .../libdirectfb-1.2-9_1.2.10.0-5_armhf.deb) ...
Selecting previously unselected package libsdl1.2debian:armhf.
Unpacking libsdl1.2debian:armhf (from .../libsdl1.2debian_1.2.15-5_armhf.deb) ...
Selecting previously unselected package libav-tools.
Unpacking libav-tools (from .../libav-tools_6:0.8.6-1_armhf.deb) ...
Selecting previously unselected package rtmpdump.
Unpacking rtmpdump (from .../rtmpdump_2.4 20111222.git4e06e21-1_armhf.deb) ...
Processing triggers for man-db ...
Setting up libasyncns0:armhf (0.8-4 b1) ...
Setting up libavutil51:armhf (6:0.8.6-1) ...
Setting up libdirac-encoder0:armhf (1.0.2-6) ...
Setting up libgsm1:armhf (1.0.13-4) ...
Setting up libmp3lame0:armhf (3.99.5 repack1-3) ...
Setting up libopenjpeg2:armhf (1.3 dfsg-4.7) ...
Setting up liborc-0.4-0:armhf (1:0.4.16-2) ...
Setting up libschroedinger-1.0-0:armhf (1.0.11-2) ...
Setting up libspeex1:armhf (1.2~rc1-7) ...
Setting up libtheora0:armhf (1.1.1 dfsg.1-3.1) ...
Setting up libva1:armhf (1.0.15-4) ...
Setting up libvorbis0a:armhf (1.3.2-1.3) ...
Setting up libvorbisenc2:armhf (1.3.2-1.3) ...
Setting up libvpx1:armhf (1.1.0-1) ...
Setting up libx264-123:armhf (2:0.123.2189 git35cf912-1) ...
Setting up libxvidcore4:armhf (2:1.3.2-9) ...
Setting up libavcodec53:armhf (6:0.8.6-1) ...
Setting up libavformat53:armhf (6:0.8.6-1) ...
Setting up libcdio13 (0.83-4) ...
Setting up libcdio-cdda1 (0.83-4) ...
Setting up libcdio-paranoia1 (0.83-4) ...
Setting up libraw1394-11:armhf (2.0.9-1) ...
Creating device node /dev/raw1394... done.
Setting up libusb-1.0-0:armhf (2:1.0.11-1) ...
Setting up libdc1394-22:armhf (2.2.0-2) ...
Setting up libsamplerate0:armhf (0.1.8-5) ...
Setting up libjack-jackd2-0:armhf (1.9.8~dfsg.4 20120529git007cdc37-5) ...
Setting up x11-common (1:7.7 3~deb7u1) ...
[ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
Setting up libice6:armhf (2:1.0.8-2) ...
Setting up libjson0:armhf (0.10-1.2) ...
Setting up libsm6:armhf (2:1.2.1-2) ...
Setting up libsndfile1:armhf (1.0.25-5) ...
Setting up libx11-xcb1:armhf (2:1.5.0-1 deb7u1) ...
Setting up libxext6:armhf (2:1.3.1-2 deb7u1) ...
Setting up libxi6:armhf (2:1.6.1-1 deb7u1) ...
Setting up libxtst6:armhf (2:1.2.1-1 deb7u1) ...
Setting up libpulse0:armhf (2.0-6.1) ...
Setting up libxfixes3:armhf (1:5.0-4 deb7u1) ...
Setting up libavdevice53:armhf (6:0.8.6-1) ...
Setting up libopencv-core2.3 (2.3.1-11) ...
Setting up libopencv-imgproc2.3 (2.3.1-11) ...
Setting up libswscale2:armhf (6:0.8.6-1) ...
Setting up libavfilter2:armhf (6:0.8.6-1) ...
Setting up libpostproc52:armhf (6:0.8.6-1) ...
Setting up libcaca0:armhf (0.99.beta18-1) ...
Setting up tsconf (1.0-11) ...
Setting up libts-0.0-0:armhf (1.0-11) ...
Setting up libdirectfb-1.2-9:armhf (1.2.10.0-5) ...
Setting up libsdl1.2debian:armhf (1.2.15-5) ...
Setting up libav-tools (6:0.8.6-1) ...
Setting up rtmpdump (2.4 20111222.git4e06e21-1) ...
Processing triggers for libc-bin ...
WDMyCloud:~#
위와 같이 진행됩니다.
그리고 ffmpeg를 설치합니다.
apt-get install ffmpeg
위 명령어로 설치합니다.
WDMyCloud:/DataVolume# apt-get install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ffmpeg
0 upgraded, 1 newly installed, 0 to remove and 78 not upgraded.
Need to get 142 kB of archives.
After this operation, 239 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ wheezy/main ffmpeg armhf 6:0.8.6-1 [142 kB]
Fetched 142 kB in 9s (15.2 kB/s)
Selecting previously unselected package ffmpeg.
dpkg: warning: files list file for package 'libssh2-1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxau6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblockfile1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwrap0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtagc0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libglib2.0-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-port0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpng12-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtalloc2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libevent-2.0-5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libedit2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libldap-2.4-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-client3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1c2a:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblua5.1-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpkcs11-helper1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcre3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsensors4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libx11-6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnfsidmap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libbsd0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common-data:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libjpeg8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcurl3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtirpc1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5support0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'librtmp0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcap0.8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdevmapper1.02.1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexpat1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libltdl7:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkeyutils1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libreadline5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libantlr3c-3.2-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libasound2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxcb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtdb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxpm4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1-vanilla:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblzo2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libogg0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfontconfig1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libmagic1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libk5crypto3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssglue1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libunistring0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwbclient0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfuse2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssapi-krb5-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libparted0debian1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgd2-xpm:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libconfuse0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexif12:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libffi5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libflac8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdbus-1-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxml2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfreetype6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxdmcp6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-cap:armhf' missing; assuming package has no files currently installed
(Reading database ... 25056 files and directories currently installed.)
Unpacking ffmpeg (from .../ffmpeg_6:0.8.6-1_armhf.deb) ...
Processing triggers for man-db ...
Setting up ffmpeg (6:0.8.6-1) ...
WDMyCloud:/DataVolume#
ffmpeg까지 설치완료했습니다.
5. 녹음에 사용될 스크립트 작성하기
cd /DataVolume
위 명령어로 폴더를 이동합니다.
mkdir /DataVolume/EBSradio
위 명령어로 폴더를 만듭니다.
nano /DataVolume/EBSradio/ebs_record.sh
위 명령어로 스크립트를 작성합니다.
빈 화면이 나옵니다.
#!/bin/bash
RADIO_ADDR="rtmp://ebsandroid.ebs.co.kr:1935/fmradiofamilypc/familypc1m"
RADIO_NAME="ebs_radio"
PROGRAM_NAME=$1
RECORD_MINS=$(($2 * 60))
DEST_DIR=$3
REC_DATE=`date %Y%m%d-%H%M`
TEMP_FLV=/DataVolume/EBSradio/`date %Y%m%d-%H%M`
M4A_FILE_NAME=$PROGRAM_NAME"_"$REC_DATE.m4a
rtmpdump -r $RADIO_ADDR -B $RECORD_MINS -o $TEMP_FLV
ffmpeg -i $TEMP_FLV -vn -acodec copy $M4A_FILE_NAME > /dev/null 2>&1
rm $TEMP_FLV
mkdir -p $DEST_DIR
mv $M4A_FILE_NAME $DEST_DIR
위 내용을 복사하여 Putty 창에 우클릭하여 붙여넣습니다.
컨트롤 O, 엔터, 컨트롤 X 를 누르면 저장 후 닫아집니다.
chmod 755 /DataVolume/EBSradio/ebs_record.sh
위 명령어로 스크립트 실행 권한을 줍니다.
/DataVolume/EBSradio/ebs_record.sh file_name 1 /shares/EBS/test
위 명령어로 file_name 이라는 테스트 파일을 생성해봅니다. 1분간 녹음합니다.
그리고 파일이 /shares/EBS/test 에 들어가게 됩니다.
6. 스케쥴 작업 넣기
http://www.wsgvet.com/bbs/board.php?bo_table=iomega&wr_id=200
위 링크의 5번을 보시면 되구요.
저장 폴더가 약간 바뀌어서 예제를 올려드립니다.
# m h dom mon dow command
50 05 * * 1-6 /DataVolume/EBSradio/ebs_record.sh Pocket_English 10 /shares/EBS/Pocket_English
00 06 * * 1-6 /DataVolume/EBSradio/ebs_record.sh KDG_Toeicking 20 /shares/EBS/KDG_Toeicking
20 06 * * 1-6 /DataVolume/EBSradio/ebs_record.sh Easy_Writing 20 /shares/EBS/Easy_Writing
위와 같이 저장 폴더가 바뀝니다.
그리고 크롤러를 정지시키는게 성공확률을 높이는 것 같습니다.
http://www.ppomppu.co.kr/zboard/view.php?id=nas&no=2957
위 링크 보시고 정지시킬 수 있습니다.
※ 2014/06/03 EBS 주소가 바껴서 수정했습니다!
-
등록일 2016.01.23
-
등록일 2015.12.23WD My Cloud 시놀로지OS 사용기댓글 102
-
등록일 2014.10.07
-
등록일 2014.10.06
관련자료
-
서명우성짱의 NAS를 운영하고 있습니다.
저의 즐거움이 여러분의 즐거움이면 좋겠습니다.
오서님의 댓글
굉장히 친절히 설명해주신 덕에 한번에 성공하여 잘 쓰고 있습니다.
여기 처음에 EBS 쉐어 폴더를 만들지 않고 Public 밑에 임의의 폴더를 지정하고 저장을 했더니
Putty접속에서는 파일이 보이나, 윈도우탐색기나 ftp에서는 파일을 보이지 않습니다.
그래서 ebs_record.sh 안에서 저장 폴더를 만들어주는 라인을 중지 시키고
mkdir -p $DEST_DIR ----> #mkdir -p $DEST_DIR
/DataVolume/EBSradio/ebs_record.sh test 1 /shares/Public/ebs/power_english
와 같이 실행시키니 잘 녹음되고 외부접근도 가능했습니다.
물론 녹음을 실행하기전에 윈도우 탐색기에서 Public밑에 ebs, 그 밑에 power_english라는 디렉토리는 만들어 두었습니다.
뭐 큰 불편은 없습니다만, Public아래 저장을 하면서 dir은 자동으로 만들어주고, 외부 접근도 가능한 방법은 없을까요?
짱러님의 댓글
EBS 라디오를 받으려고 이 글을 따라 하는데 apt-get install rtmpdump libav-tools 명령을 실행하면 마지막에
Errors were encountered while processing:
/var/cache/apt/archives/nfs-kernel-server_1%3a1.2.8-9_armhf.deb
/var/cache/apt/archives/nfs-common_1%3a1.2.8-9_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
이렇게 되면서 오류가 나네요...
혹시 이유를 알수 있을런지요??
그리고 대부분 wheezy 버전으로 되어있는데 제꺼는 현재 jessie거든요 이것도 상관이 있을까요?
둔두님의 댓글
올려주신 글들 잘 참고하면서 NAS 에 입문 / 사용을 하고 있습니다. 감사합니다.
올려주셨던 라디오 녹음 코드를 OMV에 적용을 했을 때 잘 녹음이 되었었는데..
tvheadend 를 하기 위해서 무언가를 수정하고 나서부터 녹음이 되지 않더라구요..
녹음이 되지 않는 오류 내용을 보면..
mv : cannot stat 'test_2018xxxx-xxxx.m4a': 그런 파일이나 디렉터리가 없습니다.
라는 오류가 나옵니다..
며칠동안 끙끙대도 해결을 하지 못해 질문 남깁니다..
혹시 아시는 내용이면 답변 부탁드리겠습니다.
감사합니다.