En este artículo voy a demostrar cómo convertir audio desde el formato "ape" a "mp3" en modo batch (trabajando por lotes) utilizando ffmpeg
.
A veces cuando compramos un álbum, viene en formato "ape". Monkey's Audio es un formato de archivo para comprimir información de audio. Siendo un formato de compresión sin pérdida, Monkey’s Audio no elimina información como hacen los formatos de compresión con pérdida (MP3, AAC y Vorbis).
El problema con estos formatos sin pérdida es que los archivos ocupan mucho tamaño. Además Monkey's Audio no es software libre y oficialmente sólo está soportado bajo Windows. Pero afortunadamente la suite ffmpeg tiene la capacidad de decodificar este formato.
En general, convertir a cualquier formato con ffmpeg es una tarea trivial, ya que reconoce automáticamente los formatos de archivo de entrada y salida de acuerdo a su extensión y tipo de archivo, el resto de los (miles de) parámetros son opcionales. Lo difícil es hacer esta tarea en modo batch (por lotes, de a muchos archivos en una sola vez), ya que el nombre del archivo de salida no se genera automáticamente sino que debe especificarse de forma manual, en cada línea de comando de ffmpeg. Por ello decidí escribir un pequeño script que lleve la tarea a cabo mientras me relajo leyendo mails de logwatch.
A modo de ejemplo voy a utilizar un disco de grandes éxitos de la banda británica "Duran Duran":
[emi@hal9000 Duran Duran - Greatest]$ ls -lh total 527M -rw-rw-r-- 1 emi emi 29M Jul 27 2006 01 - Is There Something I Should Know.ape -rw-rw-r-- 1 emi emi 32M Jul 27 2006 02 - Reflex.ape -rw-rw-r-- 1 emi emi 24M Jul 27 2006 03 - View To A Kill.ape -rw-rw-r-- 1 emi emi 32M Jul 27 2006 04 - Ordinary World.ape -rw-rw-r-- 1 emi emi 26M Jul 27 2006 05 - Save A Prayer.ape -rw-rw-r-- 1 emi emi 35M Jul 27 2006 06 - Rio.ape -rw-rw-r-- 1 emi emi 24M Jul 27 2006 07 - Hungry Like The Wolf.ape -rw-rw-r-- 1 emi emi 23M Jul 27 2006 08 - Girls On Film.ape -rw-rw-r-- 1 emi emi 24M Jul 27 2006 09 - Planet Earth.ape -rw-rw-r-- 1 emi emi 30M Jul 27 2006 10 - Union Of The Snake.ape -rw-rw-r-- 1 emi emi 29M Jul 27 2006 11 - New Moon On Monday.ape -rw-rw-r-- 1 emi emi 28M Jul 27 2006 12 - Wild Boys.ape -rw-rw-r-- 1 emi emi 29M Jul 27 2006 13 - Notorious.ape -rw-rw-r-- 1 emi emi 25M Jul 27 2006 14 - I Don't Want Your Love.ape -rw-rw-r-- 1 emi emi 29M Jul 27 2006 15 - All She Wants Is.ape -rw-rw-r-- 1 emi emi 29M Jul 27 2006 16 - Electric Barbarella.ape -rw-rw-r-- 1 emi emi 26M Jul 27 2006 17 - Serious.ape -rw-rw-r-- 1 emi emi 32M Jul 27 2006 18 - Skin Trade.ape -rw-rw-r-- 1 emi emi 31M Jul 27 2006 19 - Come Undone.ape -rw-rw-r-- 1 emi emi 137 Jun 12 13:34 ape2mp3.sh -rw-rw-r-- 1 emi emi 1.2K Jan 24 2008 audiochecker.log -rw-rw-r-- 1 emi emi 12K Jun 30 2006 Greatest.jpg
Se observa que los archivos están en formato APE, y cada uno ocupa más de 20~30 MB (mucho para lo poco que me queda disponible en la SD de mi teléfono). Para convertir todos los archivos a MP3 "de un saque", manteniendo el nombre de archivo original pero con la extensión ".mp3", creé el siguiente script Bash:
#!/bin/bash ls -1 *.ape > tracklist.txt sed -i 's/.ape$//' tracklist.txt while read TRACK do ffmpeg -i "$TRACK.ape" -ab 256k "$TRACK.mp3" < /dev/null done < tracklist.txt rm -f tracklist.txt
Básicamente guarda todos los nombres de las canciones (sin la extensión ".ape") en un archivo, y luego las convierte a MP3 con alta calidad (256 kbit por segundo, mejor de lo que cualquier oído puede discriminar si me preguntan).
Antes de ejecutar el script es necesario otorgarle permisos de ejecución:
[emi@hal9000 Duran Duran - Greatest]$ chmod +x ape2mp3.sh
Luego ejecutar el script. El mismo detecta automáticamente sólo los archivos con extensión ".ape" y los convierte a MP3 preservando el nombre:
[emi@hal9000 Duran Duran - Greatest]$ ./ape2mp3.sh ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '01 - Is There Something I Should Know.ape': Metadata: Title : Is There Something I Should Know Artist : Duran Duran Album : Greatest Track : 1 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:10.35, start: 0.000000, bitrate: 958 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '01 - Is There Something I Should Know.mp3': Metadata: TIT2 : Is There Something I Should Know TPE1 : Duran Duran TALB : Greatest TRCK : 1 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 7826kB time=00:04:10.40 bitrate= 256.0kbits/s video:0kB audio:7825kB global headers:0kB muxing overhead 0.013653% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '02 - Reflex.ape': Metadata: Title : Reflex Artist : Duran Duran Album : Greatest Track : 2 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:23.94, start: 0.000000, bitrate: 990 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '02 - Reflex.mp3': Metadata: TIT2 : Reflex TPE1 : Duran Duran TALB : Greatest TRCK : 2 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8253kB time=00:04:24.07 bitrate= 256.0kbits/s video:0kB audio:8252kB global headers:0kB muxing overhead 0.012639% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '03 - View To A Kill.ape': Metadata: Title : View To A Kill Artist : Duran Duran Album : Greatest Track : 3 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:03:34.93, start: 0.000000, bitrate: 900 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '03 - View To A Kill.mp3': Metadata: TIT2 : View To A Kill TPE1 : Duran Duran TALB : Greatest TRCK : 3 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 6719kB time=00:03:34.98 bitrate= 256.0kbits/s video:0kB audio:6718kB global headers:0kB muxing overhead 0.015640% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '04 - Ordinary World.ape': Metadata: Title : Ordinary World Artist : Duran Duran Album : Greatest Track : 4 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:42.64, start: 0.000000, bitrate: 939 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '04 - Ordinary World.mp3': Metadata: TIT2 : Ordinary World TPE1 : Duran Duran TALB : Greatest TRCK : 4 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8837kB time=00:04:42.74 bitrate= 256.0kbits/s video:0kB audio:8836kB global headers:0kB muxing overhead 0.011892% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '05 - Save A Prayer.ape': Metadata: Title : Save A Prayer Artist : Duran Duran Album : Greatest Track : 5 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:03:47.36, start: 0.000000, bitrate: 931 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '05 - Save A Prayer.mp3': Metadata: TIT2 : Save A Prayer TPE1 : Duran Duran TALB : Greatest TRCK : 5 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 7109kB time=00:03:47.44 bitrate= 256.0kbits/s video:0kB audio:7108kB global headers:0kB muxing overhead 0.014770% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '06 - Rio.ape': Metadata: Title : Rio Artist : Duran Duran Album : Greatest Track : 6 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:45.04, start: 0.000000, bitrate: 1006 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '06 - Rio.mp3': Metadata: TIT2 : Rio TPE1 : Duran Duran TALB : Greatest TRCK : 6 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8913kB time=00:04:45.17 bitrate= 256.0kbits/s video:0kB audio:8912kB global headers:0kB muxing overhead 0.011670% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '07 - Hungry Like The Wolf.ape': Metadata: Title : Hungry Like The Wolf Artist : Duran Duran Album : Greatest Track : 7 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:03:25.11, start: 0.000000, bitrate: 974 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '07 - Hungry Like The Wolf.mp3': Metadata: TIT2 : Hungry Like The Wolf TPE1 : Duran Duran TALB : Greatest TRCK : 7 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 6415kB time=00:03:25.24 bitrate= 256.0kbits/s video:0kB audio:6414kB global headers:0kB muxing overhead 0.016474% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '08 - Girls On Film.ape': Metadata: Title : Girls On Film Artist : Duran Duran Album : Greatest Track : 8 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:03:27.72, start: 0.000000, bitrate: 899 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '08 - Girls On Film.mp3': Metadata: TIT2 : Girls On Film TPE1 : Duran Duran TALB : Greatest TRCK : 8 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 6495kB time=00:03:27.80 bitrate= 256.0kbits/s video:0kB audio:6494kB global headers:0kB muxing overhead 0.016166% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '09 - Planet Earth.ape': Metadata: Title : Planet Earth Artist : Duran Duran Album : Greatest Track : 9 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:03:57.50, start: 0.000000, bitrate: 844 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '09 - Planet Earth.mp3': Metadata: TIT2 : Planet Earth TPE1 : Duran Duran TALB : Greatest TRCK : 9 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 7427kB time=00:03:57.63 bitrate= 256.0kbits/s video:0kB audio:7426kB global headers:0kB muxing overhead 0.014123% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '10 - Union Of The Snake.ape': Metadata: Title : Union Of The Snake Artist : Duran Duran Album : Greatest Track : 10 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:22.06, start: 0.000000, bitrate: 943 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '10 - Union Of The Snake.mp3': Metadata: TIT2 : Union Of The Snake TPE1 : Duran Duran TALB : Greatest TRCK : 10 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8194kB time=00:04:22.16 bitrate= 256.0kbits/s video:0kB audio:8193kB global headers:0kB muxing overhead 0.012885% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '11 - New Moon On Monday.ape': Metadata: Title : New Moon On Monday Artist : Duran Duran Album : Greatest Track : 11 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:16.00, start: 0.000000, bitrate: 945 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '11 - New Moon On Monday.mp3': Metadata: TIT2 : New Moon On Monday TPE1 : Duran Duran TALB : Greatest TRCK : 11 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8004kB time=00:04:16.07 bitrate= 256.0kbits/s video:0kB audio:8002kB global headers:0kB muxing overhead 0.013192% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '12 - Wild Boys.ape': Metadata: Title : Wild Boys Artist : Duran Duran Album : Greatest Track : 12 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:17.25, start: 0.000000, bitrate: 881 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '12 - Wild Boys.mp3': Metadata: TIT2 : Wild Boys TPE1 : Duran Duran TALB : Greatest TRCK : 12 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8044kB time=00:04:17.38 bitrate= 256.0kbits/s video:0kB audio:8043kB global headers:0kB muxing overhead 0.013016% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '13 - Notorious.ape': Metadata: Title : Notorious Artist : Duran Duran Album : Greatest Track : 13 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:00.84, start: 0.000000, bitrate: 996 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '13 - Notorious.mp3': Metadata: TIT2 : Notorious TPE1 : Duran Duran TALB : Greatest TRCK : 13 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 7530kB time=00:04:00.92 bitrate= 256.0kbits/s video:0kB audio:7529kB global headers:0kB muxing overhead 0.013905% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '14 - I Don't Want Your Love.ape': Metadata: Title : I Don't Want Your Love Artist : Duran Duran Album : Greatest Track : 14 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:03:47.99, start: 0.000000, bitrate: 907 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '14 - I Don't Want Your Love.mp3': Metadata: TIT2 : I Don't Want Your Love TPE1 : Duran Duran TALB : Greatest TRCK : 14 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 7129kB time=00:03:48.10 bitrate= 256.0kbits/s video:0kB audio:7128kB global headers:0kB muxing overhead 0.014865% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '15 - All She Wants Is.ape': Metadata: Title : All She Wants Is Artist : Duran Duran Album : Greatest Track : 15 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:26.76, start: 0.000000, bitrate: 906 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '15 - All She Wants Is.mp3': Metadata: TIT2 : All She Wants Is TPE1 : Duran Duran TALB : Greatest TRCK : 15 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8341kB time=00:04:26.86 bitrate= 256.0kbits/s video:0kB audio:8340kB global headers:0kB muxing overhead 0.012635% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '16 - Electric Barbarella.ape': Metadata: Title : Electric Barbarella Artist : Duran Duran Album : Greatest Track : 16 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:17.14, start: 0.000000, bitrate: 917 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '16 - Electric Barbarella.mp3': Metadata: TIT2 : Electric Barbarella TPE1 : Duran Duran TALB : Greatest TRCK : 16 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8039kB time=00:04:17.22 bitrate= 256.0kbits/s video:0kB audio:8038kB global headers:0kB muxing overhead 0.013145% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '17 - Serious.ape': Metadata: Title : Serious Artist : Duran Duran Album : Greatest Track : 17 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:03:56.87, start: 0.000000, bitrate: 907 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '17 - Serious.mp3': Metadata: TIT2 : Serious TPE1 : Duran Duran TALB : Greatest TRCK : 17 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 7405kB time=00:03:56.93 bitrate= 256.0kbits/s video:0kB audio:7404kB global headers:0kB muxing overhead 0.014113% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '18 - Skin Trade.ape': Metadata: Title : Skin Trade Artist : Duran Duran Album : Greatest Track : 18 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:26.03, start: 0.000000, bitrate: 985 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '18 - Skin Trade.mp3': Metadata: TIT2 : Skin Trade TPE1 : Duran Duran TALB : Greatest TRCK : 18 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 8316kB time=00:04:26.08 bitrate= 256.0kbits/s video:0kB audio:8315kB global headers:0kB muxing overhead 0.012602% ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, ape, from '19 - Come Undone.ape': Metadata: Title : Come Undone Artist : Duran Duran Album : Greatest Track : 19 Year : 2004 Genre : Rock Comment : Exact Audio Copy Publisher : Emi Encoder : Monkey's Audio v3.99 (High) Album Artist : Duran Duran Duration: 00:04:15.26, start: 0.000000, bitrate: 987 kb/s Stream #0:0: Audio: ape (APE / 0x20455041), 44100 Hz, stereo, s16 Output #0, mp3, to '19 - Come Undone.mp3': Metadata: TIT2 : Come Undone TPE1 : Duran Duran TALB : Greatest TRCK : 19 Year : 2004 TCON : Rock Comment : Exact Audio Copy TPUB : Emi Album Artist : Duran Duran TSSE : Lavf53.32.100 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (ape -> libmp3lame) Press [q] to stop, [?] for help size= 7981kB time=00:04:15.37 bitrate= 256.0kbits/s video:0kB audio:7980kB global headers:0kB muxing overhead 0.013143%
El tamaño de cada archivo se reduce considerablemente, preservando la calidad de audio:
[emi@hal9000 Duran Duran - Greatest]$ ls -lh total 671M -rw-rw-r-- 1 emi emi 29M Jul 27 2006 01 - Is There Something I Should Know.ape -rw-rw-r-- 1 emi emi 7.7M Jun 12 14:06 01 - Is There Something I Should Know.mp3 -rw-rw-r-- 1 emi emi 32M Jul 27 2006 02 - Reflex.ape -rw-rw-r-- 1 emi emi 8.1M Jun 12 14:06 02 - Reflex.mp3 -rw-rw-r-- 1 emi emi 24M Jul 27 2006 03 - View To A Kill.ape -rw-rw-r-- 1 emi emi 6.6M Jun 12 14:06 03 - View To A Kill.mp3 -rw-rw-r-- 1 emi emi 32M Jul 27 2006 04 - Ordinary World.ape -rw-rw-r-- 1 emi emi 8.7M Jun 12 14:06 04 - Ordinary World.mp3 -rw-rw-r-- 1 emi emi 26M Jul 27 2006 05 - Save A Prayer.ape -rw-rw-r-- 1 emi emi 7.0M Jun 12 14:06 05 - Save A Prayer.mp3 -rw-rw-r-- 1 emi emi 35M Jul 27 2006 06 - Rio.ape -rw-rw-r-- 1 emi emi 8.8M Jun 12 14:07 06 - Rio.mp3 -rw-rw-r-- 1 emi emi 24M Jul 27 2006 07 - Hungry Like The Wolf.ape -rw-rw-r-- 1 emi emi 6.3M Jun 12 14:07 07 - Hungry Like The Wolf.mp3 -rw-rw-r-- 1 emi emi 23M Jul 27 2006 08 - Girls On Film.ape -rw-rw-r-- 1 emi emi 6.4M Jun 12 14:07 08 - Girls On Film.mp3 -rw-rw-r-- 1 emi emi 24M Jul 27 2006 09 - Planet Earth.ape -rw-rw-r-- 1 emi emi 7.3M Jun 12 14:07 09 - Planet Earth.mp3 -rw-rw-r-- 1 emi emi 30M Jul 27 2006 10 - Union Of The Snake.ape -rw-rw-r-- 1 emi emi 8.1M Jun 12 14:07 10 - Union Of The Snake.mp3 -rw-rw-r-- 1 emi emi 29M Jul 27 2006 11 - New Moon On Monday.ape -rw-rw-r-- 1 emi emi 7.9M Jun 12 14:07 11 - New Moon On Monday.mp3 -rw-rw-r-- 1 emi emi 28M Jul 27 2006 12 - Wild Boys.ape -rw-rw-r-- 1 emi emi 7.9M Jun 12 14:07 12 - Wild Boys.mp3 -rw-rw-r-- 1 emi emi 29M Jul 27 2006 13 - Notorious.ape -rw-rw-r-- 1 emi emi 7.4M Jun 12 14:07 13 - Notorious.mp3 -rw-rw-r-- 1 emi emi 25M Jul 27 2006 14 - I Don't Want Your Love.ape -rw-rw-r-- 1 emi emi 7.0M Jun 12 14:08 14 - I Don't Want Your Love.mp3 -rw-rw-r-- 1 emi emi 29M Jul 27 2006 15 - All She Wants Is.ape -rw-rw-r-- 1 emi emi 8.2M Jun 12 14:08 15 - All She Wants Is.mp3 -rw-rw-r-- 1 emi emi 29M Jul 27 2006 16 - Electric Barbarella.ape -rw-rw-r-- 1 emi emi 7.9M Jun 12 14:08 16 - Electric Barbarella.mp3 -rw-rw-r-- 1 emi emi 26M Jul 27 2006 17 - Serious.ape -rw-rw-r-- 1 emi emi 7.3M Jun 12 14:08 17 - Serious.mp3 -rw-rw-r-- 1 emi emi 32M Jul 27 2006 18 - Skin Trade.ape -rw-rw-r-- 1 emi emi 8.2M Jun 12 14:08 18 - Skin Trade.mp3 -rw-rw-r-- 1 emi emi 31M Jul 27 2006 19 - Come Undone.ape -rw-rw-r-- 1 emi emi 7.8M Jun 12 14:08 19 - Come Undone.mp3 -rwxrwxr-x 1 emi emi 195 Jun 12 14:06 ape2mp3.sh -rw-rw-r-- 1 emi emi 1.2K Jan 24 2008 audiochecker.log -rw-rw-r-- 1 emi emi 12K Jun 30 2006 Greatest.jpg
Al final, si todo salió bien, sólo resta eliminar los archivos APE:
rm -f *.ape
Enjoy!