DTT Debugging under Linux
This is an attempt at a quick guide on how to test and debug Linux support for New Zealand’s freeview DTT Network under Linux.
Debugging Steps
Step 1
Grab a copy of mplayer from SVN as you will need all of the latest patches.
svn co svn://svn.mplayerhq.hu/mplayer/trunk
mv trunk mplayer_svn
cd mplayer_svn
./configure –disable-mencoder
make
Step 2
You will need a ~/.mplayer/channels.conf file, see attached as an example
- Sample file for Auckland Waiatarua
- Sample file for Kapiti Ngarara
For details on transmitters and channel allocation see this reference.
Step 3
Grab some samples from the major channels, eg
mplayer -dumpstream -dumpfile tv6.ts dvb://”TVNZ 6″
Step 4
Try and playback the samples using your SVN build of mplayer.
Step 5
Report back on your system config what does/doesn’t work and your setup, eg
- OS version
- Processor
- RAM
- Graphics Card
- Additional patches
- Any special options required
- CPU Load and compatibility status for
- 576i
- 720p
- 1080i
- Radio
MPlayer Playback Tips
Here are some tips on how to improve the performance of MPlayer
Multicore support
Deinterlace video
Fix audio sync on interlaced channels
-mc 2
Known Issues
These are known issues as of mplayer r26305 and ffmpeg r12665.
- HE-AAC LATM audio can report odd errors or occasionally not work
- HE-AAC Audio sync issues on interlaced video
- Odd video artifacts on interlaced streams
- Performance issues
Reported Configurations
| Reporter | OS | CPU | RAM | Graphics | 576i | 720p | 1080i | Radio |
|---|---|---|---|---|---|---|---|---|
| OpenMedia | Ubuntu 7.10 | AMD X2 3600 | 2G | NVidia 6150 | Artifacts | Yes | No | Yes |
| OpenMedia | myPVR 2 | AMD 64 3000+ | 512M | NVidia 6150 | Artifacts | Too Slow | No | Yes |
| OpenMedia | RedHat 5 | Intel T2400 1.8GHz | 2G | Intel | Artifacts | Yes | No | Yes |
| Craig Whitmore | Debian | AMD X2 4800+ | 2G | NVidia 6150 | Artifacts | Yes | ||
| Michael Dilger | Gentoo |