File format conversions: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
(New page: = Conversion of an APE or FLAC file to a list of OGG / MP3 files = * [http://gimpel.gi.funpic.de/wiki/index.php?title=Howto:convert_ape_to_wav/mp3/ogg_on_Linux Reference information.] * ...)
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Program with GUI =
* media-sound/flacon is probably the easiest option and can convert most audio files.
= Conversion of an APE or FLAC file to a list of OGG / MP3 files =
= Conversion of an APE or FLAC file to a list of OGG / MP3 files =
* [http://gimpel.gi.funpic.de/wiki/index.php?title=Howto:convert_ape_to_wav/mp3/ogg_on_Linux Reference information.]


* The easiest way is to use the cueape.sh script (renamed to cueape) in the following way (-o is for Ogg encoding):
* The easiest way is to use the cueape.sh script (renamed to cueape) in the following way (-o is for Ogg encoding):
Line 7: Line 9:
  cueape "Falconer - The Sceptre Of Deception-shen.flac" "Falconer - The Sceptre Of Deception [FLAC].cue" -o
  cueape "Falconer - The Sceptre Of Deception-shen.flac" "Falconer - The Sceptre Of Deception [FLAC].cue" -o


* You will need the Gentoo packages media-libs/flac, media-sound/vorbis-tools and media-sound/mac.
* You will need the Gentoo packages media-libs/flac, media-sound/vorbis-tools, media-sound/mac and media-sound/mp3splt.
 
= Converting mp3 to wav =
 
lame --decode file.mp3 file.wav
 
= Converting a WAV file with a CUE sheet =
 
* [https://wiki.archlinux.org/index.php/CUE_Splitting Reference information.]
 
shnsplit -f file.cue file.cue.wav -o "flac ext=flac flac -s -o %f -"
 
* You will need the Gentoo package media-sound/shntool.
 
= Obtaining information about tags in a media file =
 
* You can run ffprobe to print the list of tags in the file:
 
ffprobe file.mp3
 
* To wipe / strip all tags in case of problems (severe bugs):
 
id3convert --strip file.mp3 # for MP3 files
vorbiscomment -w -t "artist=" file.ogg # for OGG files
 
* These tools are in Gentoo packages media-libs/id3lib and media-sound/vorbis-tools.

Latest revision as of 15:18, 1 December 2018

Program with GUI

  • media-sound/flacon is probably the easiest option and can convert most audio files.

Conversion of an APE or FLAC file to a list of OGG / MP3 files

  • The easiest way is to use the cueape.sh script (renamed to cueape) in the following way (-o is for Ogg encoding):
cueape "Falconer - The Sceptre Of Deception-shen.flac" "Falconer - The Sceptre Of Deception [FLAC].cue" -o
  • You will need the Gentoo packages media-libs/flac, media-sound/vorbis-tools, media-sound/mac and media-sound/mp3splt.

Converting mp3 to wav

lame --decode file.mp3 file.wav

Converting a WAV file with a CUE sheet

shnsplit -f file.cue file.cue.wav -o "flac ext=flac flac -s -o %f -"
  • You will need the Gentoo package media-sound/shntool.

Obtaining information about tags in a media file

  • You can run ffprobe to print the list of tags in the file:
ffprobe file.mp3
  • To wipe / strip all tags in case of problems (severe bugs):
id3convert --strip file.mp3 # for MP3 files
vorbiscomment -w -t "artist=" file.ogg # for OGG files
  • These tools are in Gentoo packages media-libs/id3lib and media-sound/vorbis-tools.