Skip to content

Can whipper also save the audio file to another file format while ripping? #645

Answered by tombay
mainrs asked this question in Q&A
Discussion options

You must be logged in to vote

Whipper rips from the cd media into .wav format. The flac conversion is done through whipper/program/flac.py.
If you want to you can edit the file (with su access and knowledge of the python module hierachy)
flac.py spawns a thread.
This thread does check_call(['flac', '--silent', '--verify', '-o', outfile,
'-f', infile])
the infile is the name of the wav input (e.g. /tmp/tmp32tawm9b.whipper.wav)
The outfile is the destination (e.g. /data/tom/Downloads/Music/Montaigne/making it!/_Montaigne_making it!_02_embodi3d.flac.part)
So what it is doing is calling the linux command flac.
If you have a command for converting to ogg you can add a second command to the flac.py program.
Lets assume you …

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mainrs
Comment options

Answer selected by mainrs
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants