LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How Slacker play APE ?? (https://www.linuxquestions.org/questions/slackware-14/how-slacker-play-ape-939027/)

igxz 04-10-2012 02:17 AM

How Slacker play APE ??
 
this might be topic discussed over and over again,MPlayer supports APE by default and Amarok doesn't, but I wonder if that's how Slackers do coz i don't really don't want to mess up with ffmpeg..

andrew.46 04-10-2012 07:55 AM

FFmpeg has an ape decoder so most software that uses a recent enough libavcodec can playback ape files: Audacious and vlc spring to mind...

cascade9 04-10-2012 08:12 AM

I'd use one of the many tools to convert .ape to .flac (or .wv if you prefer).

Ape isnt that great a lossless codec, and the licence is ridiculous.

Quote:

Monkey's Audio Program License Agreement

Monkey's Audio is completely free for personal, educational, or commercial use.
Although the software has been tested thoroughly, the author is in no way responsible for damages due to bugs or misuse.
The redistribution of Monkey's Audio is only allowed in cases where the original installer and components therein have not been modified.
The use of Monkey's Audio or any component thereof from another program requires compliance with the 'Monkey's Audio SDK and Source Code License Agreement'.
Installing and using Monkey's Audio signifies the acceptance of these terms. If you do not agree with any of the above terms, you must cease using Monkey's Audio and remove it from your storage device.

Monkey's Audio SDK and Source Code License Agreement

The Monkey's Audio SDK and source code can be freely used to add APE format playback, encoding, or tagging support to any product, free or commercial.
Monkey's Audio source can be included in GPL and open-source software, although Monkey's Audio itself will not be subjected to external licensing requirements or other viral source restrictions.
Code changes and improvements must be contributed back to the Monkey's Audio project or made freely available, unless exempted by written consent of the author.
Any source code, ideas, or libraries used must be plainly acknowledged in the software using the code.
Although the software has been tested thoroughly, the author is in no way responsible for damages due to bugs or misuse.
If you do not completely agree with all of the previous stipulations, you must cease using this source code and remove it from your storage device.

http://www.monkeysaudio.com/license.html

vvoody 04-10-2012 08:43 AM

deadbeaf in SBo;
or compile a Phonon backend which supports ape and set it as backgend. I used mplayer before.

igxz 04-10-2012 10:11 PM

Quote:

Originally Posted by cascade9 (Post 4649216)
I'd use one of the many tools to convert .ape to .flac (or .wv if you prefer).

thanks for your reply, could you please recommend a effective tool can convert .ape to .flac? ta

hemp4fuel 04-10-2012 10:36 PM

You can use shntool: http://slackbuilds.org/repository/13.37/audio/shntool/

'shntool conv -o flac *.ape'

igxz 04-11-2012 01:21 AM

Quote:

Originally Posted by hemp4fuel (Post 4649781)
You can use shntool: http://slackbuilds.org/repository/13.37/audio/shntool/

'shntool conv -o flac *.ape'

just tried it out, pretty neat, convert 500m APE to FLAC in about 30 sec, it requires mac(Money Audio Codec) pre-installed though. Thanks!

igxz 04-11-2012 02:23 AM

Quote:

Originally Posted by hemp4fuel (Post 4649781)
You can use shntool: http://slackbuilds.org/repository/13.37/audio/shntool/

'shntool conv -o flac *.ape'


shntool is good WAVE data processing utility, but what if I want to convert FLAC/APE to splited ogg/mp3 files with .CUE file in shell, like what GUI(K3b) can do does, so I can play different tracks in Album?

cascade9 04-11-2012 02:41 AM

Quote:

Originally Posted by igxz (Post 4649766)
thanks for your reply, could you please recommend a effective tool can convert .ape to .flac? ta

I normally use soundconverter (Gtk) or soundkonverter (Qt).

I dont get why people transcode from terminal at all. By the time you've opened a terminal and typed the commands, you could have got a GUIed transcoding program up and started.

igxz 04-11-2012 04:53 AM

Quote:

Originally Posted by cascade9 (Post 4649916)
I normally use soundconverter (Gtk) or soundkonverter (Qt).

I dont get why people transcode from terminal at all. By the time you've opened a terminal and typed the commands, you could have got a GUIed transcoding program up and started.

good point, its just whether can do or not in my opinion I suppose. curiosity drives people do thing like this especially in Linux, isn't it? :)

T3slider 04-11-2012 09:08 PM

Quote:

Originally Posted by cascade9 (Post 4649916)
I dont get why people transcode from terminal at all. By the time you've opened a terminal and typed the commands, you could have got a GUIed transcoding program up and started.

1) Some people have a terminal open all the time, and typing a quick alias may indeed be faster
2) Automation. When I rip CDs I just type cdrip, which runs abcde with the desired options (outputting to a predefined directory with a standard name format) and automatically prompts me with the CDDB entry to verify it is correct. I can't imagine a GUI would be faster.

[/off-topic]

cascade9 04-14-2012 07:39 AM

Quote:

Originally Posted by igxz (Post 4650012)
curiosity drives people do thing like this especially in Linux, isn't it? :)

In part. Though when yuo see 'this is how you transcode' posts with terminal commands, can be because of the 'cant be bothered/too difficult to write a 'how to' using a GUI' problem. There is also a percentage of users who have a 'real users do it from command line' approach.

Quote:

Originally Posted by T3slider (Post 4650680)
1) Some people have a terminal open all the time, and typing a quick alias may indeed be faster
2) Automation. When I rip CDs I just type cdrip, which runs abcde with the desired options (outputting to a predefined directory with a standard name format) and automatically prompts me with the CDDB entry to verify it is correct. I can't imagine a GUI would be faster.

1-IMO it would only be faster if you are a good typist, don't typo any commands, and remember exactly where the files to be transcoded are located.
2- Ripping and transcoding arent the same thing. Its much easier to automate ripping. Not that I would rip from the terminal either, but it makes more sense than transcoding.

T3slider 04-14-2012 02:32 PM

Quote:

Originally Posted by cascade9 (Post 4652477)
1-IMO it would only be faster if you are a good typist, don't typo any commands, and remember exactly where the files to be transcoded are located.

Tab completion basically eliminates the need to be a good typist, and a good bash alias or small script keeps track of most-used options. You'd have to locate the files from a GUI anyway, so I don't understand why it would be so difficult to find them with coreutils...
Quote:

Originally Posted by cascade9 (Post 4652477)
2- Ripping and transcoding arent the same thing. Its much easier to automate ripping. Not that I would rip from the terminal either, but it makes more sense than transcoding.

You (usually) encode when ripping, which requires choosing a proper codec along with suitable codec options. Transcoding is hardly a completely different thing. I automated transcoding of TiVo-encrypted video files on a server at one point with little difficulty (and it would have taken far longer to do it manually in a GUI). As long as you keep naming/tagging conventions consistent you can automate tasks easily (pull info from tags or the filename, pass as options to the new encoder). If you do something once or rarely, it is not worth the effort to try and learn command-line syntax. If you do something often or with many files, automation is a time saver. If you're not willing to learn to automate and/or write shell scripts, then the question of CLI efficiency is moot.

cascade9 04-15-2012 07:12 AM

Transcoding audio can be complex, if you want to do it right.

If you've got a consistent naming convention and paths, always do the same task (eg .flac-> .mp3 V0), yeah, it is possible to automate it various ways. Its not so bad if you do lossless-> lossless or lossless-> lossy transcodes , its if you start doing lossy-> lossy transcodes you need to be a lot more careful. I've seen people do 128/160/192K WMA to V0/320K MP3 transcodes plently of times. Even if you are transcoding from MP3 to MP3 you have to be careful....some of the encoders are awful (I've blind tested LAME MP3 V2 as 'sounding better' than xing 320K CBR)

IIRC it is possible to get the codec/bitrate/encoder from command line, but now you've got another step. It also throws automation out the window.

Not that many people have a consistent naming convention. I've got one of the neater audio collections I've ever seen, but even I have various albums/files with 'non-standard' naming conventions for various reasons.

If it works for you, go ahead, use a command line to transcode. I dont, and I've done more transcodes than is sane. ;)

andrew.46 03-19-2015 11:54 PM

Quote:

Originally Posted by T3slider (Post 4650680)
1) Some people have a terminal open all the time, and typing a quick alias may indeed be faster
2) Automation. When I rip CDs I just type cdrip, which runs abcde with the desired options (outputting to a predefined directory with a standard name format) and automatically prompts me with the CDDB entry to verify it is correct. I can't imagine a GUI would be faster.

And interestingly enough abcde has just today received support for Monkey's Audio (ape) :)


All times are GMT -5. The time now is 07:31 PM.