[mythtv-users] Extract audio from HDTV MPEG2 stream to make audio CD
Richard Shaw
hobbes1069 at gmail.com
Thu Nov 20 05:00:59 UTC 2008
On Mon, Nov 17, 2008 at 8:23 PM, Boleslaw Ciesielski
<bolek-mythtv at curl.com>wrote:
> On Mon, Nov 17, 2008 at 07:29:50PM -0600, Richard Shaw wrote:
> > I have a recording of "Soundstage" from my local PBS station that I would
> > like to extract the audio from and create an audio CD tracks (instead of
> one
> > big track). Has anyone else had a need for this? It's not something one
> > would need frequently but as the same time I think it would be a great
> > addition to MythArchive.
> >
> > I'm guessing the basic steps would be something like this:
> >
> > Extract Audio
> > Convert to 44.1KHz 2-channel audio (WAV)
> > Cut audio into "Tracks" (audacity) [1]
> > Burn (k3b)
> >
> > Anyone have suggestions? Especially for the first two steps?
>
> Try something like this:
>
> mplayer -vc null -vo null -ao pcm:file=track.wav:waveheader:fast -af
> resample=44100:0:2 -benchmark foo.mpg
Well I ended up finding out that ffmpeg handles this pretty well as well:
ffmpeg -i <infile>.mpg -f wav -ar 44100 -ac 2 <Audio_out>.wav
After that I pulled it into audacity which after a little learning curve
worked quite well. On my first attempt I exported each "track" as a separate
file which worked, but doesn't really allow for gapless burning. After a
little more research I found out I could export to modified .wav file as a
single file (spliced in a few places, normalized, and a few fade in/outs)
and then export the "Label" track which with the help of a little utility,
label2cue, created a .cue file.
Unfortunately, as much as I like k3b, it does something very bad here. It
will read the .cue file fine but if I try to write to an image file, it does
not create a .iso, it hacks up the .wav file into separate .wav files by
track when I went to all the trouble in audacity to get a continuous .wav
file. k3b does not appear to be gapless recording friendly.
I found a forum post which suggested using gcdmaster which apparently is the
official frontend to cdrdao and supports gapless burning in DAO mode, but it
does not appear to have a "write to image" option nor did it find my burner.
Anyway, that's where I'm at right now.
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081119/f7cb4f7d/attachment.htm
More information about the mythtv-users
mailing list