Opened 18 years ago

Closed 17 years ago

#1772 closed enhancement (invalid)

Allow Multiple Channels from 1 Transponder...

Reported by: jochen Owned by: gigem
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This is a small Change to the Scheduler so that it allows Scheduling of Multiple Channels of one Transponder. This is only a start patch for the full function....

I'm working on this, now i have to test how to let me get multiple streams from one Transponder...

But i'm working on it...

Attachments (7)

schedule1.patch (1.2 KB) - added by jochen 18 years ago.
schedule patch 1
ajm_recorder_split.patch.gz (80.3 KB) - added by Aaron McCarthy <mccarthy.aaron@…> 18 years ago.
ajm_multiple_recorders.patch (51.6 KB) - added by Aaron McCarthy <mccarthy.aaron@…> 18 years ago.
ajm_scheduler.patch (5.5 KB) - added by Aaron McCarthy <mccarthy.aaron@…> 18 years ago.
ajm_recorder_split_v2.patch.gz (80.7 KB) - added by Aaron McCarthy <mccarthy.aaron@…> 18 years ago.
Split recorder classes into two halves - Version 2
ajm_multiple_recorders_v2.patch (56.7 KB) - added by Aaron McCarthy <mccarthy.aaron@…> 18 years ago.
Enabled multiple recorders per hardware card. Version 2
ajm_scheduler_v2.patch (8.3 KB) - added by Aaron McCarthy <mccarthy.aaron@…> 18 years ago.
Scheduler updates - Version 2

Download all attachments as: .zip

Change History (31)

Changed 18 years ago by jochen

Attachment: schedule1.patch added

schedule patch 1

comment:1 Changed 18 years ago by jochen

firstly i wanted to extend the programinfo class to include the mplexid, but that casuses only segfaults on my machine, and so i put the sql for geting this direct in the scheduler.cpp...

comment:2 Changed 18 years ago by gigem

Owner: changed from Isaac Richards to gigem

You can usurp the shareable member in ProgramInfo? instead of adding a new one. shareable was originally intended for something like this but it was never really done.

comment:3 Changed 18 years ago by jochen

The scheduling seems to work after a few tests, now the next step of this patch is needed... Therefor: Is ther any more documentation about how the Recording subsytem works (not only the doxygen documents). Wich treads are created with the start of a recording ...

Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

Attachment: ajm_recorder_split.patch.gz added

Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

Attachment: ajm_scheduler.patch added

comment:4 Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

I have been working on this for a while. I haven't submitted it yet because my code isn't ready, but If other people are going to start working on this I thought I might as well put it forward.

So far I am able to record to multiple files from a single stream using the MpegRecorder?. My next step is to implement this for the DVBRecorder.

The patch set comes in three parts.

ajm_recorder_split.patch.gz slits the recorder classes into two. The *Mux classes control the hardware. The other half have the same name as the original recorder classes and are responsible for writing the stream to the ring buffer. This patch doesn't change the behaviour the recorder subsystem. Everything should work as before.

ajm_multiple_recorders.patch adds the ability for each *Mux recorder to write to multiple Recorder classes. I have this working for MpegRecorder? classes. At the moment this breaks LiveTV. You will need to apply the third patch to get the scheduler use this new feature.

ajm_scheduler.patch changes the scheduler so that recordings that are on the same mux will be scheduled for the same recorder.

Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

Split recorder classes into two halves - Version 2

Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

Enabled multiple recorders per hardware card. Version 2

Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

Attachment: ajm_scheduler_v2.patch added

Scheduler updates - Version 2

comment:5 Changed 18 years ago by Aaron McCarthy <mccarthy.aaron@…>

I have updated the patches to support DVB. You can now record to multiple output files from a single DVB card. There are still a few problems. Pre-roll and post-roll are not handled correctly. It currently does pre-roll for the first recording and skips it for the second. The code to fix this is in one of the patches but it is not enabled as it exposes a race condition that prevents recording.

This is still against trunk. I will port it to the eit branch at some point. LiveTV is probably broken, I haven't looked at that part of the code yet.

This patch will break compiling for any recorders except DVBRecorder and MpegRecorder?.

comment:6 Changed 18 years ago by markus

with the current trunk the patches don't work... are there some updateded ones aviable?? will this some time be included in the main mythtv???

comment:7 Changed 18 years ago by markus

DVB Patches:

Do they now support multiple channels from one transponder or do they only support writing to multiple files?? Will the Patches updated to the current SVN with the changes from the eit Branch??

comment:8 Changed 18 years ago by steve

is somebody still working on this???

comment:9 Changed 18 years ago by anonymous

Milestone: 0.20

comment:10 Changed 18 years ago by anonymous

Type: defectenhancement

comment:11 Changed 18 years ago by anonymous

is this in svn already ?

comment:12 Changed 18 years ago by mark

@aaron: is this the newest version of this patch you made or have you a newer one?? i will work on this, but i wanna start with the newest version...

comment:13 Changed 18 years ago by Isaac Richards

Milestone: 0.20
Resolution: invalid
Status: newclosed

Patches aren't even close to being ready for inclusion, please reopen when it is.

Furthermore, splitting the recording classes up like you have will _not_ be accepted. Should be able to accomplish the same thing by using parts of the live-tv code.

comment:14 in reply to:  13 Changed 18 years ago by anonymous

Replying to ijr:

Patches aren't even close to being ready for inclusion, please reopen when it is.

Furthermore, splitting the recording classes up like you have will _not_ be accepted. Should be able to accomplish the same thing by using parts of the live-tv code.

what will not be accepted ?? the splitting up in more files or the change to the classes??? is in the livtv code also written to more then one file at the same time??

comment:15 Changed 18 years ago by anonymous

Resolution: invalid
Status: closedreopened

comment:16 Changed 18 years ago by danielk

Resolution: invalid
Status: reopenedclosed

anon, please discuss this in the mailing list.

comment:17 in reply to:  12 Changed 18 years ago by anonymous

Replying to mark:

@aaron: is this the newest version of this patch you made or have you a newer one?? i will work on this, but i wanna start with the newest version...

any news on this patch or is it dead??? i'm very pleased if someone could finish this patch....

comment:18 Changed 18 years ago by anonymous

Resolution: invalid
Status: closedreopened

can we open a paypal account wich we can spend money for anyone who realizes this ticke. i will pay 50€!

comment:19 Changed 18 years ago by Isaac Richards

Resolution: invalid
Status: reopenedclosed

comment:20 Changed 17 years ago by anonymous

Priority: minormajor
Resolution: invalid
Severity: mediumhigh
Status: closedreopened

Open Source Partners are willing to fund development of allowing multiple channels from one transponder. Those who are interested in working on the matter can contact us at info@… to discuss the matter further.

Sincerely...

Open Source Partners http://www.osp.fi

comment:21 Changed 17 years ago by Isaac Richards

Priority: majorminor
Resolution: invalid
Severity: highmedium
Status: reopenedclosed

comment:22 Changed 17 years ago by anonymous

noone willed to spend any more work on this???

ther is also more info in the wiki: http://www.mythtv.org/wiki/index.php/Record_multiple_channels_from_one_multiplex

and there are more then 600$ bidden for someone who solves this! http://www.pledgebank.com/MythTVMultiplex

comment:23 Changed 17 years ago by anonymous

Resolution: invalid
Status: closedreopened

What patches are working, doing what? What exact functionality is missing right now? Is documentation lacking? Is some design lacking? If not: where is the info on the proposed design for multiplex recording? Why aren't people taking the $$$ and writing a proof of concept?

Please reply.

comment:24 Changed 17 years ago by stuartm

Resolution: invalid
Status: reopenedclosed

Trac is not a discussion forum, use the mailing list instead.

Note: See TracTickets for help on using tickets.