mocp not showing .m4a files

I'm running the debian testing repos and mocp was taken out of the repos for some reason so I downloaded and compiled the 2.5.0-beta1 version and installed it and compilled it with --enable-faad2 and --enable-debug and it said MOC will be compiled with:

Decoder plugins: aac flac mp3 vorbis
Sound Drivers: OSS ALSA
DEBUG: yes
RCC: no
Network streams: no
Resampling: yes
MIME magic: no

I still have moc-ffmpeg-plugin though, but the problem is the .m4a files simply don't show up in mocp like they don't exist :/ Should I recompile and install or something?

Assuming that what you're saying is that you've installed the FFmpeg/LibAV decoder from the existing moc-ffmpeg-plugin in the correct place, my best guess is that you're still missing the libraries on which it depends:

ldd /path/to/libffmpeg_decoder.so

Running mocp -D and checking the start of the resulting mocp_client_log file (and particularly whether 'ffmpeg' appears in the line "Loaded n decoders:") might give more clues.

Ok so the ldd:
ldd /usr/lib/moc/decoder_plugins/libffmpeg_decoder.so<br /> linux-vdso.so.1 (0x00007ffff17ff000)<br /> libavutil.so.51 =&gt; /usr/lib/x86_64-linux-gnu/libavutil.so.51 (0x00007f876ffbe000)<br /> libavcodec.so.53 =&gt; /usr/lib/x86_64-linux-gnu/libavcodec.so.53 (0x00007f876f14e000)<br /> libavformat.so.53 =&gt; /usr/lib/x86_64-linux-gnu/libavformat.so.53 (0x00007f876ee37000)<br /> libjack.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f876ebdf000)<br /> libdb-5.1.so =&gt; /usr/lib/x86_64-linux-gnu/libdb-5.1.so (0x00007f876e85e000)<br /> libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f876e4b1000)<br /> libm.so.6 =&gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007f876e1b3000)<br /> libpthread.so.0 =&gt; /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f876df97000)<br /> libva.so.1 =&gt; /usr/lib/x86_64-linux-gnu/libva.so.1 (0x00007f876dd7f000)<br /> libxvidcore.so.4 =&gt; /usr/lib/x86_64-linux-gnu/libxvidcore.so.4 (0x00007f876da68000)<br /> libx264.so.124 =&gt; /usr/lib/x86_64-linux-gnu/libx264.so.124 (0x00007f876d718000)<br /> libvpx.so.1 =&gt; /usr/lib/x86_64-linux-gnu/libvpx.so.1 (0x00007f876d476000)<br /> libvorbisenc.so.2 =&gt; /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f876cfa7000)<br /> libvorbis.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f876cd7a000)<br /> libvo-amrwbenc.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libvo-amrwbenc.so.0 (0x00007f876cb5f000)<br /> libvo-aacenc.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libvo-aacenc.so.0 (0x00007f876c942000)<br /> libtheoraenc.so.1 =&gt; /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007f876c701000)<br /> libtheoradec.so.1 =&gt; /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007f876c4e4000)<br /> libspeex.so.1 =&gt; /usr/lib/x86_64-linux-gnu/libspeex.so.1 (0x00007f876c2cc000)<br /> libschroedinger-1.0.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libschroedinger-1.0.so.0 (0x00007f876bfff000)<br /> libz.so.1 =&gt; /lib/x86_64-linux-gnu/libz.so.1 (0x00007f876bde6000)<br /> libopenjpeg.so.2 =&gt; /usr/lib/x86_64-linux-gnu/libopenjpeg.so.2 (0x00007f876bbc5000)<br /> libopencore-amrwb.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libopencore-amrwb.so.0 (0x00007f876b9b1000)<br /> libopencore-amrnb.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libopencore-amrnb.so.0 (0x00007f876b786000)<br /> libmp3lame.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007f876b512000)<br /> libgsm.so.1 =&gt; /usr/lib/x86_64-linux-gnu/libgsm.so.1 (0x00007f876b305000)<br /> libfaac.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libfaac.so.0 (0x00007f876b0f1000)<br /> libdirac_encoder.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libdirac_encoder.so.0 (0x00007f876ae61000)<br /> libaacplus.so.2 =&gt; /usr/lib/x86_64-linux-gnu/libaacplus.so.2 (0x00007f876ac31000)<br /> libcrystalhd.so.3 =&gt; /usr/lib/x86_64-linux-gnu/libcrystalhd.so.3 (0x00007f876aa15000)<br /> librtmp.so.0 =&gt; /usr/lib/x86_64-linux-gnu/librtmp.so.0 (0x00007f876a7fb000)<br /> libbz2.so.1.0 =&gt; /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f876a5ea000)<br /> libopus.so.0 =&gt; /usr/lib/libopus.so.0 (0x00007f876a3a3000)<br /> librt.so.1 =&gt; /lib/x86_64-linux-gnu/librt.so.1 (0x00007f876a19b000)<br /> libdl.so.2 =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8769f96000)<br /> libstdc++.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f8769c8e000)<br /> libgcc_s.so.1 =&gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8769a78000)<br /> /lib64/ld-linux-x86-64.so.2 (0x00007f8770416000)<br /> libX11.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f8769739000)<br /> libogg.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f8769532000)<br /> liborc-0.4.so.0 =&gt; /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f87692ae000)<br /> libgnutls.so.26 =&gt; /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007f8768fef000)<br /> libgcrypt.so.11 =&gt; /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007f8768d6f000)<br /> libxcb.so.1 =&gt; /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f8768b50000)<br /> libtasn1.so.3 =&gt; /usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x00007f876893e000)<br /> libp11-kit.so.0 =&gt; /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f876871e000)<br /> libgpg-error.so.0 =&gt; /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f876851b000)<br /> libXau.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f8768316000)<br /> libXdmcp.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f8768111000)<br />
and the log has this
Jul 10 00:27:31.553866: main.c:796 main(): This is Music On Console (revision 2506)<br /> Jul 10 00:27:31.554042: main.c:802 main(): Configured: '--enable-faad2' '--enable-debug' '--enable-ffmpeg'<br /> Jul 10 00:27:31.554062: main.c:808 main(): Running on: Linux 3.2.0-4-amd64 x86_64<br /> Jul 10 00:27:31.554096: main.c:471 log_command_line(): mocp -D<br /> Jul 10 00:27:31.557788: decoder.c:662 load_plugins(): Loaded 4 decoders: aac flac mp3 vorbis<br /> Jul 10 00:27:31.599118: interface.c:3436 init_interface(): Starting MOC Interface<br /> Jul 10 00:27:31.599287: log.c:132 log_init_stream(): Writing log to: mocp_client_log<br /> Jul 10 00:27:31.599535: utf8.c:318 utf8_init(): Using UTF8 output<br /> Jul 10 00:27:31.603005: interface.c:474 update_mixer_name(): Mixer name: Master<br /> Jul 10 00:27:31.603401: interface.c:1442 get_server_playlist(): Getting the playlist...<br /> Jul 10 00:27:31.603427: interface.c:942 recv_server_plist(): Asking server for the playlist from other client.<br /> Jul 10 00:27:31.603448: interface.c:944 recv_server_plist(): Waiting for response<br /> Jul 10 00:27:31.603536: interface.c:948 recv_server_plist(): There is no playlist<br /> Jul 10 00:27:31.604130: playlist_file.c:174 plist_load_m3u(): Got MOCSERIAL tag with serial 256<br /> Jul 10 00:27:31.683816: interface.c:292 send_tags_request(): Asking for tags for /home/todd/music/todd's_music/Machinae Supremacy/Bionic Commando.mp3<br />
and it just kinda shows it loading all my files.

From the log file above:

Configured: '--enable-faad2' '--enable-debug' '--enable-ffmpeg'

but:

Decoder plugins: aac flac mp3 vorbis

Assuming these come from the same run of configure it implies that you don't have the Debian-specific '-dev' packages installed for LibAV (and maybe others).

However, ldd says the FFmpeg/LibAV decoder and the libraries it requires are present.

You can capture stderr when you start MOC to see if there are any relevant messages there: mocp 2>/tmp/mocp.stderr

Oh wait, someone on irc pointed something out to me it was in the repos (thought it wasn't for some reason) and I did have that one installed maybe that's why the compiled moc was being weird... repo version works fine :)

So it sounds like you're good to go again.

Yep, I suspect that's why the new compile and install was being weird, I'd still had moc installed >_<