Posts tagged aacPlus

Digital Radio

0

In Norway we have for a long time had an ongoing debate about digital radio, and then DAB. It is hard to see that DAB will succeed, sales figures says it all. Last year there were sold about 60. 000 DAB radios and 725.000 FM radios in Norway. I don’t doubt the numbers being correct, just imagine all the mobile phones that today are equipted with a FM radio! Recently I also read that also Germany is haivng doubt about building out their DAB network.

I was an early adopter to DAB, I really like the quality of the broadcasts of the channels I listen most to. They have all gotten decent bandwidth, and that is where the main problem is with DAB, there isn’t enough bandwidth available. Endusers demand more channels and more bandwidth (better quality) for the channels. We can see the same about arguments being made about digital TV, RiksTV isn’t something for the future. Satelite and cable tv have both far more bandwidth available. We are about to enter the HD era, but don’t have to many technical solutions available.

It was with great joy I read Ashley Highfield’s blog entry ”I Love Digital Radio“. It lists up in a great way the problems we have with DAB and competing Internet Radio Stations:

The quality of the IP stream is often woeful. It frequently buffers, meaning I hear nothing for seconds or even minutes on end. It frequently loses the wireless connection, and sometimes gets confused and wants the WEP key again. I switch it off and on again. About once a day. By contrast the DAB radio just works. Press the button, and on it comes: excellent quality; reasonable range of choice; no bother.

He continues with showing how we have failed to make DAB different from FM, with examples on how DAB should have been:

I want DAB to show me weather, traffic and travel information graphically, on the same nice big screen, but unlike IP, reliably, simply, without installation and configuration. It’s all possible: I’ve seen it working from our development teams and research engineers. I want DAB to use its metadata – the information about the programmes – to differentiate itself from FM, which is surely its biggest competitor, rather than from IP. I want DAB to look like a product of the future, not the past.

For me it basically sounds like small embedded Linux system with a decent screen and a nice touch interface. Now that would have been different. Most of these features could have been easily made available on a computer, but the few DAB cards that were available for Windows-based computers seem all to be gone, and left is small retro boxes with an inbuilt half-decent DAB tuner.

The biggest problem with DAB is that consumers listening habits are changing We still listen to the big national radio channels, but instead of listening to the many small local stations, we find ourselves some nice Internet Radio Stations/services that stream our favourite music. He mentions Last.fm, which is a great example, but I will also add the many radio stations broadcasting over the Internet with AAC Plus. Superb sound quality, and often stable connections. DAB could survive in Norway if we say that the bigger channels should only be available on DAB and not FM. But the politicians are not willing to make the decission. In the meantime the alternatives are getting better ans better.

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

7

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

elgato-dvb-t-nrk-sending

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.

Go to Top