11.Nas_1


https://github.com/tvheadend/tvheadend 에서 4.2.8버전 다운로드 빌드 하기




컨텐츠 정보


본문

https://github.com/tvheadend/tvheadend 에서 4.2.8버전 다운로드 빌드 하기

장비 : 갤럭시 노트8 64비트

기본적으로 저는 ubuntu 설치 조건 입니다


3232235521_1596351035.267.png

3232235521_1596351063.6664.png

3232235521_1596351118.3063.png 

tvheadend-4.2.8 .zip

다운로드  자료를 이동합니다

3232235521_1596351202.5105.png

apt-get install unzip

unzip tvheadend-4.2.8.zip


종속성파일 설치 합니다

apt-get -y install gettext libgettextpo-dev aptitude libiconv-hook* curl liburiparser-dev liburiparser1 cmake libomxil-dev libssl-dev libavahi-client-dev zlib1g-dev dvb-apps libpcre3-dev git debhelper python libdvbcsa-dev libva-dev xmlto libbsd-dev python-requests libavresample-dev debhelper libcurl4-gnutls-dev libpcre2-8-0 libpcre2-dev

aptitude install build-essential git pkg-config libssl-dev bzip2 wget libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev

----------------

압축 해제 빌드 방법을 확인 합니다


cat README.md

Tvheadend 설치 방법

root@localhost:/home/tvheadend-4.2.8# cat README.md
Tvheadend
========================================
(c) 2006 - 2017 Tvheadend Foundation CIC

Status
------

[![Build Status](https://travis-ci.org/tvheadend/tvheadend.svg?branch=master)](https://travis-ci.org/tvheadend/tvheadend)

[![Download](https://api.bintray.com/packages/tvheadend/deb/tvheadend/images/download.svg)](https://bintray.com/tvheadend/deb/tvheadend/)

[![Coverity Scan](https://scan.coverity.com/projects/2114/badge.svg)](https://scan.coverity.com/projects/2114)

What it is
----------

Tvheadend is a TV streaming server and digital video recorder.

It supports the following inputs:

  * DVB-C(2)
  * DVB-T(2)
  * DVB-S(2)
  * ATSC
  * SAT>IP
  * HDHomeRun
  * IPTV
    * UDP
    * HTTP

It supports the following outputs:

  * HTTP
  * HTSP (own protocol)
  * SAT>IP

How to build for Linux
----------------------

First you need to configure:

        $ ./configure

If any dependencies are missing the configure script will complain or attempt
to disable optional features.

Build the binary:

        $ make

After build, the binary resides in `build.linux` directory.

Thus, to start it, just type:

        $ ./build.linux/tvheadend

Settings are stored in `$HOME/.hts/tvheadend`.

How to build for OS X
---------------------

Same build procedure applies to OS X.
After build, the binary resides in `build.darwin` directory.

Only network sources (IPTV, SAT>IP) are supported on OS X.
There is no support for DVB USB sticks and PCI cards.
Transcoding is currently not supported.

Packages
--------

The latest official packages can be downloaded from https://bintray.com/tvheadend/.

Further information
-------------------

For more information about building, including generating packages, please visit:
* https://tvheadend.org/projects/tvheadend/wiki/Download
* https://tvheadend.org/projects/tvheadend/wiki/Building
* https://tvheadend.org/projects/tvheadend/wiki/Packaging
* https://tvheadend.org/projects/tvheadend/wiki/Git
* https://tvheadend.org/projects/tvheadend/wiki/Internationalization
root@localhost:/home/tvheadend-4.2.8#
./Autobuild.sh
빌드 진행
 32%] Building CXX object common/CMakeFiles/common.dir/param.cpp.o
In file included from /home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/source/common/param.cpp:26:
/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/source/common/slice.h: In constructor ‘x265::SPS::SPS()’:
/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/source/common/slice.h:258:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct x265::SPS’; use assignment or value-initialization instead [-Wclass-memaccess]
  258 |         memset(this, 0, sizeof(*this));
      |                                      ^
/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/source/common/slice.h:206:8: note: ‘struct x265::SPS’ declared here
  206 | struct SPS
      |        ^~~
/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/source/common/param.cpp: In function ‘int x265_param_parse(x265_param*, const char*, const char*)’:
/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/source/common/param.cpp:636:50: error: too few arguments to function ‘int x265::parseCpuName(const char*, bool&, bool)’
  636 |             p->cpuid = parseCpuName(value, bError);
      |                                                  ^
In file included from /home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/source/common/param.cpp:28:
/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/source/common/param.h:36:7: note: declared here
   36 | int   parseCpuName(const char *value, bool& bError, bool bEnableavx512);
      |       ^~~~~~~~~~~~
make[6]: *** [common/CMakeFiles/common.dir/build.make:310: common/CMakeFiles/common.dir/param.cpp.o] Error 1
make[6]: Leaving directory '/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/build/linux'
make[5]: *** [CMakeFiles/Makefile2:285: common/CMakeFiles/common.dir/all] Error 2
make[5]: Leaving directory '/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/build/linux'
make[4]: *** [Makefile:130: all] Error 2
make[4]: Leaving directory '/home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/build/linux'
make[3]: *** [Makefile.ffmpeg:269: /home/tvheadend-4.2.8/build.linux/ffmpeg/x265_2.8/.tvh_build] Error 2
make[3]: Leaving directory '/home/tvheadend-4.2.8'
make[2]: *** [Makefile:782: /home/tvheadend-4.2.8/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2
make[2]: Leaving directory '/home/tvheadend-4.2.8'
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/tvheadend-4.2.8'
make: *** [debian/rules:5: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
root@localhost:/home/tvheadend-4.2.8#
apt-get install qtbase5-dev qtbase5-dev-tools qt5-qmake
2차 실패

nano configure
"ffmpeg_static:no"
으로 수정 빌드 성공
 ./Autobuild.sh 3232235521_1596353289.3578.png
기존 설치분 제거
 apt purge tvheadend

파일 확인
root@localhost:/home# ls -al *.deb
-rw-r--r--. 1 root  root   4186758 Aug  2 16:27 tvheadend-dbg_4.2.8_arm64.deb
-rw-r--r--. 1 root  root   7365026 Aug  2 16:27 tvheadend_4.2.8_arm64.deb


설치
dpkg -i  tvheadend_4.2.8_arm64.deb

3232235521_1596353537.133.png

암호 입력후 종료 화면
3232235521_1596353562.4114.png

root@localhost:/home# service Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ] root@localhost:/home# service --status-all [ - ] dbus [ ? ] hwclock.sh [ - ] procps [ + ] s***a2 [ - ] tvheadend [ - ] unattended-upgrades [ - ] x11-common root@localhost:/home# service tvheadend start * Starting Tvheadend tvheadend /etc/init.d/tvheadend: 59: udevadm: not found [ OK ] root@localhost:/home# service --status-all [ - ] dbus [ ? ] hwclock.sh [ - ] procps [ + ] s***a2 [ + ] tvheadend [ - ] unattended-upgrades [ - ] x11-common root@localhost:/home#

상기 메세지 확인 수정
 33  nano /etc/init.d/tvheadend -c
3232235521_1596353940.6669.png

epg그래버모듈 다운 설치

  wget http://11q.kr/download/tv_grab_docker_wget_cat
  ls
  chmod a+x tv_grab_docker_wget_cat
  chmod 777 tv_grab_docker_wget_cat
  cp tv_grab_docker_wget_cat /usr/bin

재시작

 service tvheadend restart


웹접속
3232235521_1596354151.5802.png

3232235521_1596353713.9264.png
3232235521_1596354416.5006.png 

■ Continuity counter error 발생 동일

2020-08-02 16:50:24.243 TS: IPTV Automatic Network/skb.m3u - MBN_16/MBN_16: AAC-LATM @ #2563 Continuity counter error (total 3)

2020-08-02 16:50:24.243 TS: IPTV Automatic Network/skb.m3u - MBN_16/MBN_16: AAC-LATM @ #3563 Continuity counter error (total 2)3232235521_1596354627.5276.png

설치 메모 합니다.

▶ ☞ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다 ♠ . ☞ 본자료는 https://11q.kr 에 등록 된 자료 입니다♠.

뷰PDF add1,add2



관련자료

댓글 0
등록된 댓글이 없습니다.


전체 1,766 / 1 페이지
게시물이 없습니다.(다음페이지로 이동 하세요)
전체 1,766 / 1 페이지



♥간단_메모글♥


최근글


새댓글



PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
▶ 2024-11-22 19:27:47

오늘의 홈 현황


  • 현재 접속자♨ 410 명
  • 오늘 가입자※ 1 명
  • 어제 가입자※ 3 명
  • 주간 가입자※ 9 명
  • 오늘 방문자 3,074 명
  • 어제 방문자 3,272 명
  • 최대 방문자 13,042 명
  • 전체 방문자 4,802,230 명
  • 전체 게시물※ 8,855 개
  • 전체 댓글수※ 25,231 개
  • 전체 회원수 11,325 명

QR코드


☞ QR코드 스캔은 kakao앱 자체 QR코드

알림 0








최신글↑