LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-09-2007, 03:02 PM   #1
slothpuck
Member
 
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Rep: Reputation: 15
Playing DRM Radio files on linux


No, not DRM as in the US law. By DRM radio I mean DRM as in "Digital Radio Mondiale", or digital radio below 30Mhz, i.e. the AM radio bands.

Let me first of all tell you what I'm trying to do;

I have just recently bought a morphy richards radio which can recieve DRM (Digital Radio Mondiale) transmissions, and it can easily be transferred to a PC as the radio has an unusual feature of being able to store radio to an SD card.

I tried a few test recordings, connected a card reader to my PC with the SD card in it and mounted the SD card with no problems. However, the radio has saved the DRM (Digital Radio Mondiale) files as ".drm" files - but just what is this file format? Mplayer can't seem to play them -- does Digital Radio Mondiale use some sort of AAC or MP4, and can it be played by linux?

Thanks

NB, Link to Digital Radio Mondiale - http://www.drm.org/

SP
 
Old 01-09-2007, 07:33 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
According to Wikipedia, the format is probably HE-AAC, but that's not guaranteed. Try using the file command on it and see what comes up.

If it is an AAC codec, you need the faad/faac libraries to play or convert them.
 
Old 02-18-2007, 01:57 PM   #3
slothpuck
Member
 
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Original Poster
Rep: Reputation: 15
Unfortunatly I think the file format is a propietary one used by the radio. Here is a link to a file I recorded though I have no idea of the format! I have the faac & faad libraries on my system. To date mplayer hasn't even managed to play this format!

Should anyone figure out the format, you should hear someone I believe speaking in german. Though no idea what they are saying!

Some info on this DRM radio.

Not sure if the file identified the file correctly though...

Code:
bash-3.1$ file test.drm
test.drm: MP3 file with ID3 version 2.3.0 tag
bash-3.1$

Mplayer;
Code:
bash-3.1$ mplayer test.drm

..
..

[mp3 @ 0x96d460]Could not find codec parameters (Audio: mp3, 48 kb/s)
LAVF_header: av_find_stream_info() failed

bash-3.1$
A program called "mpg321" seemed to get slightly further, and produced this;

Code:
bash-3.1$ mpg321 test.drm

unix_connect: can't connect to server (unix:/home/aaaaa/.kde/socket-darkstar/darkstar.example.net-0e0a-45d1b868)
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : Deutsche Welle                  Artist:                               
Album  :                                 Year  :                               
Comment:                                 Genre :                               

Playing MPEG stream from test.drm ...

[0:00] Decoding of test.drm finished.
But it played no audio and stopped immediately.

Hex dump of the file in the zipfile, first few bytes....
Code:
00000000  49 44 33 03 00 00 00 00  00 1e 54 49 54 32 00 00  |ID3.......TIT2..|
00000010  00 14 00 00 00 44 65 75  74 73 63 68 65 20 57 65  |.....Deutsche We|
00000020  6c 6c 65 00 00 00 00 00  00 00 03 00 00 00 00 01  |lle.............|
00000030  00 00 5d c0 00 00 00 00  00 00 0f b4 00 00 00 00  |..]À.......´....|
00000040  00 00 00 01 00 00 02 d4  00 00 00 00 00 00 00 00  |.......Ô........|
00000050  00 00 00 00 04 70 90 0d  f1 2a 17 41 b0 1f 12 3a  |.....p..ñ*.A°..:|
00000060  27 90 73 ab e6 3a df c3  8d 73 b1 88 18 2a 33 b8  |'.s«æ:ßÃ.s±..*3¸|
00000070  32 36 3c 00 34 5e c7 d1  ad 5f 18 09 c9 cd c5 20  |26<.4^ÇÑ*_..ÉÍÅ |
00000080  90 38 2b 45 a7 40 58 6f  48 29 7f f5 d6 3a f3 ab  |.8+E§@XoH).õÖ:ó«|
00000090  28 6f 65 f4 9b 51 64 11  05 61 8c de 9d 40 da a8  |(oeô.Qd..a.Þ.@Ú¨|
000000a0  74 14 2e c2 20 7d 05 72  1a 81 07 2b e3 78 80 ae  |t.. }.r...+ãx.®|
000000b0  83 13 80 18 2a 43 b0 34  0d 80 3d 8f 60 e4 f8 17  |....*C°4..=.`äø.|
000000c0  c5 02 ce 6b 71 8b 1e 82  40 24 9b 0f 10 03 0f 4e  |Å.Îkq...@$.....N|
000000d0  17 fc 7e 4a c5 33 30 f2  63 44 66 0a 07 1e 3f b7  |.ü~JÅ30òcDf...?·|
000000e0  21 d7 4b e6 42 3f 59 9c  a3 91 11 a9 4d 23 d4 ce  |!×KæB?Y.£..©M#ÔÎ|
000000f0  b7 e2 78 22 1e 49 66 41  0c b7 04 6e 18 29 83 14  |·âx".IfA.·.n.)..|
00000100  88 0c c2 d7 03 a0 74 c6  86 28 02 b6 6b 71 8b df  |..Â×. tÆ.(.¶kq.ß|
SP

Last edited by slothpuck; 02-18-2007 at 03:49 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to play DRM protected WMA files in Linux danishmr Linux - Software 33 05-11-2010 02:26 PM
playing drm protected wma files in linux ZaphyR Linux - General 33 12-27-2008 11:27 AM
Playing online radio in Suse Linxu linuxRunner Linux - Software 2 01-31-2006 05:02 PM
Playing (streaming?) internet radio accessed through realplayer on Firefox 0.8.... pdmackenzie Linux - Software 13 11-19-2004 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration