You are not logged in.

#1 2011-08-10 12:15:02

johan1391
Member
From: Dhahran, Saudi Arabia
Registered: 2010-08-03
Posts: 106

[Solved] problem decoding .m4a reported by gmpc (mpd)

I'm getting this:

MPD reported the following error: problems decoding /dir/to/music/file.m4a

I added this to my .mpdconf:

decoder {
       plugin                         "faad2"
       enable                         "yes"         
}

How do I get faad2 to decode these songs that are in my music directory?

Last edited by johan1391 (2011-08-10 21:53:59)

Offline

#2 2011-08-10 17:10:58

steabert
Member
Registered: 2011-04-18
Posts: 78

Re: [Solved] problem decoding .m4a reported by gmpc (mpd)

I use mpd, and can play m4a files without problems and without any special configuration.
Also, while the package is called faad2, the program name is faad.

EDIT: can you decode the file with faad directly?

Last edited by steabert (2011-08-10 17:13:22)

Offline

#3 2011-08-10 18:21:03

johan1391
Member
From: Dhahran, Saudi Arabia
Registered: 2010-08-03
Posts: 106

Re: [Solved] problem decoding .m4a reported by gmpc (mpd)

$ faad 22_The\ Bay.m4a

 *********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

 Build: Apr 25 2011
 Copyright 2002-2004: Ahead Software AG
 http://www.audiocoding.com
 Floating point version

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License.

 **************************************************************************

22_The Bay.m4a file info:

LC AAC    139.300 secs, 2 ch, 44100 Hz

tool: 
iTunNORM:  000002EC 00000287 00002571 00001DFA 0000005F 0000005F 00007FFF 00007588 00000088 00000089
iTunSMPB:  00000000 00000840 00000038 00000000005DCB88 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
title: The Bay
artist: Zion I
album_artist: Various Artists
album: The Remix vs. The Original
genre: Hip Hop/Rap
track: 22
disc: 1
totaldiscs: 1
date: 2008-01-16T08:00:00Z
compilation: 
unknown: 
unknown: mlatourette@comcast.net
unknown: ℗ 2008 The Assembly Line
unknown: 7
unknown: 
unknown: 
unknown: 
unknown: 
unknown: 
unknown: 
unknown: 
unknown: 2008-11-15 23:30:40
sorttitle: Bay
sortalbum: Remix vs. The Original
iTunMOVI: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>asset-info</key>
    <dict>
        <key>flavor</key>
        <string>2:256</string>
    </dict>
</dict>
</plist>

cover: 

  ---------------------
 | Config:  2 Ch       |
  ---------------------
 | Ch |    Position    |
  ---------------------
 | 00 | Left front     |
 | 01 | Right front    |
  ---------------------

Decoding 22_The Bay.m4a took:  0.60 sec. 232.17x real-time.

Short answer: It works.

Last edited by johan1391 (2011-08-10 18:22:59)

Offline

#4 2011-08-10 21:54:16

johan1391
Member
From: Dhahran, Saudi Arabia
Registered: 2010-08-03
Posts: 106

Re: [Solved] problem decoding .m4a reported by gmpc (mpd)

A simple reinstallation and reboot did the trick.

Offline

Board footer

Powered by FluxBB