1. $ffmpeg -i ~/Music/Adele/19/First\ Love.mp3 -ac 1 -acodec pcm_u8 -ar 16k output.mp3
  2. ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
  3. built on Apr 2 2013 17:02:16 with gcc 4.7.2
  4. *** THIS PROGRAM IS DEPRECATED ***
  5. This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
  6. [mp3 @ 0x22fe980] max_analyze_duration reached
  7. Input #0, mp3, from '/home/w1z4rd/Music/Adele/19/First Love.mp3':
  8. Metadata:
  9. title : First Love
  10. artist : Adele
  11. album : 19
  12. genre : Pop
  13. composer : Adele Adkins
  14. track : 7/12
  15. disc : 1/1
  16. album_artist : Adele
  17. copyright : 2008 XL RECORDINGS LIMITED
  18. date : 2008
  19. Duration: 00:03:10.32, start: 0.000000, bitrate: 249 kb/s
  20. Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 245 kb/s
  21. Incompatible sample format 's16' for codec 'pcm_u8', auto-selecting format 'u8'
  22. [mp3 @ 0x23016c0] Unsupported sample rate.
  23. Output #0, mp3, to 'output.mp3':
  24. Metadata:
  25. TIT2 : First Love
  26. TPE1 : Adele
  27. TALB : 19
  28. TCON : Pop
  29. TCOM : Adele Adkins
  30. TRCK : 7/12
  31. TPOS : 1/1
  32. TPE2 : Adele
  33. TCOP : 2008 XL RECORDINGS LIMITED
  34. TDRL : 2008
  35. TSSE : Lavf53.21.1
  36. Stream #0.0: Audio: pcm_u8, 16000 Hz, 1 channels, u8, 128 kb/s
  37. Stream mapping:
  38. Stream #0.0 -> #0.0
  39. Press ctrl-c to stop encoding
  40. size= 2974kB time=190.33 bitrate= 128.0kbits/s
  41. video:0kB audio:2974kB global headers:0kB muxing overhead 0.007454%
  42. $ll ~/Music/Adele/19/First\ Love.mp3 output.mp3
  43. -rw-r--r-- 1 w1z4rd w1z4rd 5.7M Feb 27 2012 /home/w1z4rd/Music/Adele/19/First Love.mp3
  44. -rw-rw-r-- 1 w1z4rd w1z4rd 3.0M May 6 23:56 output.mp3