#196 no -C option in win32 build

1.5.1
closed
nobody
None
5
2016-09-24
2013-10-16
B. Brown
No

[...]\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.

Discussion

  • Thomas Orgis

    Thomas Orgis - 2013-10-16
     
  • Thomas Orgis

    Thomas Orgis - 2013-10-16

    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.

     
    • Man-wai Chang

      Man-wai Chang - 2014-06-21

      Deleted.
      Used a new reply to make this bug looks updated in SourceForge! ;)

       
      Last edit: Man-wai Chang 2014-06-21
  • B. Brown

    B. Brown - 2013-10-18

    Ok, thx for explanation !

     
  • Man-wai Chang

    Man-wai Chang - 2014-06-21

    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.

    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.

     -= terminal control keys =-
    [s]     or [ ] interrupt/restart playback (i.e. '(un)pause')
    [f]     next track
    [d]     previous track
    [b]     back to beginning of track
    [p]     loop around current position (like a damaged audio CD;-)
    [.]     forward
    [,]     rewind
    [:]     fast forward
    [;]     fast rewind
    [>]     fine forward
    [<]     fine rewind
    [+]     volume up
    [-]     volume down
    [r]     RVA switch
    [v]     verbose switch
    [l]     list current playlist, indicating current track there
    [t]     display tag info (again)
    [m]     print MPEG header info (again)
    [h]     this help
    [q]     quit
    [c]     or [C] pitch up (small step, big step)
    [x]     or [X] pitch down (small step, big step)
    [w]     reset pitch to zero
    
     
    Last edit: Man-wai Chang 2014-06-21
  • Thomas Orgis

    Thomas Orgis - 2016-09-24
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks