Quantcast
Channel: MOC - music on console - Bug reports
Viewing all 66 articles
Browse latest View live

MOC freeze after pause using ogg 24 bit

$
0
0

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

Forums:


can't load plugin libmusepack_decoder

$
0
0

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!

Forums:

Mocp cleans playlist after execute external command and press left or right

$
0
0

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.

Forums:

Build problems 2.5.0

$
0
0

Hi there

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

Forums:

.wav format doesn't show (kbps number)

$
0
0

Hello MOC staff/devs!!!

For some time i have noticed "WAV Files" doesn't show kbp/s numbers below window.
Only on WAV format have see something like this missing.

FLAC, APE, MP3... are showing normally.

here it is
IMAGE(http://i.imgur.com/mhejGx1.png)

I do not mind posting, simply a cosmetic issue but can you check a ".wav" files please?

$ nili@debian:~$ apt-cache policy moc

moc:
Installed: 1:2.5.0-1
Candidate: 1:2.5.0-1
Version table:
*** 1:2.5.0-1 0
500 http://ftp.us.debian.org/debian/ jessie/main i386 Packages
100 /var/lib/dpkg/status

Regards,
Nili

Forums:

frozen console, fried cpu..

mocp fails to to due to empty /etc/popt.d

$
0
0

Hi all,

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?

Forums:

.opus Files not found

$
0
0

Hi!

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

ffmpeg version N-74034-gce46627 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.7 (Debian 4.7.2-5)
configuration: --enable-gpl --enable-libopus
libavutil 54. 29.100 / 54. 29.100
libavcodec 56. 55.100 / 56. 55.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 29.100 / 5. 29.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100

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.

Greets,
Sev

Forums:


[FATAL ERROR] No valid sound driver!

$
0
0

Running the server...
Trying JACK...
Trying ALSA...
No protocol specified
xcb_connection_has_error() retornou verdadeiro
No protocol specified
xcb_connection_has_error() retornou verdadeiro
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Acesso negado

No protocol specified
xcb_connection_has_error() retornou verdadeiro
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Acesso negado

Trying OSS...

FATAL_ERROR: No valid sound driver!

FATAL_ERROR: Server exited!

any way to get around this error?
OS: Debian 8 Jessie with KDE

Forums:

Latest stable (2.5.0) incompatible with FFmpeg 3.0

$
0
0

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:

> make install ... Making install in ffmpeg /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/Cellar/ffmpeg/3.0/include -I../.. -I/usr/local/Cellar/ffmpeg/3.0/include -I../.. -D_THREAD_SAFE -pthread -g -O2 -Wall -W -I/usr/local/Cellar/jack/0.124.1/include -I/usr/local/Cellar/libsamplerate/0.1.8/include -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: clang -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/Cellar/ffmpeg/3.0/include -I../.. -I/usr/local/Cellar/ffmpeg/3.0/include -I../.. -D_THREAD_SAFE -pthread -g -O2 -Wall -W -I/usr/local/Cellar/jack/0.124.1/include -I/usr/local/Cellar/libsamplerate/0.1.8/include -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF .deps/libffmpeg_decoder_la-ffmpeg.Tpo -c ffmpeg.c -fno-common -DPIC -o .libs/libffmpeg_decoder_la-ffmpeg.o ffmpeg.c:70:10: fatal error: 'libavutil/audioconvert.h' file not found #include <libavutil/audioconvert.h> ^ 1 error generated. make[2]: *** [libffmpeg_decoder_la-ffmpeg.lo] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1

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.

Forums:

--toggle argument gives error

$
0
0

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

Thanks.

Forums:

MOC crashes on playlist loading

$
0
0

MOC crashes on playlist loading with Shift+A
if the same track is included twice

example playlist:

#EXTM3U #EXTINF:0,6 Code 64 - Every Moment (Departure) /home/blaze/music/Code 64/2006 Departure/06 Every Moment.ogg #EXTINF:0,6 Code 64 - Every Moment (Departure) /home/blaze/music/Code 64/2006 Departure/06 Every Moment.ogg

version 2.6.0 svn revison 2935 on Debian/Ubuntu

Forums:

Align track number + bug with more than 100 tracks

$
0
0

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

Here's my FormatString:

FormatString = "%(n:%n :)%(a:%a - :)%(A:\[%A\] - :)%(t:%t:)"

mocp, when reading tags, should first count the number of items then align right the %n tag.

Forums:

USB Headphones

$
0
0

Hello.
I have USB Headphones SHG7980/10.
When I changing volume - volume not change.
How I can fix with problem?
Thank You.

Forums:

crash when volume more than 100%

$
0
0

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

Running the server...
Trying JACK...
Trying ALSA...
mocp: alsa.c:319: alsa_read_mixer_raw: Assertion `RANGE(0, vol, 100)' failed.

FATAL_ERROR: Server exited!

sometimes i realy need volume more than 100%
so please fix it or make variable in config enable or disable it

thanks

Forums:


Invalid data found when processing input

$
0
0

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.

Forums:

crash sound after resume from pause

$
0
0

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.

Forums:

Strange MOC with timidity issue in Fedora 26

$
0
0

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.

[Abhinav@localhost ~] $ mocp FATAL_ERROR: TiMidity-Plugin: Error processing TiMidity-Configuration! Configuration file is: <default>

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.

[Abhinav@localhost ~] $ mocp --version This is : Music On Console Version : 2.6-alpha3 Revision : 2933 Built : May 17 2017 21:59:52 Compiled with : OSS ALSA JACK Network streams resample Running on : Linux 4.11.10-300.fc26.x86_64 x86_64 Author : Damian Pietras Homepage : http://moc.daper.net/ E-Mail : mocmaint@daper.net Copyright : (C) 2003-2016 Damian Pietras and others License : GNU General Public License, version 2 or later [Abhinav@localhost ~] $ mocp FATAL_ERROR: TiMidity-Plugin: Error processing TiMidity-Configuration! Configuration file is: <default> [Abhinav@localhost ~] $ cd .moc [Abhinav@localhost .moc] $ ls cache config equalizer last_directory pid socket2 softmixer themes timidity.cfg [Abhinav@localhost .moc] $ mocp [Abhinav@localhost .moc] $ # this time it worked, because I am in ~/.moc [Abhinav@localhost .moc] $ cd .. [Abhinav@localhost ~] $ mocp FATAL_ERROR: TiMidity-Plugin: Error processing TiMidity-Configuration! Configuration file is: <default>

Forums:

MOC v 2.6-alpha3 in Debian

$
0
0

If set in pulseaudio volume more than 100% mocp crashes with

ocp: alsa.c:319: alsa_read_mixer_raw: Проверочное утверждение «RANGE(0, vol, 100)» не выполнено.

RANGE may be 150 too))

Forums:

Sidplay2_Database config does nothing?

$
0
0

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.

Forums:

Viewing all 66 articles
Browse latest View live