Default Green Orange
Ovidiu's Box
Thinking inside and outside my box
Home Page Home
  • Despre mine
  • Resume
  • Biografie
  • Contact
RSS

  • Proiecte personale

  • Susțin

    Cazare Băile Herculane. Pensiunea Roua de Munte style=

  • Ciripeli pe Twitter

    • Românii folosesc mai puţin deodorant pe timp de criză http://bit.ly/9Keq5X Bine că n-au scăzut, doamne ferește, vânzările la alcool și tutun 51 mins ago
    • Ha! Google a activat deja priority inbox pe conturile de Apps. Cool (deși feature-ul, în sine, nu e mare brânză). 1 hr ago
    • Modern Marketing And PR Pro Fluency Matrix http://bit.ly/aSM80j 10 hrs ago
    • Kiwi Linux 10.08 released with Chromium, Shotwell and more http://bit.ly/bKDp0L 10 hrs ago
    • How Facebook Scales with Open Source http://bit.ly/dy95Dr 10 hrs ago
    • More updates...
  • Ultimele comentarii

    • Ovidiu on D-Link DIR-300
    • rnd on D-Link DIR-300
    • ovidiusoft on Ce-am mai citit – August 2010
    • ovidiusoft on Ce este și cum se face monitorizarea și filtrarea accesului la Internet
    • Alin on Repararea de drumuri la români
  • Nu vezi caracterele românești?

    ăâîșț

    Pentru utilizatorii de Windows. Pentru ca diacriticele să fie afișate corect, instalează Actualizarea de fonturi corespunzătoare extinderii Uniunii Europene. Mai multe detalii sunt disponibile aici.

Convert flac to mp3

Pinguinul din calculator, Programare Add comments

The post is in English because it might interest other people than just Romanians.

This is a very simple bash script that can be used to batch convert flac files to mp3, so you can use them on your favorite “no flac” mp3 player. It decodes all flac files to wav, then uses lame to encode them as mp3.

The script requires flac and lame installed. It keeps the file name and changes only the extension. It does not keep any ID3 tags and does no checking or error correction. Just download the script, make it executable and run it from any directory containing flac files:

$ /path/to/flac2mp3.sh

You will get a mp3 file with the same name for each flac.

Download: flac2mp3.sh

Enjoy ;)

  • Twitter
  • Facebook
  • LinkedIn
  • Google Reader
  • Google Bookmarks
  • Yahoo Messenger
  • Yahoo Mail
  • Google Gmail
  • Share/Bookmark

Related posts:

  1. Convert m4a/mp4 to mp3 I stumbled across some m4a files a few days ago...
  2. Convert Xmail to Dovecot users This post is in English because it might interest other...
  3. DDNS with PowerDNS – client side I use PowerDNS for my own DNS servers, but what...
  4. DDNS with PowerDNS – server side This is the second part in the “DDNS with PowerDNS”...
  5. Installing Debian distributions from USB sticks – problems and solutions If you tried to install any distribution which uses Debian-Installer...


October 9th, 2009  
Tags: bash, conversie, flac, mp3, script

2 Responses to “Convert flac to mp3”

  1. nu.conteaza
    October 9th, 2009 at 12:52

    another way to do it :

    for j in *.flac; do flac -cd “$j” | lame -h – “`basename “$j” .flac`”.mp3; done


  2. Ovidiu
    October 9th, 2009 at 13:13

    Nice! One liner too :) Thanks!


Leave a Reply

CommentLuv Enabledshow more

  • Abonează-te

    • RSS post-uri
    • RSS comentarii
    • Email post-uri
    • Email comentarii
  • Categorii

  • Post-uri recente

    • Ce-am mai citit – August 2010
    • Ce este și cum se face monitorizarea și filtrarea accesului la Internet
    • Repararea de drumuri la români
    • Și dacă am avea un singur impozit?
    • Cele 5 faze ale relației angajat-angajator
    • Televizorul ca monitor
    • NOVIT susține proiectul Euko
    • Plata în funcție de valoare – judecători
    • Plata în funcție de valoare – idei pentru sănătate
    • Interviurile structurate
  • Post-uri aletoare

    • Concert Direcția 5
    • Compatibilitatea la interviu
    • Convert Xmail to Dovecot users
    • Impresii de după vot
    • Instalare de pachete care sunt în conflict pe Debian
    • Cum alegi un nume de domeniu pentru situl companiei tale
    • ssh root@mybox.ro
    • How to change files in a initrd image
    • Le blog est mort, vive le blog
    • gtkpod vs podcast
  • Norișorul de etichete

    angajare angajati anunt auto backup banci blog carti cd cheat sheet creta cv email excursie google idiot impozite impresii intalnire internet interviu invitatie laptop linux mare munte muzica NOVIT online orson scott card plata protocoale recrutare resurse umane rlug romania script server servicii strategie taxe tunisia twitter usb wordpress
Copyright © 2010 Ovidiu's Box All Rights Reserved
Designed by i Software Reviews. Converted to 3 Columns by Ovidiu Constantin.
XHTML CSS Log in