Home » Technology » Operating Systems » BeOS/Haiku » DVB-T with H.264 (MPEG-4)
21
Apr

DVB-T with H.264 (MPEG-4)

eyetv-dvb-t4

Please get your coffee cup before you start reading this blog entry, cause this is a longer one…

Introduction

I haven’t been playing with DVB-T for a while, and when Marcus Overhagen open-sourced his DVB-T work to the Haiku-OS project, I wanted to see how the test broadcasts where coming along in Norway. I knew that Norway was not to use MPEG-2, but instead go for H.264 (MPEG-4). It turned out that NTV already had switched their test broadcasts from the Tryvann antenna to the new and better codec some time end of March.

More or less at the same time Golem.de published:

Nachzügler: Norwegen bekommt das bessere DVB-T

Mit MPEG-4 AVC und aacPlus zum terrestrischen Digitalfernsehen

Yes, Norway was to get better DVB-T then Germany. Well, a better technical solution. Norway already had better DVB-T when NTV did test broadcasts with MPEG-2. NRK often got broadcasted with 9 Mbps while German channels typically got broadcasted 2,5-3 Mbps. This basically ment that the pictures from NRK were of a much higher quality, the German channels looked like a movie from a well-used VHS cassette. The reason for this is simply the available bandwidth, and that German suppliers chose to push more channels to consumers. If Norway had gone for MPEG-2 we would probably had done the same mistake. In short, Norway chose to implement a digital terrestrical HD (High Definition) TV and Germany a SD (Standard Definition) TV, something that will make a significant difference now that more and more people get their HD-Ready flat-panel TVs! The test broadcasts are still only SDTV, but NTV/RiksTV will hopefully move fast on to providing a few channels in HDTV (720p/1080i).

It’s all German software

Coding Technologies

The Golem article links to a Nürnberg-based company Coding Technologies. The company specialises in audio codecs for mobile, digital bradcasting and Internet, and seems to be the company that is to deliver the audio codec that NTV has chosen to implement, aacPlus. My first thought was: “Not again, yet another audio codec. Why couldn’t they just go for MPEGSurround?”. But having read about the codec and listened to some of the many radio stations (with the latest VLC/Winamp) that already broadcast in this format, I am convinced that NTV did the right decission. The aacPlus (HE-AAC, High Efficiency Advanced Audio Coding) codec is fully standardized in MPEG-4 and capable of delivering stereo CD quality at 48 Kbps and 5.1 surround sound at 128 Kbps. Also 7.1 is possible. As HE-AAC is supported in the open source FAAD/FAAD2 decoding library, my hope is that Haiku-OS can get it implemented fairly soon.

CyberLink

RiksTV will still only have test sendings till some time in September this year, and only the govermental TV channels NRK1 and NRK2 are freely available. You already need a subscription card (not publicly available) to receive broadcasts from TV2 and TVN (TV Norge). To test the solution you need to get hold of the H.264 codec. There are many commercial codecs available, and sadly most of them cost far to much! Luckily I already have H.264, as I have bought the latest version of CyberLink PowerDVD Ultra Ed (for HD DVD). Here is why you should consider buying exactly CyberLink’s codec, for a US $ 100 you get both the codec, a DVD, HD DVD and Blueray playback software. I don’t know of any better deal!

DVBViewer

I then bought DVBViewer (for 15€), a really impressive TV software made by Bernd Hackbart. Worth every cent (penny) I paid! The viewer is one of the few solutions that allows you to experience Digital TV on your PC. I have for instance not been capable of watching DVB-T with H.264 directly from Windows Media Center in Vista. Nor have I been able to use Hauppauge’s own viewer.

Hardware

Elgato EyeTV Hybrid

When it comes to hardware, I have managed to receive the NRK broadcasts with the USB adapter Elgato eyetv hybrid, which actually is nothing else then a Hauppauge WinTV HVR-900, so drivers are available for both Windows XP and Vista. I chose Elgato simply cause my main home machine is a Macbook Pro. Sadly, I haven’t got around to try receiving H.264 broadcasts on my Mac with eyetv.

Lenovo T60

The first machine I tested was a Lenovo T60 (Intel Core 2 Duo 2500 running at 2 GHz, 2 GB RAM, 64 MB ATI Mobility Radeon X1300, 1400×1050 TFT) laptop running Vista Ultimate Edition. My experience was rather horrible, DVBViewer would be crashing as soon as you started another application or switched to another application to do some work. It would also just die after a few minutes even if it was the only application running. I still haven’t got a clue about what is causing it, Vista, Cyberlink’s H.264 codec, the Hauppauge driver or the DVBViewer?

Dell OptiPlex 745

I was quite disappointed, so I moved over to my work machine, a Dell OptiPlex 745 (Intel Core 2 Duo E6400 running at 2.13GHz, 1066MHz FSB with 2MB L2 cache, 2 GB RAM, ATI Radeon X1300 Pro PCIe 256MB, DVI) still running Windows XP. And WOW, rock solid, DVBViewer hasn’t died on me once!

User Experience

It is quite fun and interesting to see how much the data transfer has gone down, without the picture quality becoming worse! When NTV was broadcasting in MPEG-2, the data transfer was changing constantly, but often up to 9 Mbps. The “new” test broadcast of NRK in MPEG-4 only has a data transfer of 3,1 Mbps. Sadly the broadcast was only in 4:3 and not 16:9. Another problem that all early birds are having, is that none of us are getting any sound. DVBViewer isn’t capable of making use of the aacPlus codec, as it doesn’t find it. I haven’t found a way to show the viewer where the codec is installed. I have both Winamp and VLC installed, so the codec is there. Don’t get me wrong, I don’t think that DVBViewer is the problem, but I hope that the developer will manage to find a workaround for us. I can hardly wait to try the codec, as the “old” MPEG-1 was streaming with 256 Kbps and wasn’t bad at all! The new codec is streaming at the “impressive” 192 kbps.

With the “new” test broadcasts EPG (Electronic Program Guide) has also been implemented, so with DVBViewer you can read about the upcoming TV shows/programs and schedule your computer as a PVR.

I am looking forward to the day when I finally can show my cable company the finger and move on. I guess many others will do the same! But it all depends on the effort RiksTV is putting down in getting the best channels in their package of about 18-20 channels. Having 50 channels today, and only watching 6-7 of them on a regular basis says a lot!

A few things in the end

I have a few questions that I would like to get answers on, even if I need to find the answers myself:

  • Has somebody successfully been able to use the H.264 codec from the FFMPEG project?

  • Has somebody successfully received the test broadcasts with a Mac or in Linux?

  • Is somebody translating DVBViewer to Norwegian bokmål?

Don’t run out and buy yourself a DVB-T card/adapter for your computer. Most likely many of these cards will not be working satisfyingly in the Norwegian DTT network, as they are not manufactured after the specifications of the Norwegian DTT network. NTV/RiksTV are in the process of establishing test and certification of receivers to make it easier for consumers to choose what to buy.

7 Responses to "DVB-T with H.264 (MPEG-4)"

Add Comment
  1. marco_lara

    August 25, 2008 at 8:52 am

    Dear Mr. Frank,

    I came to this article searching about DVB in Norway and I loved the details. Thanks a lot for sharing this info with the rest of the DVB community! I was on the NTV site but there was no English information avaliable, so I wonder if I could ask for a favor from you by asking the following questions:
    1.- What is the name of the Digital TV regulatory body in Norway? As you may be aware, we have the CSA in France, Anacom in Portugal or Italia Digitale in Italy, do you have such body/bodies in Norway? In other words, who regulates digital TV in Norway?
    2.- I could only find one digital TV station in Norway: NVT, formed by a join venture between NRK and TV2, is that correct? Are there any other stations in Norway?

    I know I am abusing your kindness, but after searching the web for a bit over two weeks I am at the end of my wit.

    By the way, I work in the marketing department of a DTV chip manufacturer, and while I am not a technical guy “per-se” I would be more than happy to answer whatever questions you may have related to DVB, although I can see you probably know more than me!

    Best wishes,

    Marco.

    Reply
  2. frankps

    August 28, 2008 at 7:05 am

    Hi Marco,

    thank you for reading my blog and sorry for my delayed answer. I will try to answer your questions as best I can, but please also read the following articles: http://www.frankps.net/?s=RiksTV&searchsubmit=Find.

    1. The govermental office in charge of all kinds of broadcasting is Medietilsynet. They have opened a site for information about digital TV in Norway – DigitalTvNorge.

    2. NTV has built the DTT network, and they are in charge of the infrastructure. NTV is owned by Telenor. RiksTV is the only operator in the DTT network for now, and to make it more complicated RiksTV is owned by Telenor, NRK and TV2.

    As long as the analogue signals are not turned off, there is not space enough for another operator, so for now RiksTV remains in a monopoly situation. There is an ongoing discussion about what to do with the bandwidth that is gonna be available when the analogue signals are shut down. First of all, RiksTV wants the space to be able to start some HDTV channels, some politicians want to give the space to another operator to get competition in the market, and Telenor wants the space for future mobile services (among them digital tv for mobile devices, dmb or dvb-h).

    If you have further questions, feel free to post them here or contact per e-mail.

    Reply
  3. marco_lara

    September 19, 2008 at 7:28 am

    Hi Frank,

    Thanks a lot for your help. You really saved my life! I still have a little tiny question for you. When you go buying iDTVs or set-top boxes in Norway, do you see any “Digital TV approved” logo? In other words, does Norway have their own “DTV approved product” logo somewhere?

    Thanks again and all the best.

    Marco.

    Reply
  4. frankps

    September 20, 2008 at 5:38 pm

    Hi Marco!

    Yepp, RiksTV has a certification programme. As far as I have heard it, there is no way around it. Shops are only selling certified boxes.

    Reply
  5. GekoBR

    September 22, 2008 at 3:48 am

    Hi Frank,

    I live in Brazil which started TDTV last december, 2007.
    The terrestrial standard is a now International Standard for Digital Broadcasting Terrestrial ISDB-T where the original Japanese ISDB-T where updated in Brasil to H.264AVC (Part 10) video and HE-AAC v2 audio and some refinements due to M RF american standard 6Mhz in the Americas.

    It has been launched in Sao Paulo on eleven TV stations in December, now also in Rio with Four Stations and Belo Horizonte with Two Sations. Up to Dicember, there will be more five capital cities with, at least, two ISDB-T stations.

    The reazon I’m writing here is that the satelites’ digital standards in the Americas is the DVB-S and some of them suporting DVB-S2 also, as is the case of, at least, TWO HD Stations from Sao Paulo that, since de terrestrial ISDB-T launch in Dicember 2nd 2007, are FTA broadcasting their HD H.264AVC HE-AACv2 content and their SD and Mobile (1Seg) content, all of them in a MUX hosted by StarOne C2 sat.

    I’ve bought a small DVB-S/S2 USB2 DVBWORLD receiver and started to watch the same Video and Audio technology as Norway in an iMac running Windows XP because no MACOSX support yet.

    All your text above has many significance and understanding for me as I bought the DVBViewer licence and started imidiately watching, screen capturing, video saving (.TS) and video broadcasting in my LAN and WLan to VLC clients running on MacBooks and PCs.

    Some screenshots of DVBViewer in action are:

    http://img247.imageshack.us/img247/2252/sample1bcopytb9.jpg
    http://img49.imageshack.us/img49/8632/sample2bcopyev4.jpg
    and an HD Screen capture
    http://img237.imageshack.us/img237/5571/bandhd0904192636zc9.jpg

    The HE-AACv2 is decoded with LIBAAD2 wrap, showed by DVBViewer as AC3.

    Where will we have an MACOSX version of DVBViewer?

    Reply
  6. Pingback: I’ve Got HDTV - frankps

  7. Pingback: Introduction to Windows 7 - frankps

Leave a Reply