File format conversions: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:


  shnsplit -f file.cue file.cue.wav -o "flac ext=flac flac -s -o %f -"
  shnsplit -f file.cue file.cue.wav -o "flac ext=flac flac -s -o %f -"
= 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.

Revision as of 08:50, 24 November 2016

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 -"

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.