Ripping a cd with many small tracks: Difference between revisions

From finninday
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category: Computers]]
[[Category: Computers]]
==gstreamer recipes==


 
===ripping a cd with many small tracks===
I bought an audio book on cd that I want to play from my mp3 library. But it is annoyingly broken into a million tracks, each one minute long.
I bought an audio book on cd that I want to play from my mp3 library. But it is annoyingly broken into a million tracks, each one minute long.


Line 7: Line 8:


  gst-launch cdparanoia ! lame ! filesink location=chapter01-02.mp3
  gst-launch cdparanoia ! lame ! filesink location=chapter01-02.mp3
===playing an mp3 stream over http===
gst-launch gnomevfssrc location=http://stream1.opb.org:80/opbmusic64.mp3 ! mad ! audioconvert ! osssink

Revision as of 20:38, 15 September 2009

gstreamer recipes

ripping a cd with many small tracks

I bought an audio book on cd that I want to play from my mp3 library. But it is annoyingly broken into a million tracks, each one minute long.

I ripped the whole shebang (17 cds) into over 1,000 tracks. I was planning on going through the mess and using Audacity to glue together the tracks that break in the middle of a sentence. Boring. And error prone. Of course there is a better way. The first, and sufficient, better way I stumbled on is to use gstreamer to rip each cd into a single mp3 file. Perfect. Here’s the incantation:

gst-launch cdparanoia ! lame ! filesink location=chapter01-02.mp3

playing an mp3 stream over http

gst-launch gnomevfssrc location=http://stream1.opb.org:80/opbmusic64.mp3 ! mad ! audioconvert ! osssink