[solved] Unable to play m4a and mp4 on mpd

I am using mpd and upmpdcli on my Allwinner A20 board with openwrt lede-17.

I have libffmpeg-full and mpd-full installed. when I try to stream m4a or mp4 it fails to decode `

Mon Feb  4 17:23:12 2019 daemon.warn mpd: ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: moov atom not found
Mon Feb  4 17:23:12 2019 daemon.err mpd: exception: avformat_open_input() failed: Invalid data found when processing input
Mon Feb  4 17:23:12 2019 daemon.err mpd: exception: Failed to decode http://192.168.1.243:8192/a-5404.m4a
Mon Feb  4 17:23:12 2019 daemon.notice mpd: player: played "http://192.168.1.243:8192/a-5404.m4a"

log_file "syslog"

bind_to_address "127.0.0.1"
bind_to_address "192.168.1.18"

input {
    plugin          "curl"
}

audio_output {
    type            "alsa"
    name		    "sun4icodec"
    device          "hw:1,0"
    mixer_control   "Power Amplifier"
}

How can this be fixed?

Update: Selecting libffmpeg-custom and selecting most of the options solved the issue

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.