How to get MOC freeze:
- use 24 bit hardware
- play a ogg file
- pause playing (with Space)
- change file and start playing (with Enter)
- there is a high chance that MOC freezes
You can do the same without a freeze, if you one of this:
- use 16 bit hardware
- use wav files
- change to a file (with Enter) without pressing pause before
It causes a total freeze of MOC. There is no error message.
Tested version: 2.5.0 (final) and 2.6-alpha1
I downloaded moc 2.5.0 and compiled it on Salixos 14 (32 bit). Everything went fine. Only thing I changed was directory prefix, from '/usr/local' to '/usr'. I launched moc and received this error,
can't load plugin libmusepack_decoder
moc runs and everything else works fine but this message is bugging me. I've made sure that required dependencies are fulfilled. I've checked and made sure that ffmpeg, musepack-tools, libmpcdec and taglib are installed. I've also checked '/usr/lib/moc/decoder_plugins' directory and libmusepack related '.so' and '.la' files are there. Any clues as to what could be wrong? Thanks!
Mocp cleans playlist after execute external command and press left || right.
Reproduce in Gentoo, Mint. I reproduced this bug in old version, in current version it's reproduce too.
$ mocp -V
This is : Music On Console
Version : 2.6-alpha1
Revision : Unversioned directory
Built : Jul 30 2015 15:13:31
Compiled with : ALSA Network streams resample
Running on : Linux 3.15.0-pf5 x86_64
How reproduce:
1. Insert to .moc/config line like this:
ExecCommand1 = "cp %f /var/tmp/"
2. Enter mocp
3. Press F1, Left, Left.
4. Playlist is clean now.
I'm trying to build MOC from source without success
There seems to be a problem with API changes in ffmpeg 2.7.2 ('AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared)
Any clue how to fixing this ?
Thanks in advance
Here's the part of build log
Making all in ffmpeg
make[3]: Entering directory '/data/pkgmk/work/moc/src/moc-2.5.0/decoder_plugins/ffmpeg'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -pthread -O2 -march=x86-64 -pipe -Wall -W -I/usr/include/alsa -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF .deps/libffmpeg_decoder_la-ffmpeg.Tpo -c -o libffmpeg_decoder_la-ffmpeg.lo `test -f 'ffmpeg.c' || echo './'`ffmpeg.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -pthread -O2 -march=x86-64 -pipe -Wall -W -I/usr/include/alsa -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF .deps/libffmpeg_decoder_la-ffmpeg.Tpo -c ffmpeg.c -fPIC -DPIC -o .libs/libffmpeg_decoder_la-ffmpeg.o
ffmpeg.c: In function 'is_timing_broken':
ffmpeg.c:475:16: error: 'AVFormatContext' has no member named 'file_size'
file_size = ic->file_size;
^
ffmpeg.c: In function 'ffmpeg_info':
ffmpeg.c:546:2: warning: implicit declaration of function 'av_open_input_file' [-Wimplicit-function-declaration]
err = av_open_input_file (&ic, file_name, NULL, 0, NULL);
^
ffmpeg.c:562:2: warning: implicit declaration of function 'av_find_stream_info' [-Wimplicit-function-declaration]
err = av_find_stream_info (ic);
^
ffmpeg.c:644:8: error: 'AVFormatContext' has no member named 'track'
if (ic->track != 0)
^
ffmpeg.c:645:19: error: 'AVFormatContext' has no member named 'track'
info->track = ic->track;
^
ffmpeg.c:646:8: error: 'AVFormatContext' has no member named 'title'
if (ic->title[0] != 0)
^
ffmpeg.c:647:28: error: 'AVFormatContext' has no member named 'title'
info->title = xstrdup (ic->title);
^
ffmpeg.c:648:8: error: 'AVFormatContext' has no member named 'author'
if (ic->author[0] != 0)
^
ffmpeg.c:649:29: error: 'AVFormatContext' has no member named 'author'
info->artist = xstrdup (ic->author);
^
ffmpeg.c:650:8: error: 'AVFormatContext' has no member named 'album'
if (ic->album[0] != 0)
^
ffmpeg.c:651:28: error: 'AVFormatContext' has no member named 'album'
info->album = xstrdup (ic->album);
^
ffmpeg.c:659:2: warning: implicit declaration of function 'av_close_input_file' [-Wimplicit-function-declaration]
av_close_input_file (ic);
^
ffmpeg.c: In function 'ffmpeg_open':
ffmpeg.c:999:2: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration]
if (avcodec_open (data->enc, data->codec) < 0)
^
ffmpeg.c:1045:38: error: 'AVFormatContext' has no member named 'file_size'
data->avg_bitrate = (int) (data->ic->file_size /
^
ffmpeg.c: In function 'decode_packet':
ffmpeg.c:1218:14: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function)
char avbuf[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2] __attribute__((aligned(16)));
^
ffmpeg.c:1218:14: note: each undeclared identifier is reported only once for each function it appears in
ffmpeg.c:1234:3: warning: implicit declaration of function 'avcodec_decode_audio' [-Wimplicit-function-declaration]
len = avcodec_decode_audio (data->enc, (int16_t *)data->avbuf,
^
ffmpeg.c:1218:7: warning: unused variable 'avbuf' [-Wunused-variable]
char avbuf[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2] __attribute__((aligned(16)));
^
Makefile:410: recipe for target 'libffmpeg_decoder_la-ffmpeg.lo' failed
make[3]: *** [libffmpeg_decoder_la-ffmpeg.lo] Error 1
make[3]: Leaving directory '/data/pkgmk/work/moc/src/moc-2.5.0/decoder_plugins/ffmpeg'
Makefile:363: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/data/pkgmk/work/moc/src/moc-2.5.0/decoder_plugins'
Makefile:717: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/data/pkgmk/work/moc/src/moc-2.5.0'
Makefile:472: recipe for target 'all' failed
make: *** [all] Error 2
this issue has been reported in Fedora 23 by RPMFusion bug tracker:
$ mocp
WARNING: The following fatal error message may be bogus!
If you have an empty /etc/popt.d directory, try
adding an empty file to it. If that does not fix
the problem then you have a genuine error.
FATAL_ERROR: Error reading default POPT config file: No such file or directory
MOC seems need an empty file in /etc/popt.d to work.
MOC's executable file is effectively linked to libipopt.so library but does it really need it?
My mocp doesn't see files which end with .opus, though I extra installed fmpeg with --enable-libopus. I open a library and I can't see anything, but the files are there. I couldn't find a solution for that.
This is : Music On Console
Version : 2.5.0-alpha4
Built : Feb 26 2012 16:00:51
Compiled with : OSS ALSA JACK DEBUG internet streams resample
Distro: MX Linux
uname -a
Linux hostname-removed 3.14-0.bpo.2-686-pae #1 SMP Debian 3.14.15-2~bpo70+1 (2014-08-21) i686 GNU/Linux
I used MOC in the past with another distro and if I recall right there it worked with every file, this one was Ubuntu based, now it's Debian, so this might be the problem. However, installing Version 2.6 of MOC isn't possible in a simple way. So I hope this isn't the problem.
FFmpeg recently pushed out the 3.0 release, and latest stable (2.5.0) from 2014 apparently isn't up to the task anymore. Build logs on OS X 10.11.3:
I then tried trunk and it builds without problems.
Since 2.6.0 doesn't seem to be coming any time soon (or is it? 2.6-alpha1 seems to be from Sep 5, 2014...), would you please consider making a patch release, say, 2.5.1, to maintain compatibility with latest FFmpeg? The build issues with 2.5.0 are unfortunately blocking FFmpeg 3.0 from landing on Homebrew (we require a stable release there). Thanks.
Hi,
Running the --toggle argument gives an error:
$ mocp -t s
FATAL_ERROR: Tried to get wrong option 'Shuffle'!
The same holds for other variations of the toggle argument.
Related arguments (--on, --off) work fine.
The server is already running.
I'm running current Debian 8 (jessie).
$ mocp --version
This is : Music On Console
Version : 2.6-alpha2
Revision : 2849
Built : May 5 2016 22:29:18
Compiled with : OSS ALSA DEBUG
Running on : Linux 4.2.0-0.bpo.1-amd64 x86_64
It would be nice if, while displaying tags, moc would align right the track number tag to align the rest of the tags. Also, when there are more than 100 tracks on a directory/playlist the track order is not displayed correctly: track 100 is sorted before track 10 - see these screenshots
Hi
i'm using Ubuntu 17.04
and MOC 2.6-alpha3
When i "allow louder than 100%" in sound settings and set volume more than 100%
my moc crash with follow message
When I try to play some mp3 files that used to work this message appears and it skips to the next song in the playlist. Most mp3 files still work fine and to me there doesnt seem to be any difference between the files that do work vs the files that dont. Tried playing the files that didnt work after copying them in a different folder and they still didnt work. I'm using moc 2.6_alpha3 on sabayon linux and moc-scrobbler. I installed MOC with the rigo file manager.
when resuming a music file that was paused for a bit of time mocp outputs a huge crash sound through the speakers. It usually occurs when the pause lasted for a minimum amount of time, maybe 30 sec and not always. I think it occurs only at first pause-resume during the play.
I'm using mocp since a year or a bit more and I experienced this problem since the beginning. I'm using mocp 2.5.1 in slackware 14.2 as shipped with.
I know no other music player that does a similar thing in linux. I did actually never see that ever before.
tl;dr In summary, I can only run moc when I am in ~/.moc folder, not outside it. Manually adding location of timidity.cfg in config does not work.
Hi, I updated the system to Fedora 26, and have installed moc using sudo dnf install moc command. After creating empty file in /etc/popt.d named mocp, and creating ~/.moc folder and copying config.example file as ~/.moc/config file, I was expecting moc to run as usual. But I got this error.
After researching for solutions, including but not limited to installing timidity related libs and stuffs and some other things, I am able to run moc, but only when I am in ~/.moc folder. I manually added the location of timidity.cfg file in the moc config but then moc does not start at all.
Hi, I'm using MOC-2.5.2 in Debian stable.
I've got the HVSID collection, and I've pointed MOC to it with the config file. Problem is, it doesn't do anything. I've checked with strace and it's reading the config file, but it doesn't appear to touch the HVSID directory at all, and all the SID files end up with the wrong length.
I thought maaaaybe it was because of a weird symlink issue or something, so I copied the directory to /tmp/ and passed that over with: SidPlay2_Database = /tmp/C64Music/
and still no love. I can play SIDs from the directory okay, but it won't read the database. And without the database, everything plays for 3 minutes per track.