[Ubuntu] Ubuntu Server 10.4에 AirVideo server 설치하기 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[Ubuntu] Ubuntu Server 10.4에 AirVideo server 설치하기

페이지 정보

본문

Ubuntu Server 10.4 AirVideo Server install
Start with a base 10.4 build hit enter a lot of times choosing your time zone and creating users
Under software selection choose LAMP, OpenSSH, and Samba servers
install options
Now the build is complete. Login for the first time and start installing items needed for AVS
##############################################
The following packages need to be installed:
(paste in a terminal session)
sudo apt-get install gcc faac libmp3lame-dev libfaad-dev libx264-dev mpeg4ip-server git-core pkg-config avahi-daemon openjdk-6-jre-headless
##############################################
Create a temp directory in which to work
Download the latest customized version of ffmpeg from Inmethod
(type or paste in the terminal session)

http://www.inmethod.com/air-video/licenses.html

or
wget http://www.inmethod.com/air-video/download/ffmpeg-for-2.2.5.tar.bz2

Extract the zip (all in terminal session, type the following or paste)

#note!! paste one at a time checking for errors
#<———————————> (do not include this line)
tar xfj ffmpeg-for-2.2.5.tar.bz2
cd ffmpeg

sudo ./configure –enable-pthreads –disable-shared –enable-static –enable-gpl –enable-libx264 –enable-libmp3lame –enable-libfaad –disable-decoder=aac
sudo make
sudo make install
#<———————————> (do not include this line)
######################################
create directory in /opt
(type or paste the following in the terminal session)
#<———————————> (do not include this line)
sudo mkdir /opt/AirVideoServer
#<———————————> (do not include this line)
change directory to /opt/AirVideoServer
#<———————————> (do not include this line)
(type or paste the following in the terminal session)
cd /opt/AirVideoServer
#<———————————> (do not include this line)
Visit the following link to find the latest java server

http://www.inmethod.com/forum/posts/list/1856.page

or download this one
(type or paste in terminal)
#<———————————> (do not include this line)
sudo wget http://inmethod.com/air-video/download/linux/alpha4/AirVideoServerLinux.jar
#<———————————> (do not include this line)
####################################
create a file called stream.properties
(type or paste in the terminal session)
#<———————————> (do not include this line)
sudo touch stream.properties
#<———————————> (do not include this line)
Edit stream.properties
(type or paste in the terminal session)
#<———————————> (do not include this line)
sudo nano stream.properties
#<———————————> (do not include this line)
insert the following text
#<———————————> (do not include this line)
path.ffmpeg = /usr/local/bin/ffmpeg
path.mp4creator = /usr/bin/mp4creator
path.faac = /usr/bin/faac
#password is optional (recommended is you are going to open up to the internet)
password =
subtitles.encoding = windows-1250
subtitles.font = Verdana
#library format
#[label]:[path]
# to add more directories separate by comma ex.
#Adventure:/home/user/Videos/Kids,Thriller:/home/user/Videos/Suspense
folders = Movies:/home/user/Videos
#<———————————> (do not include this line)
save file and quit
###################################
To start the server
(type or paste the following in the terminal session)
#<———————————> (do not include this line)
java -jar AirVideoServerLinux.jar stream.properties
#<———————————> (do not include this line)
If you want the server in the startup you can create a file in /etc/init called avs.conf
(type or paste in the terminal session)
#<———————————> (do not include this line)
sudo touch /etc/init/avs.conf
sudo nano /etc/init/avs.conf
#<———————————> (do not include this line)
paste the following in the editor (note change user below to your user name)
#<———————————> (do not include this line)
start on runlevel [2345]
stop on shutdown
respawn
exec sudo -H -n -u user /usr/bin/java -jar /opt/AirVideoServer/AirVideoServerLinux.jar /opt/AirVideoServer/stream.properties
#<———————————> (do not include this line)
save file and quit
###################################
To start the daemon
(type or paste the following in the terminal session)
#<———————————> (do not include this line)
sudo start avs
#<———————————> (do not include this line)
to stop the daemon
(type or paste the following in the terminal session)
#<———————————> (do not include this line)
sudo stop avs
#<———————————> (do not include this line)
################################################################################################
The next step is to update avahi to announce your server via the Bonjour service
(type or paste the following in the terminal session)
#<———————————> (do not include this line)
sudo touch /etc/avahi/services/avs.service
sudo nano /etc/avahi/services/avs.service
#<———————————> (do not include this line)
paste the following in the editor (note change user below to your user name)
#<———————————> (do not include this line)

<?xml version=”1.0″ standalone=’no’?><!–*-nxml-*–>
<!DOCTYPE service-group SYSTEM “avahi-service.dtd”>
<service-group>
<name replace-wildcards=”yes”>%h AVS</name>
<service>
<type>_airvideoserver._tcp</type>
<port>45631</port>
</service>
</service-group>

#<———————————> (do not include this line)

Save file and quit
Restart the avahi daemon
(type or paste the following in the terminal session)
#<———————————> (do not include this line)
sudo restart avahi-daemon
#<———————————> (do not include this line)
###################################

추천0

댓글목록

등록된 댓글이 없습니다.

Total 825건 10 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
600 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13507 0 11-27
599 hongx2쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13508 0 12-25
598 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13515 0 02-25
597 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13530 0 11-28
596 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13531 0 02-13
595 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13537 0 02-20
594 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13538 0 11-07
593 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13543 0 01-07
592 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13544 0 08-07
591 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13548 0 11-18
590 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13548 0 08-27
589 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13550 0 02-13
588 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13551 0 02-09
587 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13553 2 12-07
586 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13554 0 02-25
585 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13575 0 07-15
584 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13595 0 12-17
583 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13603 0 03-10
582 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13606 0 09-30
581 귀여운현호쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13607 0 10-24
580 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13614 0 03-18
579 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13616 0 01-13
578 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13617 0 03-03
577 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13639 0 08-15
576 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13656 0 06-14

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
7,518
어제
7,646
최대
8,233
전체
1,617,091
Copyright (c) 株式会社YHPLUS. All rights reserved.