in reply to Re: Help to execute mpg123 command with Audio::Play::MPG123 package
in thread Help to execute mpg123 command with Audio::Play::MPG123 package

When mpg123sh was executing the same error has been get.
"connection to mpg123 process lost"

There was no interfere in mpg123 command execution

Output of mpg123:
#>mpg123 -R
@R MPG123 (ThOr) v6

Is there any compatibility error? Please help me.......

Reference
Perl Version is 5.8.8
mpg123 command version is 1.10

  • Comment on Re^2: Help to execute mpg123 command with Audio::Play::MPG123 package

Replies are listed 'Best First'.
Re^3: Help to execute mpg123 command with Audio::Play::MPG123 package
by zentara (Cardinal) on Feb 20, 2010 at 16:46 UTC
    I didn't see any bug reports for that module, and it works here. All I can guess is that there is some odd piping problem on your system. Can you run the following?
    #!/usr/bin/perl system( "mpg123 a.mp3");

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku

      The given script is executed and got the following error
      Can't exec "mpg123": No such file or directory

      But mpg123 command is been able to execute from the command line as
      #> mpg123 a.mp3
      and it was working fine

        Found the problem for getting the error in the previous post

        Installed the mpg123 command locally once the full path for the command is specified it was working fine

        Now My assumption is, this might be a problem to get the connection between the mpg123sh script and mpg123 -R command


        Please help me..............