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

  • Ciripeli pe Twitter

    • RT @violetaloredana: RT @elenaworld: Peste 100 Poze de la Salonul Auto de la Geneva 2010 http://tinyurl.com/yb4mvbj din albumul personal 26 mins ago
    • Ninge, deci #piesazilei nu are cum să fie decât Stefan Hrușcă - Linu-i lin http://bit.ly/9UOb0d 41 mins ago
    • @claudiuciobanu nu cred că se circulă ca dracu', ca în Iad e cald și probabil nu e zăpadă! in reply to claudiuciobanu 43 mins ago
    • @alina_popescu am fost varză la fizică tot liceul și facultatea :) Dar o să fac un efort... in reply to alina_popescu 50 mins ago
    • Am realizat că mâine am programare la revizie cu mașina. Ce-o să mă iubească băieții din service când o să le-o duc murdară și înghețată. 55 mins ago
    • More updates...
  • Ultimele comentarii

    • Ovidiu on Scrisorile recomandate
    • alberto on Scrisorile recomandate
    • Ovidiu on Avem nevoie de bagaje standardizate
    • iulian on Avem nevoie de bagaje standardizate
    • Ovidiu on Cum alegi un abonament la Internet pentru compania ta
  • 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.

Îl susţin pe Daniel Răduţă

Convert m4a/mp4 to mp3

Pinguinul din calculator Add comments

I stumbled across some m4a files a few days ago and I really wanted them in mp3 format. The conversion itself was not that complicated, since I based my script on the previous Convert flac to mp3 post and script. The tricky pars was figuring out what decoder I needed to use on Linux.

To make the search even more confusing, there are actually two file extensions for the same thing: m4a and mp4. Read more about the war between them here. I finally figured out I needed the package faad. Why not mp4dec or m4adec or even mp4 or m4a? We will never know.

Anyway, the following one-liner requires faad and lame installed. It keeps the filename and changes only the extension. It doesn’t keep any ID3 tags (btw, are they called id4 tags in case of mp4 files and i4d files in case of m4a !?).

Just run these in the directory where you keep the files:

  • for mp4 files:
  • for F in *.mp4; do faad -o - "$F" | lame -h --vbr-new -V 0 - "`basename "$F" mp4`"mp3; done

  • for m4a files:
  • for F in *.m4a; do faad -o - "$F" | lame -h --vbr-new -V 0 - "`basename "$F" m4a`"mp3; done

You will get a mp3 file for each of the mp4/m4a files.

Enjoy ;)

Image credit: Andrew Mason.

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

Related posts:

  1. Convert flac to mp3 The post is in English because it might interest other...
  2. Convert Xmail to Dovecot users This post is in English because it might interest other...
  3. Xmail password decrypter This post is in English because it might interest other...


January 22nd, 2010  
Tags: conversie, faad, lame, m4a, mp3, mp4, script

2 Responses to “Convert m4a/mp4 to mp3”

  1. Tweets that mention Convert m4a/mp4 to mp3 | Ovidiu's Box -- Topsy.com
    January 22nd, 2010 at 18:00

    [...] This post was mentioned on Twitter by Ovidiu Constantin, Ovidiu Constantin. Ovidiu Constantin said: Post nou pe blog: Convert m4a/mp4 to mp3 http://bit.ly/6VomGM [...]


  2. uberVU - social comments
    January 23rd, 2010 at 18:08

    Social comments and analytics for this post…

    This post was mentioned on Twitter by ovidiusoft: Post nou pe blog: Convert m4a/mp4 to mp3 http://bit.ly/6VomGM...


Leave a Reply

CommentLuv Enabledshow more

  • Abonează-te

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

  • Post-uri recente

    • Cine evaluează angajații?
    • Gala folk “Om bun”
    • Cum alegi un abonament la Internet pentru compania ta
    • Avem nevoie de bagaje standardizate
    • Invitație la Întâlnirea RLUG Martie ‘10
    • Departament de personal sau de resurse umane?
    • Do you sprache germană?
    • La ce poți folosi situl companiei?
    • Ce-am mai citit – Februarie 2010
    • Despre web, programatori și repetarea istoriei
  • Post-uri aletoare

    • Google Chrome pe Linux cu Wine
    • Mituri despre condusul iarna
    • Importanța perioadei de probă
    • Bere cu Cola
    • România, țară bananieră
    • Concert Mircea Baniciu
    • Ce-am mai citit - Octombrie 2009
    • Lepșa
    • Primul post pe blog-ul NOVIT!
    • Avem nevoie de bagaje standardizate
  • Norișorul de etichete

    angajare anunt auto banci bani blog blogging card carti cheat sheet cheie comentarii comunicare creta cv excursie google grecia hosting iarna idiot impozite intalnire internet interviu invitatie laptop linux mare munte muzica NOVIT orson scott card protocoale resurse umane rlug romania script server taxe transport tunisia twitter wordpress zapada
Copyright © 2010 Ovidiu's Box All Rights Reserved
Designed by i Software Reviews. Converted to 3 Columns by Ovidiu Constantin.
XHTML CSS Log in