humble has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: $stat=qx## under utf8::all
by wjw (Priest) on Oct 18, 2013 at 10:14 UTC | |
by jellisii2 (Hermit) on Oct 18, 2013 at 12:15 UTC | |
by wjw (Priest) on Oct 18, 2013 at 14:32 UTC | |
by Anonymous Monk on Oct 27, 2013 at 10:24 UTC | |
|
Re: $stat=qx## under utf8::all
by Anonymous Monk on Oct 18, 2013 at 10:11 UTC | |
by Anonymous Monk on Oct 27, 2013 at 10:09 UTC | |
by Anonymous Monk on Oct 28, 2013 at 07:33 UTC |