Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Convert Real Audio files to MP3s' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Convert Real Audio files to MP3s
Authored by: drvk on Aug 23, '08 12:28:32PM

Hello,
I used your script with a little modification under Ubuntu.

#! /bin/bash
#
# Converts a Real Audio file to a mono MP3 and adds an ID3 tag.
#
# Usage: ra2mp3 infile [outfile]
#
author=`mplayer "$1" -vo null -ss 10:00:00 | grep author | sed -e 's/.*:\\s*\\($
title=`mplayer "$1" -vo null -ss 10:00:00 | grep name | sed -e 's/.*:\\s*\\(.*\$
mplayer "$1" -ao pcm:file="$1".wav -vc dummy -vo null
lame --preset extreme "$1".wav "$2" --tt "$title" --ta "$author"
rm "$1".wav


regards,
Daniel



[ Reply to This | # ]