Commit graph

87 commits

Author SHA1 Message Date
Jaroslav Kysela
8d71f8ed25 configure: another improvement in the libav detection, fixes #2382 2014-10-16 09:13:16 +02:00
Jaroslav Kysela
39aa466d6a configure: print the error message when no or old libav/ffmpeg found, fixes #2378 2014-10-15 19:05:00 +02:00
Jaroslav Kysela
ee4043c6cb configure: another fix for the libhdhomerun detection, fixes #2377 2014-10-15 08:26:35 +02:00
Jaroslav Kysela
7a27aaf46d config: another libhdhomerun check fix 2014-10-14 19:53:42 +02:00
Jaroslav Kysela
419f69df53 configure: add better check for ffmpeg n1.2+ and libav v10+ version 2014-10-14 18:55:30 +02:00
Jaroslav Kysela
c0c797d4f8 configure: fix hdhomerun library check, fixes #2375 2014-10-14 18:14:53 +02:00
Jaroslav Kysela
2b2a4cf65b build system: add --enable-hdhomerun_static option 2014-10-14 15:16:44 +02:00
Jaroslav Kysela
b67d741336 configure: fix hdhomerun check condition, fix compilation 2014-10-14 14:18:05 +02:00
Patric Karlstrom
6718019acb libhdhomerun integration 2014-10-14 14:12:52 +02:00
Jaroslav Kysela
12d73de4ef config: libffmpeg_static is not default, attempt to update doozer cfg 2014-10-13 13:38:25 +02:00
Jaroslav Kysela
4b4610ea91 build: add libffmpeg_static=yes and Makefile.ffmpeg 2014-10-13 09:55:17 +02:00
Jaroslav Kysela
39961d489f libav: allow to use libavresample >= 1.1.0 2014-10-10 10:45:27 +02:00
Michel Verbraak
4e098bd877 Added using new versions of libav audio and video decoding and encoding functions.
Added conversion/resampling functionality.
Added using of libav audio fifo buffer.

Works with latest git master of libav.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>
2014-10-10 10:44:52 +02:00
Jaroslav Kysela
4f7e9284af descrambler: add constcw DES & AES clients 2014-10-02 08:40:01 +02:00
Sascha Kuehndel (InuSasha)
ae56b48e04 [build] fix configure with komplex enviroments
- add ldflags
- fix multivalued options like --cflags="-m64 -I/include/extra"
2014-09-01 15:36:21 +02:00
Sergio Costa Fortier
d91375de0a Corrected build for android.
Included --enable-android on configure script.
Build with that sample script:
#!/bin/sh
# Make sure you have TOOLCHAIN defined in .bashrc or .bash_profile and have linux/dvb headers in include dir.
SRC_DIR="`pwd`/tvheadend"
INCLUDE_DIR="`pwd`/out/include"
cd $SRC_DIR
export SYS_ROOT="$TOOLCHAIN/sysroot"
export CC="arm-linux-androideabi-gcc --sysroot=$SYS_ROOT -I$INCLUDE_DIR"
export CXX="arm-linux-androideabi-g++ --sysroot=$SYS_ROOT -I$INCLUDE_DIR"
export CPP="arm-linux-androideabi-cpp"
export LD="arm-linux-androideabi-ld"
export AR="arm-linux-androideabi-ar"
export RANLIB="arm-linux-androideabi-ranlib"
export STRIP="arm-linux-androideabi-strip"
export CROSSCOMPILE="arm-linux-androideabi-"
export CFLAGS="--sysroot=$SYS_ROOT -I$INCLUDE_DIR"
export CXXFLAGS="--sysroot=$SYS_ROOT -I$INCLUDE_DIR"
export LIBS="-lc -lgcc"
./configure --prefix=$SYS_ROOT/usr --arch=armv7  --platform=linux --disable-avahi --enable-bundle --python=/usr/bin/python --enable-android
make
TODO: change shm code to ashmem on tvhtime.c
2014-08-16 15:54:08 +02:00
Jaroslav Kysela
9c7b6047d2 dbus: initial support 2014-08-11 11:50:51 +02:00
Dreamcat4
98826e3422 Take any newer libav version, not just up to 56.0.0 2014-08-06 20:00:57 +02:00
Dreamcat4
e0a5d06f0f libav: Use newer version of LIBAV. Patch by IRC user 'kvaster'.
source: http://pastebin.com/fGLBsdqb
Many thanks / all credit to @kvaster

[12:15] < kvaster> I've made a patch for newer libav locally. Will be able to submit today a bit later.
[12:17] < kvaster> http://pastebin.com/fGLBsdqb
[12:23] < kvaster> it was just small api changes inside libav, I'm worried only about audio stream buffer sizes.
[12:24] < kvaster> Anyway this is working for me at least.
2014-08-06 20:00:57 +02:00
Jaroslav Kysela
d47354a171 separate capmt and cwc config 2014-06-10 14:02:35 +02:00
Damjan Marion
9b0388c844 osx: introduce bonjour support 2014-06-01 16:21:25 +02:00
Damjan Marion
a46a6d0dd3 build: download dvbscan files even if linuxdvb is disabled 2014-05-29 00:44:12 +02:00
Jaroslav Kysela
5b75ff7e55 Try to autodetect the libiconv 2014-05-27 15:36:44 +02:00
Damjan Marion
5a8b5e7fe2 osx: initial support for OS X 2014-05-26 17:59:33 +02:00
Adam Sutton
3d5666787c mpegts: fix some compilation issues with various configure options 2014-05-16 21:20:58 +01:00
Jaroslav Kysela
28bd7e10e7 SAT>IP define the recvmmsg syscall for some libc implementations 2014-05-05 22:00:36 +02:00
Jaroslav Kysela
d9afa09b26 Rewrite imagecache to use build-in http client (remove curl)
- add the basic SSL peer certificate verification
2014-05-05 22:00:35 +02:00
Jaroslav Kysela
8583936c71 Add SAT>IP support (remote network tuners) 2014-05-05 22:00:35 +02:00
Jaroslav Kysela
1fb89b9487 http client fixes (curl based)
- check the private u64 value rather than fd (gdb problems)
- move the run call outside the connect routine (locking issues)
- try to fix more leaks (PR_Cleanup)
2014-05-05 22:00:35 +02:00
Jaroslav Kysela
23d330de12 Move the linuxdvb network code to the shared mpegts network code
... introduce $CFG/input/dvb/networks/... structure
2014-04-01 17:45:51 +02:00
Natanael Copa
215789651c build: check for qsort_r independent of platform
Rather than check for specific glibc version on PLATFORM_LINUX, check
the existance of qsort_r.

This fixes the following compile error with musl libc:

CC              src/main.o
In file included from src/main.c:39:0:
src/tvheadend.h:608:20: error: missing binary operator before token "("
 #if !__GLIBC_PREREQ(2,8)
                    ^
2014-03-04 12:01:26 +00:00
Adam Sutton
6c3aca2880 support: add ccache support to configure script 2013-12-12 22:28:45 +00:00
Adam Sutton
e26a202034 support iptv: updated the configure script and Makefile for iptv code 2013-11-24 20:34:39 +00:00
Adam Sutton
cf97cbafa7 util iptv: add support for using liburiparser
This is more flexible (it supports IPv6) and almost certainly more robust!
2013-11-24 20:34:39 +00:00
Adam Sutton
d91c02d520 Merge branch 'feature/dvb-rewrite'
Conflicts:
	Makefile
	configure
	src/dvb/diseqc.h
	src/dvb/dvb.h
	src/dvb/dvb_adapter.c
	src/dvb/dvb_fe.c
	src/dvb/dvb_input_filtered.c
	src/dvb/dvb_tables.c
	src/input/mpegts/dvb_psi.c
	src/input/mpegts/iptv/iptv_mux.c
	src/iptv_input.c
	src/service_mapper.h
	src/webui/static/app/tvadapters.js
	src/webui/webui.c
2013-08-28 17:08:39 +01:00
Adam Sutton
0d74894f33 debug: added a proper pthread_mutex ownership check in lock_assert()
this is conditional based on a test run from the configure script, as this
type of test is certainly not 100% cross platform compatible.

However its very useful to have a true check of lock ownership rather than
the rather arbitary check that "someone" holds the lock.
2013-08-06 19:57:07 +01:00
Adam Sutton
f3dc932258 v4l: disable V4L for now
I need to actually add the new code!
2013-06-17 17:31:29 +01:00
Bernhard Froehlich
5691e131a9 Sync with tvheadend/master and merge in changes. 2013-05-24 19:03:40 +02:00
Adam Sutton
474e1b71dc linuxdvb: started to work on linuxdvb code.
Lots of in progress stuff but its been sat uncommitted for a few weeks
due to inactivity and I don't want to lose it due to stupidity!
2013-05-21 20:06:30 +01:00
John Törblom
60bdb16c9d Added initial support for transcoding. 2013-05-12 14:47:05 +02:00
Adam Sutton
1fe5c7ac0e mpegts tsfile: lots of reworking to get psi processing working 2013-05-09 16:33:53 +01:00
Bernhard Froehlich
8d814e9b51 Enable SSL per default on FreeBSD because libssl is in base so it's always available. 2013-05-04 13:57:34 +02:00
Bernhard Froehlich
7fe66a47ef Add kqueue option and allow to disable epoll. 2013-05-04 13:56:24 +02:00
Adam Sutton
378b3a6b63 Lots more reworking and organisation
Heading towards the start of a tsfile based system that will be
both a useful debugging tool and also a useful starting point for
the generic mpegts framework
2013-04-26 15:10:07 +01:00
Adam Sutton
de16f083e5 Major reworking of the input system
This is very much WIP, stuff at this stage is completely broken and
will only compile with all optional components disabled.
2013-04-25 18:48:48 +01:00
Adam Sutton
bd592fb913 debug: added new tvhtrace logging routine
Note: this can be compile switch disabled (./configure --disable-trace)

Note: to enable subsystem output use --trace X,Y,Z etc... (--trace all
will enable the lot).

Note: the only way to know what subsystems are valie is to read the code!

Note: --trace implies -d
2013-04-07 13:38:00 +01:00
Andrew C. Martin
9b385a78c5 allow build path spaces in support scripts
- allow build path spaces in configure & support scripts
- use the same die function for all scripts
2013-03-07 20:44:55 -07:00
Adam Sutton
0fab063340 build: update build system to fix some odd use cases 2013-02-21 11:58:48 +00:00
Adam Sutton
8f49909e9e Fix #1608 - atomic: add workaround for missing intrinsic atomic ops. 2013-02-15 10:24:41 +00:00
Adam Sutton
7a52ff434c support: re-instate getmuxlist script to ensure pbuilder script works 2013-01-31 12:16:04 +00:00