A TV streaming server and recorder for Linux, FreeBSD and
Android supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, ISDB-T,
IPTV, SAT>IP, HDHomeRune and other formats through the unix
pipe as input sources.
===> The following configuration options are available for tvheadend-4.3.0.20260709:
AVAHI=off: Zeroconf support via Avahi
DVBEN50221=off: Hardware CAM support
HDHOMERUN=on: Native support for HDHomeRun network tuners
INOTIFY=on: File system notifications support
TRANSCODING=off: Transcoding for mobile and web clients
XMLTV=off: XMLTV grabber for television listings
===> Use 'make config' to modify these settings
For the first start in your /etc/rc.conf:
tvheadend_enable="YES"
tvheadend_flags="-C"
As soon as you have set an admin password the second line is not needed
anymore and should be removed.
If you plan to use webcamd you need to add tvheadend to the webcamd group.
pw usermod tvheadend -G webcamd
Some IPTV channel lists expect ffmpeg on a static path (/usr/bin/ffmpeg)
so either fix the m3u file or add an symlink.
Patches, feedback and help are always welcome!
*/*: Update path set in BUILD_DEPENDS for CMake in more ports
Commit b23ea4e2d2f51b53d8915fe9fd7b4efbdd575e38 changed its location to
devel/cmake-core
Approved by: portmgr (blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
multimedia/tvheadend: Add dependency on libunwind
Up to now libunwind was silenty used from base but now on 14-current
libunwind is not available in base anymore so it fails. I decided to
unconditionally use libunwind from ports on all FreeBSD version for
consistency.
multimedia/tvheadend: Improve pkg-message to describe "-C" flag
which is needed for setting the admin password.
Also add a hint for IPTV users which might need a symlink for
ffmpeg if they use one of the very popular channel lists.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
multimedia/tvheadend: Add new option for DVBEN50221 and bump PORTREVISION
People will only need this in combination with a DVB CI devices and will
likely need a patched tvheadend with ddci support. For more info have a
look at: https://tvheadend.org/boards/13/topics/29639
Tested by: hselasky
multimedia/tvheadend: fix two major problems of webui on FreeBSD
1. very high CPU usage while streaming a recored program
2. unable to stream the recorded program beyond 128MB.
Unlike Linux sendfile(), FreeBSD sendfile() requires an explicit
file offset, and return value must be checked to catch any error
occurred. (i.e., closed connection)
Obtained from: https://github.com/tvheadend/tvheadend/pull/1125
Submitted by: Jongsung Kim <jongsung.kim@gmail.com>
Fix tcp_socket_dead() for FreeBSD
The FreeBSD port of tvheadend couldn't stream Live TV, and debug
log shows webui judged the peer socket closed immediately after
starting streaming:
2018-04-15 06:30:04.996 [ DEBUG]:webui: Start streaming
/stream/mux/c4bc67bdaa13457e33740ca883cc4d75?ticket=7D1B56AD0E434C5F7EBFA4677A7FBE4C94097974
2018-04-15 06:30:04.996 [ DEBUG]:webui: Stop streaming
/stream/mux/c4bc67bdaa13457e33740ca883cc4d75?ticket=7D1B56AD0E434C5F7EBFA4677A7FBE4C94097974,
client hung up
It looks tcp_socket_dead() misunderstood the zero-return from recv().
For the FreeBSD, recv() might return zero for alive sockets which
have nothing to read.
Submitted by: Jongsung Kim <jongsung.kim@gmail.com>
Obtained from: https://github.com/tvheadend/tvheadend/pull/1112
- Update to 4.2.3
- Fix various portlint warnings
- Add missing LICENSE_FILE
- Update pkg-descr to match recent upstream development
The update was postponed a few times because early 4.2 releases
had some serious regressions on FreeBSD. I know that there are
still a few issues in the current release especially around IPTV
and SAT>IP but they do not seem to be FreeBSD specific. If you
run into regressions please let me know then we can still decide
if we need to keep tvheadend 4.0 around.
Thanks to all people for their patience and the people which helped
during the testing phase especially Rainer and Heiko!
Thanks to: Rainer Hurling <rhurlin@gwdg.de>,
Heiko Kirschke <heiko.kirschke@posteo.de>
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills
Use correct group in prestart when creating logdir/confdir/pidfile.
Submitted by: Tim Brody <tim.brody@gmail.com>
Reported by: Tim Brody <tim.brody@gmail.com>
- Fix build failure when devel/libinotify is installed because
it is silently enabled but not properly linked.
- Bump PORTREVISION
PR: 208795
Submitted by: Vladimir Kondratyev <wulf@cicgroup.ru>
Reported by: Daniel Becker <razzfazz@gmail.com>
multimedia/tvheadend: unbreak with ffmpeg 3.x
src/plumbing/transcoding.c:27:10: fatal error: 'libavutil/audioconvert.h' file
not found
#include <libavutil/audioconvert.h>
^
src/plumbing/transcoding.c:1064:30: error: use of undeclared identifier
'PIX_FMT_YUV420P'; did you
mean 'AV_PIX_FMT_YUV420P'?
octx->pix_fmt = PIX_FMT_YUV420P;
^~~~~~~~~~~~~~~
AV_PIX_FMT_YUV420P
/usr/local/include/libavutil/pixfmt.h:62:5: note: 'AV_PIX_FMT_YUV420P' declared
here
AV_PIX_FMT_YUV420P, ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per
2x2 Y samples)
^
src/plumbing/transcoding.c:1092:30: error: use of undeclared identifier
'PIX_FMT_YUV420P'; did you
mean 'AV_PIX_FMT_YUV420P'?
(Only the first 15 lines of the commit message are shown above )
Github cleanup.
- Use the version tag instead of commit hash when they're the same.
- Remove unnneeded variables.
- Simplify go- ports when possible.
- Various fixes.
Sponsored by: Absolight
- Update to 3.9.20140806
- Separate dtv-scan-tables in his own port
- Add XMLTV option
- Create a new user/group for tvheadend
- Improve tvheadend startscript
- Convert manual patching to USES=shebangfix
Submitted by: Dreamcat4 <dreamcat4@gmail.com>
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.
CR: D306
Approved by: portmgr (bapt)
- Attempt to fix the port after the ffmpeg1 removal. The commit r331762
has only hidden the fact that tvheadend does not work with ffmpeg 2.x.
Since ffmpeg1 has been removed already I can only rip out the ffmpeg
option and dependency and disable libav for now.
- While here move option variables before bsd.port.pre.mk to make them
work.
Reported by: Torfinn Ingolfsen <tingox@gmail.com>
Pointyhat to: wg
- Add ffmpeg/libav support
- Add libdvbcsa support
- Convert LIB_DEPENDS to new shlib format
- Cleanup CONFIGURE_ENV/CFLAGS/LDFLAGS
- The tvheadend port is mature enough so remove the warnings in pkg-message
- Bump PORTREVISION
- Update to 3.4.0.20130726.3 (8a8c1a8712)
- This update includes a fix for the kqueue implementation which also fixes
scanning
Thanks to: nox, hselasky
A TV streaming server for Linux and FreeBSD supporting
DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video
(V4L) as input sources.
WWW: https://tvheadend.org/