Can not run mplayer unpacking .ape to .wav :

use utf8::all; while( my $count==0 || ( $count<3 && $@ =~ /does not map to Unicode/ ) + ){ print "Trying $encoding[$count] encoding.\n\n"; eval{ $stat=qx#$mplayer_bin_conf -nolirc -vo null -vc dummy -cache $mp +layer_cache_size_conf -cache-min $mplayer_cache_perc_min_conf -ao pcm +:waveheader:file=$o_tot_cmd $i_file_cmd# }; if( $@=~m#does not map# ){ warn $@; $count++; }elsif( $@ ne '' ){ die $@; # bail out on other eval errors }else{ print "Found: $encoding[$count] .\n\n"; $stat=decode( $encoding[$count], ( qx#$mplayer_bin_conf -nolirc -vo n +ull -vc dummy -cache $mplayer_cache_size_conf -cache-min $mplayer_cac +he_perc_min_conf -ao pcm:waveheader:file=$o_tot_cmd $i_file_cmd# ) ); last; } }

receiving

utf8 "\xC2" does not map to Unicode at r.pl line 30. Trying cp1251 encoding. utf8 "\xC2" does not map to Unicode at r.pl line 30. Trying koi8-r encoding. Cache not responding! utf8 "\xC2" does not map to Unicode at r.pl line 30. MPlayer interrupted by signal 13 in module: demux_open2 MPlayer interrupted by signal 13 in module: read_subtitles_file

Do you have an idea how i can accomplish this? - I use mplayer for covertion because it gives me usable errors so that i can more correctly convert from that format. So i would use it prefarbly that ony other, also, under Debian there is not much option for command line convertion at least.


In reply to $stat=qx## under utf8::all by humble

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.