Difference between revisions of "DVB-T in Norway"

From MythTV Official Wiki
Jump to: navigation, search
Line 35: Line 35:
                 (StreamID::DTSAudio  == type));
                 (StreamID::DTSAudio  == type));

Revision as of 21:36, 6 October 2007

In 2007, Norway got it's first digital terrestrial tv-network. The operator, Norges televisjon (NTV), chose to use MPEG4 and AAC-HE to support more channels than if using MPEG2.

MythTV can record the freeview broadcasts from NRK and can also use the 7 day EPG. However, there is no way currently to view the recorded programs and tests using commercial h.264 decoders under Windows indicate that there is no audio in the recordings.

According to the scan program, the channel NRK3 has the following streams:

PMT 0x0109 for service 0x0067
  OTHER     : PID 0x0209 TYPE 0x1b
  OTHER     : PID 0x02a4 TYPE 0x11
  OTHER     : PID 0x0a2b TYPE 0x05
  TELETEXT  : PID 0x0240
  OTHER     : PID 0x0a34 TYPE 0x0b
  OTHER     : PID 0x0a35 TYPE 0x0c

0x0209 is the video stream, 0x02a4 is the audiostream.

An unverified patch to get audio:

Index: libs/libmythtv/mpeg/mpegtables.h
--- libs/libmythtv/mpeg/mpegtables.h    (revision 14618)
+++ libs/libmythtv/mpeg/mpegtables.h    (working copy)
@@ -155,6 +155,7 @@
         return ((StreamID::MPEG1Audio == type) ||
                 (StreamID::MPEG2Audio == type) ||
+                (StreamID::MPEG2AudioAmd1 == type) ||
                 (StreamID::AACAudio   == type) ||
                 (StreamID::AC3Audio   == type) ||
                 (StreamID::DTSAudio   == type));