Bapak Ireng wrote:
> Hi HTH,
Hehe, HTH means "Hope this helps" :p
>
> thanks for your advice!
> After installing ffmpeg I receeived the following output from Autobuild.sh:
>
> ./Autobuild.sh
> dpkg-buildpackage: source package tvheadend
> dpkg-buildpackage: source version 4.1-2328~gca5f094
> dpkg-buildpackage: source distribution unstable
> dpkg-buildpackage: source changed by Andreas ├Цman <andreas@tvheadend.org>
> dpkg-buildpackage: host architecture armhf
> dpkg-source --before-build tvheadend
> debian/rules clean
> dh clean
> dh_testdir
> dh_clean
> rm -f debian/tvheadend.substvars
> rm -f debian/tvheadend.*.debhelper
> rm -rf debian/tvheadend/
> rm -f debian/tvheadend-dbg.substvars
> rm -f debian/tvheadend-dbg.*.debhelper
> rm -rf debian/tvheadend-dbg/
> rm -f debian/*.debhelper.log
> rm -f debian/files
> find . \( \( \
> \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
> \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
> -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
> -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
> -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
> \) -exec rm -f {} + \) -o \
> \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
> debian/rules build
> dh build
> dh_testdir
> debian/rules override_dh_auto_configure
> make[1]: Entering directory '/home/tvheadend'
> dh_auto_configure --
> ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking
> Checking support/features
> checking for cc execinfo.h ... ok
> checking for cc -mmmx ... fail
> checking for cc -msse2 ... fail
> checking for cc -Wunused-result ... ok
> checking for cc getloadavg ... ok
> checking for cc atomic64 ... ok
> checking for cc atomic_time_t ... ok
> checking for cc bitops64 ... ok
> checking for cc lockowner ... ok
> checking for cc qsort_r ... ok
> checking for cc stime ... ok
> checking for cc gmtoff ... ok
> checking for cc recvmmsg ... ok
> checking for cc sendmmsg ... ok
> checking for cc libiconv ... fail
> checking for cc libdvben50221 ... ok
> checking for cc ifnames ... ok
> checking for py module gzip ... ok
> checking for pkg-config ... ok
> checking for xgettext ... ok
> checking for msgmerge ... ok
> checking for gzip ... ok
> checking for bzip2 ... ok
> checking for pkg openssl ... ok (detected 1.0.1t)
> checking for cc linux/dvb/version.h ... ok
> checking for pkg zlib ... ok (detected 1.2.8)
> checking for pkg liburiparser ... ok (detected 0.8.0.1)
> checking for pkg avahi-client ... ok (detected 0.6.31)
> checking for cmake ... ok
> checking for cc -lstdc++ ... ok
> checking for cc nvEncodeAPI.h ... fail
> checking for cc sys/inotify.h ... ok
> fetching dvb-scan files ... ok
> checking for pkg dbus-1 ... ok (detected 1.8.20)
>
> Compiler:
> Using C compiler: cc
> Using LD flags: -ldvben50221 -ldvbapi -lucsi
> Build for arch: arm
>
> Binaries:
> Using PYTHON: python
> Using GZIP: gzip
> Using BZIP2: bzip2
>
> Options:
> pie yes
> ccdebug no
> cwc yes
> capmt yes
> constcw yes
> linuxdvb yes
> satip_server yes
> satip_client yes
> hdhomerun_client yes
> hdhomerun_static yes
> iptv yes
> tsfile yes
> dvbscan yes
> timeshift yes
> trace yes
> imagecache yes
> avahi yes
> zlib yes
> libav yes
> ffmpeg_static yes
> libx264 yes
> libx264_static yes
> libx265 yes
> libx265_static yes
> libvpx yes
> libvpx_static yes
> libtheora yes
> libtheora_static yes
> libvorbis yes
> libvorbis_static yes
> libfdkaac yes
> libfdkaac_static yes
> nvenc no
> qsv no
> libmfx_static no
> inotify yes
> epoll yes
> uriparser yes
> ccache no
> tvhcsa yes
> bundle no
> dvbcsa no
> dvben50221 yes
> kqueue no
> dbus_1 yes
> android no
> tsdebug no
> gtimer_check no
> slow_memoryinfo no
> libsystemd_daemon no
> bintray_cache yes
> execinfo yes
> W_unused_result yes
> getloadavg yes
> atomic64 yes
> atomic_time_t yes
> bitops64 yes
> lockowner yes
> qsort_r yes
> stime yes
> gmtoff yes
> recvmmsg yes
> sendmmsg yes
> libdvben50221 yes
> ifnames yes
> py_gzip yes
> bin_pkg_config yes
> bin_xgettext yes
> bin_msgmerge yes
> bin_gzip yes
> bin_bzip2 yes
> ssl yes
> linuxdvbapi yes
> upnp yes
> bin_cmake yes
> stdcpp yes
> libogg_static yes
> inotify_h yes
> linuxdvb_ca yes
> mpegts yes
> mpegts_dvb yes
>
> Packages:
> openssl 1.0.1t
> zlib 1.2.8
> liburiparser 0.8.0.1
> avahi-client 0.6.31
> dbus-1 1.8.20
>
> Installation paths:
> Prefix: /usr
> Binaries: ${prefix}/bin
> Libraries: ${prefix}/lib
> Data files: ${prefix}/share
> Man pages: /usr/share/man
>
> Final Binary:
> /home/tvheadend/build.linux/tvheadend
>
> Tvheadend Data Directory:
> /usr/share/tvheadend
>
> make[1]: Leaving directory '/home/tvheadend'
> debian/rules override_dh_auto_build
> make[1]: Entering directory '/home/tvheadend'
> make
> make[2]: Entering directory '/home/tvheadend'
> make -f Makefile.ffmpeg
> make[3]: Entering directory '/home/tvheadend'
> DOWNLOAD
https://dl.bintray.com/tvheadend/misc/staticlib//arm/ffmpeg-6e46b45e9997c342d35c287deb9fd7fecea9131f.tgz
> --2016-11-19 13:08:55--
https://dl.bintray.com/tvheadend/misc/staticlib//arm/ffmpeg-6e46b45e9997c342d35c287deb9fd7fecea9131f.tgz
> Resolving dl.bintray.com (dl.bintray.com)... 159.122.18.156
> Connecting to dl.bintray.com (dl.bintray.com)|159.122.18.156|:443... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2016-11-19 13:08:55 ERROR 404: Not Found.
>
> FAILED TO DOWNLOAD
https://dl.bintray.com/tvheadend/misc/staticlib//arm/ffmpeg-6e46b45e9997c342d35c287deb9fd7fecea9131f.tgz (BUT THIS IS NOT A FATAL ERROR! DO NOT REPORT THAT!)
> cd /home/tvheadend/build.linux/ffmpeg/libvpx-1.6.0 && \
> ASFLAGS="-DENABLE_PIC=1 -DPIC=1" FFMPEG_PREFIX=/home/tvheadend/build.linux/ffmpeg/build/ffmpeg PKG_CONFIG=/home/tvheadend/support/pkg-config.ffmpeg ./configure --prefix=/ffmpeg --enable-static --disable-shared \
> --extra-cflags="-fPIE" \
> --disable-examples \
> --disable-docs \
> --disable-unit-tests \
>
> disabling shared
> disabling examples
> disabling docs
> disabling unit_tests
> enabling vp8_encoder
> enabling vp8_decoder
> enabling vp9_encoder
> enabling vp9_decoder
> Configuring for target 'armv7-linux-gcc'
> enabling armv7
> enabling neon
> enabling neon_asm
> enabling media
> enabling webm_io
> enabling libyuv
> Creating makefiles for armv7-linux-gcc libs
> DIST_DIR=/home/tvheadend/build.linux/ffmpeg/build/ffmpeg \
> make -C /home/tvheadend/build.linux/ffmpeg/libvpx-1.6.0 install
> make[4]: Entering directory '/home/tvheadend/build.linux/ffmpeg/libvpx-1.6.0'
> [DEP] vpx_config.c.d
> [CC] vpx_config.c.o
> [AS] vpx_dsp/arm/intrapred_neon_asm.asm.s.o
> as: unrecognized option '-ENABLE_PIC=1'
> Makefile:190: recipe for target 'vpx_dsp/arm/intrapred_neon_asm.asm.s.o' failed
> make[5]:
* [vpx_dsp/arm/intrapred_neon_asm.asm.s.o] Error 1
> Makefile:17: recipe for target '.DEFAULT' failed
> make[4]:
* [.DEFAULT] Error 2
> make[4]: Leaving directory '/home/tvheadend/build.linux/ffmpeg/libvpx-1.6.0'
> Makefile.ffmpeg:285: recipe for target '/home/tvheadend/build.linux/ffmpeg/libvpx-1.6.0/.tvh_build' failed
> make[3]:
* [/home/tvheadend/build.linux/ffmpeg/libvpx-1.6.0/.tvh_build] Error 2
> make[3]: Leaving directory '/home/tvheadend'
> Makefile:756: recipe for target '/home/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a' failed
> make[2]:
* [/home/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2
> make[2]: Leaving directory '/home/tvheadend'
> debian/rules:11: recipe for target 'override_dh_auto_build' failed
> make[1]:
* [override_dh_auto_build] Error 2
> make[1]: Leaving directory '/home/tvheadend'
> debian/rules:5: recipe for target 'build' failed
> make:
* [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
Installing ffmpeg yourself won't actually change anything as the makefile builds it's own version to be included with the Tvheadend binary. Until the problem has been resolved you won't be able to build Tvheadend with ffmpeg support on arm.
For now, you're going to have to disable building tvheadend with ffmpeg support.
Bapak Ireng
Thank you for your answer and advice!
Could you please give me detailed instructions on how to build tvheadend on ARM without ffmpeg support?
Many thanks in Advance!
regads, Ireng
mpmc
Bapak Ireng wrote:
> Thank you for your answer and advice!
>
> Could you please give me detailed instructions on how to build tvheadend on ARM without ffmpeg support?
>
> Many thanks in Advance!
>
> regads, Ireng
Use the command in my first response :) You may want to remove "\ --disable-hdhomerun_static" if you need hdhomerun support. run ./configure --help for more options, you then add them to the variable (escaping the space).
Bapak Ireng
Thank you very much for your help and support!
At least i got tvheadend up and running. However, after startup I received only a "blank" page !!
What happened to me again??
Regards, Ireng
PS: is there any timeframe available unteil the ffmpeg problem for ARM might be fixed ??
Regards again, Ireng
Saen Acro
usebundle option in compilation
Bapak Ireng
@saen acro: Thanks for your advice!
Where to use the bundle option ?
Could you give me the detailed command ??
./configure --help does not show any - bundle - option!!
Sorry, for the question, i am very new to compiling software!
Regards, Ireng
mpmc
Bapak Ireng wrote:
> @saen acro: Thanks for your advuce!
>
> Where to use the bundle option ?
>
> Could you give me the detailed command ??
>
> ./configure --help does not show any - bundle - option!!
>
It's --enable-bundle. You probably don't need to rebuild with the bundle option as you're more than likely just running tvheadend from the wrong directory.
You need to run it from the build.linux directory while in the main source folder (basically just don't cd to build.linux).
for example, the tvheadend source dir is /home/user/tvheadend.
so..
cd /home/user/tvheadend;
./build.linux/tvheadend --args
> Sorry, for the question, i am very new to compilinmg software!
>
> Regards, Ireng
Bapak Ireng
Ok, thanks for your advice!
The opening page remains still blank!
Regards, Ireng
PS. I started tvheadend with the following command:
./build.linux/tvheadend -f -C -u user
Saen Acro
--enable-bundle
this will build integrated executable file (larger of course)
./configure --enable-bundle
Bapak Ireng
Hi @saen acro:
Many, many thanks for your help an guidance!
I used ./configure --enable-bundle --disable-ffmpeg_static and make to install successfully the binary!
After launching tvheadend i received the nice firstrun wizard, to be able to configure tvheadend easily!
Compared to the configuration of 4.0.9 it is a great help. After finishing, I received a message for input of
user / passowrd. I enetered the admin user password / user name password as entered througout the firstrun wizard, but neither combinaqtion worked ! However, i cannnot access the WebIf at all!
What a pity, after such a successful compilation and setup !
Regards, Ireng
Bapak Ireng
Ok, All of a sudden the webui accepted the admin credentials!
Regards, Ireng
mpmc
Disable "Use HTTP digest authentication:" inConfig -> General -> Base if you continue to experience that bug.
Bapak Ireng
@Mark: thank you for your advice!
Sofar everything works fine on my cubietruck accessing my SATIP server !
Many, many thanks for your supoort and even more for the great, continuing work.
Currently I installed minidlna for accessing easily my recordings, however i wait until tvheadend provides the promised integrated DLNA server!
Best regards, Ireng
Bapak Ireng
I do have an additional smal question about the configuration of PVR profiles.
For TV recordings I use the default profile, so good, so far.
For radio only recordings I defined an audio only profile.
However, If I select some radio - only programs I can select the audio only profile after adding it to the list of recordings. Refreshing the page results in changing the audio - only profile into the standard profile!
What happened and how to pin the audio - only profile the selected radio recording!
Again, many thanks for your support & help!
Regards, Ireng
PS. OK, I forgot to
expliciteSAVE the configuration!
Bapak Ireng
I noticed, that tvheadend accesses the SATIP server on both tuners continuiously, evenNO recording is scheduled!
How to avoid or limit this behaviour ??
Reagrds, Ireng
mpmc
Bapak Ireng wrote:
> I noticed, that tvheadend accesses the SATIP server on both tuners continuiously, even
NO recording is scheduled!
>
> How to avoid or limit this behaviour ??
>
> Reagrds, Ireng
That is the default behaviour, it's more than likely grabbing EPG, and/or you've enabled "Idle scan muxes" for the network. Turn that off in the networks tab - [Edit] your network) & disable EPG grab "Over-the-air EPG" for one of the tuners .
HTH
Bapak Ireng
Hi, thanks for your guidance!
i found the Idle scan option inside each of the 2 tuners of the SATIP server and disabled them.
The Mx idle search inside the network tab was NOT selected!
Anyhow, thanks for your advice!
I am still climbing the learning curve!
Regards, Ireng