Difference between revisions of "DAB/DAB+ encoding"
From OpenDigitalRadio
Jump to navigationJump to search (→Inputs) |
|||
| Line 1: | Line 1: | ||
Encoding the sound to [[wikipedia:MPEG-1 Audio Layer II|MPEG-2 Layer II]] for DAB, [[wikipedia:High-Efficiency Advanced Audio Coding|MPEG-4 HE-AACv2]] for DAB+ or video in MPEG-4 H.264 for T-DMB beforefeeding it to the multiplexer. | Encoding the sound to [[wikipedia:MPEG-1 Audio Layer II|MPEG-2 Layer II]] for DAB, [[wikipedia:High-Efficiency Advanced Audio Coding|MPEG-4 HE-AACv2]] for DAB+ or video in MPEG-4 H.264 for T-DMB beforefeeding it to the multiplexer. | ||
| − | == | + | ==DAB audio encoding with toolame== |
*[[toolame]] MPEG-Layer II encoder (DAB) | *[[toolame]] MPEG-Layer II encoder (DAB) | ||
| − | |||
===mpg123 input=== | ===mpg123 input=== | ||
| − | + | toolame can take a file or a raw PCM stream as input. | |
*mpg123 can be used to take Internet radio stream and convert them from mp3 to raw PCM samples. Be careful, it has been noticed that earlier version have a memory leak when resampling. We use version 1.4.3 to avoid the problem. | *mpg123 can be used to take Internet radio stream and convert them from mp3 to raw PCM samples. Be careful, it has been noticed that earlier version have a memory leak when resampling. We use version 1.4.3 to avoid the problem. | ||
Example that decode an mp3 stream, resample it to 48kHz and output the raw samples to stdout: | Example that decode an mp3 stream, resample it to 48kHz and output the raw samples to stdout: | ||
mpg123 -b 1024 -r 48000 -s http://maxxima.mine.nu:8000 | mpg123 -b 1024 -r 48000 -s http://maxxima.mine.nu:8000 | ||
| + | |||
| + | ==DAB+ audio encoding with crc-dabplus== | ||
| + | *[[CRC-dabplus]] HE-AAC encoder (DAB+) from CRC (warning, it is not free/open source because of royalty) | ||
| + | |||
| + | ===jack input=== | ||
| + | Example of jackplug input (ALSA emulation), encoding at 48kbps, output to a FIFO file: | ||
| + | crc-dabplus -i card://jackplug -c 2 -b 48 -o file://2.ff | ||
==Tools for data services encoding== | ==Tools for data services encoding== | ||
Revision as of 01:05, 29 December 2010
Encoding the sound to MPEG-2 Layer II for DAB, MPEG-4 HE-AACv2 for DAB+ or video in MPEG-4 H.264 for T-DMB beforefeeding it to the multiplexer.
DAB audio encoding with toolame
- toolame MPEG-Layer II encoder (DAB)
mpg123 input
toolame can take a file or a raw PCM stream as input.
- mpg123 can be used to take Internet radio stream and convert them from mp3 to raw PCM samples. Be careful, it has been noticed that earlier version have a memory leak when resampling. We use version 1.4.3 to avoid the problem.
Example that decode an mp3 stream, resample it to 48kHz and output the raw samples to stdout:
mpg123 -b 1024 -r 48000 -s http://maxxima.mine.nu:8000
DAB+ audio encoding with crc-dabplus
- CRC-dabplus HE-AAC encoder (DAB+) from CRC (warning, it is not free/open source because of royalty)
jack input
Example of jackplug input (ALSA emulation), encoding at 48kbps, output to a FIFO file:
crc-dabplus -i card://jackplug -c 2 -b 48 -o file://2.ff
Tools for data services encoding
- CRC-Slideshow : slideshow generator from CRC. TO BE DOCUMENTED.
- DAB-EPG API from Global Radio Labs