Archive for the ‘File formats’ Category

Tag your sound files with metadata

Monday, May 3rd, 2010

With music floating around the web it’s not hard to imagine how file names are being renamed, misspelled or accidentally removed. For not to miss opportunities by not being able to be associated with your creations, it’s important to tag your files. At least with your artist/band name. To our aid we have metadata. If you open a newly created sound file in your favourite player you’ll find information about file name, duration, filetype and bitrate. In some music programs it’s possible to add extended data up on creation of the file. If that option isn’t available I use EasyTAG for three common formats. ID3 Tag (.mp3), Ogg Vorbis Tag (.ogg) and FLAC Vorbis Tag (.flac).

Screenshot-EasyTAG - Metadata

EasyTAG allows you to handle all three formats at the same time, while navigating around in a file browser like environment. You get alerted by red marking of the files that have been changed.

Converting to wma

Tuesday, August 4th, 2009

You might have come across the problem that you need a wma file. Here’s an example on converting wav to wma using ffmpeg.

$ ffmpeg -i inputfile.wav outputfile.wma

The standard output is 64kb/s. However you can change that by adding the parameter -ab.

$ ffmpeg -i inputfile.wav -ab 192k outputfile.wma

To add metadata, use the parameters -title and -author.

This test-file is the result of this command:

$ ffmpeg -i test.wav -ab 192k -title Spectacle -author Enchanted\ Duo test.wma

Testfiles embed ogg, flac, audio/video tags html5

Monday, June 29th, 2009

test.ogg (audio) time: 0:02:42
codec:
vorbis channels: stereo samplerate: 44100Hz bitrate: 192kbps

-----------------------------------------------------------------------

test.ogg (video) time: 0:03:10
(video) dimensions: 480 x 360 codec: theora framerate: 16fps bitrate:
104kbps
(audio)
codec: vorbis channels: stereo samplerate: 22050Hz bitrate: 66kbps

-----------------------------------------------------------------------

test.flac time: 0:02:42
codec:
flac channels: stereo samplerate: 44100Hz bitrate: n/a

Code Examples:

<audio src=”URL/test_audio.ogg”
controls=”1″ autoplay=”1″>Your browser does not support the audio tag.</audio>

<video src=”URL/test_video.ogg”
controls=”1″ autoplay=”1″>Your browser does not support the video tag.</video>