LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > dacz
User Name
Password

Notices


Rate this Entry

Linserver opsætning

Posted 11-27-2006 at 11:16 AM by dacz

NTFS-3G se www.ntfs-3g.org/support.html
SAMBA
/etc/rc.d/samba
/etc/samba/rmb.conf
PURE-FTPD
mc - filemanager
musik konverter se blog
MYTHTV
audio-convert + yderligere pakker
Posted in Uncategorized
Views 1072 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    FROM:
    http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/Convert_WMA_to_MP3

    FEW CHANGES 2006-27-11 18:20 By Dacz

    Convert WMA to MP3
    Written by cadj - 2004-12-28 08:05

    Heres how to convert these files easily.

    REQUIREMENTS:
    mplayer
    lame

    1. create a text file called wmamp3 in your ~/

    2. Open the file in your favorite editor and enter the following


    #!/bin/bash

    current_directory=$( pwd )

    #remove spaces
    for i in *.wma; do mv "$i" `echo $i | tr ' ' '_'`; done

    #remove uppercase
    for i in *.[Ww][Mm][Aa]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done

    #Rip with Mplayer / encode with LAME
    for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm $i && lame -m s audiodump.wav -o $i; done

    #convert file names
    for i in *.wma; do mv "$i" "`basename "$i" .wma`.mp3"; done

    rm audiodump.wav


    3. Save the file

    4. In a console, give the command
    chmod +x ~/wmamp3

    5. as root, copy the file to your exec path (/usr/bin or /bin)

    6. Now you can change to the directory containing your WMA files and give the command wmamp3


    It usually takes approx 30 seconds to convert a 4 min long file.

    well i hope this has helped, if there are any improvements or comments please just let me know.
    Posted 12-31-1969 at 07:00 PM by dacz dacz is offline
 

  



All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration