Adam Sutton
9183f29e6d
Updated to include compat genre support (more will have to wait), DVR code fully updated to use new EPG code. Updated related code and added useful extra inputs to dvr event creation that should make XBMC devs happy.
2012-06-08 22:24:11 +01:00
Bart Lauret
07c618aaa4
added missing free()s
2012-03-07 15:12:48 +01:00
Frank Meerkötter
f0e4366aa2
fix segfault due to failed mk_mux_create()
...
if mk_mux_create() fails due to to file system permissions
tvheadend will crash when trying to remove the rec-entry
from the UI.
2012-02-23 22:16:26 +01:00
Andreas Öman
85132732b6
Rename transport -> service
2010-11-29 20:06:52 +00:00
Andreas Öman
42adea653d
Rename tvhead.h -> tvheadend.h
2010-11-29 19:25:24 +00:00
Andreas Öman
a790feddf6
Don't crash if mkmux == NULL
2010-11-28 11:42:02 +00:00
Andreas Öman
801ba2a1c6
Add support for multiple DVR configurations.
...
Patch by sbi
Ticket #303
2010-10-21 12:36:29 +00:00
Andreas Öman
65f42d8f0c
Make it possible to configure whether or not to write tags to MKV file
2010-09-01 16:42:26 +00:00
Andreas Öman
049fcadbf9
For matroska we need a few pieces of info for each stream (sample rate, # channels, video resolution, etc).
...
If we are unable to extract this data from an elementary stream for 5 seconds, skip the stream in recorded file.
Hopefully fixes ticket #261 and #244
2010-08-19 18:58:02 +00:00
Andreas Öman
65863ec17e
Include # of channels and samplerate in streaming start message produced by globalheaders
2010-07-01 08:34:10 +00:00
Andreas Öman
ba05614ca9
Add reject filter to streaming_queue_init()
...
Implement streaming_queue_deinit()
2010-06-26 22:03:35 +00:00
Andreas Öman
b93d5f0a5b
Reduce FFmpeg dependencies
2010-06-23 21:43:00 +00:00
Andreas Öman
1308d3c68b
Add a native matroska muxer used for recording.
...
- Correctly writes global headers. Ticket #61
- Add support for recording AAC audio. Ticket #160
2010-06-21 20:52:36 +00:00
Andreas Öman
2ed2283a25
Plug two memory leaks
2010-06-15 17:43:41 +00:00
Andreas Öman
3c0e1141ff
* Make error detection in timestamp parsing much stronger.
...
* Avoid extracting persistent data (such as video width*height) from
received data if we suspect that an error has occured (MPEG-TS TEI or
continuity counter errors).
* Add src/plumbing/tsfix.[ch]: Streaming code that fixes up missing
timestamps and normalize timecode to start at 0.
* Move PTS estimation code and timestamp normalization out from central
parse code. Subscribers that really needs it should use tsfix plumbing
instead.
* Let DVR code use tsfix plumbing.
* Don't send "pts" and "dts" over HTSP if timestamps are missing.
2010-06-15 14:53:39 +00:00
Andreas Öman
70f10c09da
Fix memory corruption issue
2010-06-14 18:42:00 +00:00
Andreas Öman
bc43bf2cb3
Fix stupid bug
2010-06-14 18:15:04 +00:00
Andreas Öman
c74fa3b554
remove debug printf:s
2010-06-14 12:41:15 +00:00
Andreas Öman
f5254a66fa
Splice "global data" (sequence headers for MPEG2 and SPS/PPS for h264) into
...
packet buffers of its own.
Make all subscribers merge it back for now. We will need this for correctly
writing global headers in MKV files.
Ticket #61
2010-06-14 12:32:57 +00:00
Andreas Öman
2a9e1169f4
Use 90kHz timebase internally
2010-06-13 19:29:31 +00:00
Andreas Öman
7f474c1ec9
Raise severity when we can't create a directory
2010-05-09 11:49:50 +00:00
Andreas Öman
d57985481c
* Fix various issues realted to the Recording Schedule user interface.
...
The UI now includes better visual feedback on what's going on and if
there are errors. Also recordings that do not complete successfully
are correctly reported as failed entries. Ticket #131
2010-03-21 10:08:16 +00:00
Andreas Öman
77ad2f6885
Fix obvious bug causing record priority -> subscription weight mapping not to work at all
2010-03-18 21:48:05 +00:00
Andreas Öman
3be19d4b8a
Some refactoring of error codes. Also make DVR log reason on SMT_STOP
2010-03-18 20:48:03 +00:00
Andreas Öman
769dee0f3b
* Add support for prioritized recordings. The user can chose among five
...
different priorities.
2010-03-17 21:16:57 +00:00
Andreas Öman
6876fc6afe
* Add support for storing recorded events in a directory named after
...
the event. Ticket #150
* Add support for appending season and episode numbers to filenames
during recording.
2010-03-16 22:59:10 +00:00
Andreas Öman
8121d950be
Add an option for replacing spaces in title with '-' for DVR recorded files
...
Patch by: tuomaz
2010-03-11 20:23:44 +00:00
Andreas Öman
874f2564db
dvr: Get rid of a few other ugly characters in filenames
2010-02-01 20:45:09 +00:00
Andreas Öman
b3e37fa199
Remove colon from filenames, causes problem for windows users
2010-02-01 20:40:05 +00:00
Andreas Öman
6bc2981af5
Fix incorrect printf
2010-01-24 21:35:35 +00:00
Andreas Öman
62008fcb9d
Use flags to signal transport status
2010-01-09 16:03:26 +00:00
Andreas Öman
d404f984d4
Improve logging when subscriptions fail to start
2010-01-08 15:02:16 +00:00
Andreas Öman
dade35a931
Initial work on TS pass-through
2009-11-18 20:28:35 +00:00
Andreas Öman
02dd003832
Rewrite stream start messaging. Using htsmsg internally is a bit obscure
2009-10-15 20:10:19 +00:00
Andreas Öman
153c61d9ea
Use FFmpeg's av_interleaved_write_frame() or some players can't play the recorded content (vlc is one)
2009-08-19 20:08:15 +00:00
Andreas Öman
5dfdbc7a9b
Add support for setting default extra times to add before and after a recording. Useful if your TV shows never start on time.
2009-08-19 19:44:33 +00:00
Andreas Öman
801fc1b26b
DVR: when registering a subscription, include title of event in subscription name
2009-07-20 10:13:19 +00:00
Andreas Öman
3a6a69b1f5
Add more detailed info about source service when a subscription starts.
...
Partially addresses ticket #81
2009-07-20 10:11:34 +00:00
Andreas Öman
d0898f6ddf
Fix %lld problems on 64bit builds
2009-07-19 10:37:34 +00:00
Andreas Öman
de759a1f88
av_alloc_format_context() is deprecated, use avformat_alloc_context() instead.
2009-07-11 19:37:01 +00:00
Andreas Öman
47d8db11e4
Use av_write_frame() instead of av_interleaved_write_frame()
...
It seems the interleaver can screw up if something happens to the source
feed streams.
2009-07-06 19:37:53 +00:00
Andreas Öman
5ba86ffa59
Fix some incorrect logging levels
2009-06-21 20:31:09 +00:00
Andreas Öman
315b389e2c
Make TRANSPORT_FEED_ error code -> string conversion centralized.
2009-06-03 20:11:06 +00:00
Andreas Öman
1aa37cf1b5
Add propper locking around ffmpeg codec open/close.
...
Fixes #58
2009-06-03 19:29:59 +00:00
Andreas Öman
1c2168f754
Include source adapter and DVB network in subscription start message.
2009-06-03 19:23:45 +00:00
Andreas Öman
206767ac3a
Rewrite internal streaming pipeline so it is fully message driven.
...
No ugly callbacks and weird locking scenarios no more.
Addresses ticket #15
2009-06-03 19:06:33 +00:00
Andreas Öman
962d6cd407
Allow generic messages to be sent over a streaming pad, not only packets.
2009-06-02 17:38:05 +00:00
Andreas Öman
a869d7101f
Split queue-stuff from streaming_target into its own struct.
2009-06-01 20:42:09 +00:00
Andreas Öman
fb39102578
Remove streaming_component_t from tvhead.h
...
We will eventually move away from this code structure anyway.
2009-06-01 20:09:38 +00:00
Andreas Öman
95de7d1958
At least do some logging in dvr_rec_fatal_error()
2009-04-14 19:54:02 +00:00