Ripping a cd with many small tracks: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category: | [[Category: Audio]] | ||
==gstreamer recipes== | |||
===ripping a cd with many small tracks=== | |||
I bought | 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: | 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 | gst-launch cdparanoia ! lame ! filesink location=chapter01-02.mp3 | ||
===converting many small mp3s to one big one=== | |||
But what if I have already ripped the CD into those many small mp3 tracks? Can I put them back together after the fact? Perhaps I can: | |||
gst-launch filesrc location=*.mp3 ! 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 |
Latest revision as of 05:30, 19 October 2010
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
converting many small mp3s to one big one
But what if I have already ripped the CD into those many small mp3 tracks? Can I put them back together after the fact? Perhaps I can:
gst-launch filesrc location=*.mp3 ! 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