Opened 18 years ago

Closed 18 years ago

#926 closed enhancement (fixed)

Radio channels for DVB-T

Reported by: dm@… Owned by: danielk
Priority: minor Milestone: 0.20
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This patch adds the ability to record and play radio channels transmitted on DVB. They can be recorded or played live just like the television channels.

It works by adapting the idea of the dummy dtv recorder to generate an additional video stream to go along with the audio and locks the video by setting the time stamps of the video packets to match the audio stream. That means that all the frontend code that assumes that there is a video stream works without any change. The recording has the keyframes that are needed for seeking. The patches are all in the backend and almost entirely to dvbrecorder apart from very minor changes to allow radio channels to be included in the scan and EIT information.

It does increase the size of the recorded files compared to recording the audio alone but not by an enormous amount since the dummy television images are very small.

David Matthews

Attachments (2)

radiopatch.gz (3.8 KB) - added by anonymous 18 years ago.
radiopatch.1.patch (16.7 KB) - added by John Pullan <john.pullan@…> 18 years ago.
Enhanced to allow the scanner to choose (or not) to scan radio services.

Download all attachments as: .zip

Change History (8)

Changed 18 years ago by anonymous

Attachment: radiopatch.gz added

comment:1 Changed 18 years ago by danielk

Milestone: 0.20
Version: head

sounds cool

comment:2 Changed 18 years ago by John Pullan <john.pullan@…>

Firstly, big thanks to David Matthews for the original patch.

I've enhanced it very small amount, so you can now choose whether or not you want to scan in the radio services. Most of the work was already in the code, it just needed the UI adding, (check box on the card input screen).

Changed 18 years ago by John Pullan <john.pullan@…>

Attachment: radiopatch.1.patch added

Enhanced to allow the scanner to choose (or not) to scan radio services.

comment:3 Changed 18 years ago by Mark.Buechler@…

I just noticed something about this patch. It seems to require wait_for_seq_start to be enabled (which causes headaches on my system with DVB). Can you confirm this?

  • Mark.

comment:4 Changed 18 years ago by anonymous

Works for me without wait_for_seq_start - at least upto svn 8675 which was my last build. (UK - ttusb_dec & bttv - epia 10k - xvmc)

comment:5 Changed 18 years ago by danielk

(In [8947]) References #926. Adds DVB-Radio support by applying patch from David Matthews.

Guide data is collected via EIT, and the audio stream is supplimented with a dummy video stream so frontend changes are not needed.

comment:6 Changed 18 years ago by danielk

Resolution: fixed
Status: newclosed

(In [8948]) Closes #926, by adding John Pullan's UI for DVB radio scanning.

The code to support toggling the radio scanning was already in the scanner, patiently waiting for someone like Dave Matthews to come along and implement DVB Radio support in MythTV. John Pullan's patch enables this bit of code so you can now choose whether to add DVB Radio to your lineup during the scan.

Note: See TracTickets for help on using tickets.