You are not logged in.

#1 2023-07-11 20:04:47

OrakMoya
Member
Registered: 2019-09-22
Posts: 69

Extract tracks from raw CD iso.

Hello,

I downloaded a raw CD iso image from archive.org, however I'm not sure how to extract the tracks. I've only managed to play the ISO with

mpv --demuxer=rawaudio image.iso

, but I'm not sure how to extract the audio on a track by track basis.

If needed, I can link the archive.org page with the ISO

Offline

#2 2023-07-11 21:09:24

latalante1
Member
Registered: 2018-08-30
Posts: 110

Re: Extract tracks from raw CD iso.

For example, in this way.

mpv --demuxer=rawaudio --ss=13:12.506 --endpos=3:20 --ao=pcm --ao-pcm-file=/tmp/test.wav cdaudio.bin

ISO image does not contain audio CD tracks.

Offline

#3 2023-07-12 07:45:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,213

Re: Extract tracks from raw CD iso.

The process of converting audio/video from the format used on CD / DVD media* is called ripping .

My personal favorite for this is K3B , but there are lots of other applications that can do that.
See https://wiki.archlinux.org/title/Optica … ve#Ripping .



* technically an iso image is just a container with a copy of a the content of a CD / DVD


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2023-07-12 12:45:12

latalante1
Member
Registered: 2018-08-30
Posts: 110

Re: Extract tracks from raw CD iso.

I thought it was about using mpv for this. It is not a dedicated tool for extracting individual tracks from a CD Audio image, but it can be done.

mpv cdda:// --cdrom-device=cdaudio.cue

It all depends on the format of this CD Audio image.
If it is Raw/Bin, the simplest and best tool for this will be bchunk.

bchunk -s -w cdaudio.bin cdaudio.cue track

Offline

#5 2023-07-12 13:49:03

teckk
Member
Registered: 2013-02-21
Posts: 525

Re: Extract tracks from raw CD iso.

From my notes:

1st song.

mplayer cdda://1 -ao pcm:file=file1.wav
ffmpeg -f libcdio -i /dev/sr0 file1.wav
cdparanoia 1

Edit:

mplayer cdda://1 -demuxer rawaudio -vc dummy -vo null -ao pcm:file=track1.wav

Last edited by teckk (2023-07-12 13:51:01)

Offline

#6 2023-07-12 14:04:17

latalante1
Member
Registered: 2018-08-30
Posts: 110

Re: Extract tracks from raw CD iso.

Only this is to apply to the audio cd image and not the physical medium. Of course, you can use cdemu earlier and use these examples.
While certainly not related to ffmpeg, under archlinux ffmpeg is built without libcdio support.

Offline

Board footer

Powered by FluxBB