[...]\mpg123-1.15.1-x86\mpg123-1.15.1-x86>mpg123 -C "[somepath].mp3"
mpg123: Unknown option "C".
You made some mistake in program usage... let me briefly remind you:
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.15.1; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
usage: mpg123 [option(s)] [file(s) | URL(s) | -]
supported options [defaults in brackets]:
-v increase verbosity level -q quiet (don't print title)
-t testmode (no output) -s write to stdout
-w <filename> write Output as WAV file
-k n skip first n frames [0] -n n decode only n frames [all]
-c check range violations -y DISABLE resync on errors
-b n output buffer: n Kbytes [0] -f n change scalefactor [32768]
-r n set/force samplerate [auto]
-os,-ol,-oh output to built-in speaker,line-out connector,headphones
-a d set audio device
-2 downsample 1:2 (22 kHz) -4 downsample 1:4 (11 kHz)
-d n play every n'th frame only -h n play every frame n times
-0 decode channel 0 (left) only -1 decode channel 1 (right) only
-m mix both channels (mono) -p p use HTTP proxy p [$HTTP_PROXY]
-@ f read filenames/URLs from f
-z shuffle play (with wildcards) -Z random play
-u a HTTP authentication string -E f Equalizer, data from file
-C enable control keys --no-gapless not skip junk/padding in m
p3s
-? this help --version print name + version
See the manpage mpg123(1) or call mpg123 with --longhelp for more parameters and
information.</filename>
Yeah, the terminal control code doesn't work on Windows. It would be a feature request to write equivalent code for that platform.
For command-line fun, I recommend using Cygwin as environment. The terminal control should work there (not really sure right now, though). When I am faced with a Windows machine for a longer timeframe, eventually Cygwin gets installed to make things bearable.
If you want to submit a patch implementing terminal control on native Windows by whatever means, you're welcome in the feature request section. I do not suppose this will be included otherwise, sadly --- at least not by me, who didn't do development for Windows since quite some time now.
The acutal bug here is that -C is advertised in --help output. That will be fixed in next release.
Deleted.
Used a new reply to make this bug looks updated in SourceForge! ;)
Last edit: Man-wai Chang 2014-06-21
Ok, thx for explanation !
Is it really hard to implement that? I supposed no
special win32api calls would be needed to implement it.
The control keys were sent directly to mpg123, NOT to
the Windows kernel.
From http://www.linux-mag.com/id/7838/
To see mpg123′s controls, type ‘h’ during playback. Doing so will show the menu of available controls displayed below.
Last edit: Man-wai Chang 2014-06-21