Welcome, Guest. Please login or register.

Author Topic: .amr files on Amiga?  (Read 1826 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
.amr files on Amiga?
« on: March 07, 2007, 07:55:38 AM »
  Hi.
 Anyone knows if there is a way to play amr files on an Amiga, or to just convert them to another format?
A1200 PPC user.
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: .amr files on Amiga?
« Reply #1 on: March 08, 2007, 03:51:18 PM »
 I'll take this as a "no" :-)
A1200 PPC user.
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: .amr files on Amiga?
« Reply #2 on: March 08, 2007, 04:01:47 PM »
On the PC I use a program from Miksoft to convert AMR to WAV.    IIRC he includes the source code for the process.  I considered trying to compile on Amiga but have not had the time.  Maybe someone else can?

MobileAMRconverter
http://www.miksoft.net/mobileAMRconverter.htm
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show only replies by Colani1200
Re: .amr files on Amiga?
« Reply #3 on: March 08, 2007, 04:05:36 PM »
You might give mplayer a shot if you have OS 4 or Morphos. Or is there a 3.x version I do not know of?
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: .amr files on Amiga?
« Reply #4 on: March 08, 2007, 04:15:54 PM »
@LoadWB
 Let's hope so.

@Colani1200
 There is no OS3.x version but i can run MOS and this format is not supported by the MOS port. I don't know if the OS4 port supports it.
A1200 PPC user.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: .amr files on Amiga?
« Reply #5 on: March 08, 2007, 04:59:19 PM »
Here are the steps I did to decode the .amr files:

- Download 26104-520.zip
- Unarchive the two zips.
- Apply quick big endian fix patch
- build it:
Code: [Select]
make -f makefile.gcc decoder
- use decoder the decode the sample:
Code: [Select]
1> decoder t:test.amr t:test.raw
After this stage you have raw sample file, which can be converted to wav, mp3, or whatever you want. For wav you can use for example:
Code: [Select]
1> sox -r 8000 -w -c 1 -s t:test.raw -r 16000 -w -c 1 t:test.wav
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: .amr files on Amiga?
« Reply #6 on: March 08, 2007, 05:18:16 PM »
@Piru
 Thank you but because i haven't compile a single file in my life, i need to ask 2 additional questions:
 How do i apply the patch?
 Which archive i need to download to be able to compile files on OS3.x?
A1200 PPC user.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: .amr files on Amiga?
« Reply #7 on: March 08, 2007, 05:20:49 PM »
Hm, perhaps someone with a working m68k gcc setup could grab the src, apply the patch and build the decoder?

(I only have ppc-morphos target in my gcc here)
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: .amr files on Amiga?
« Reply #8 on: March 08, 2007, 05:38:02 PM »
 In case there are no volunteers, i have a PPC card so a WOS/PUP/MOS exec would be fine. :-)
A1200 PPC user.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: .amr files on Amiga?
« Reply #9 on: March 08, 2007, 05:39:33 PM »
 

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: .amr files on Amiga?
« Reply #10 on: March 08, 2007, 06:50:00 PM »
 Wow, in just 1 minute! Many thanks. :-D
A1200 PPC user.