OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Andi B. on August 30, 2015, 11:19:42 am

Title: Which program to use for ripping audio CDs to flac?
Post by: Andi B. on August 30, 2015, 11:19:42 am
Unfortunately jRipper packed by Ronald (rbri.org) does not work here. It seems to do exactly what I need. Simple front end, freedb, ripping into folder. Problem is it only rippes the first track of a CD. After that it hangs. Cancel button does not work too. Seems jRipper could not start the cdda2wav again for the second track and so waits endless. No difference between the java1.41 and java1.6 version.

Does jRipper work for anyone of you?

Which program do you use to rip CDs to flac?
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Holger Schuett on August 30, 2015, 04:56:41 pm
Hi there,

I never tried jripper, but I can recommend AvxCat, Works fine here for Flac too

Holger
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Ian Manners on August 30, 2015, 08:16:26 pm
Hi Andi,

jRipper works fine for me, currently using Java 1.6
have you edited the jRipper cmd file ?

The cdda2wav file I'm using is

24/08/07  19:38     218092           0  cdda2wav.exe

and the version of flac is

28/12/12  21:51    1030721           0  flac.exe

both are set in jrippers setup paths.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: rbri on August 31, 2015, 07:10:23 pm
Will have a look.

Somebody else out there using jRipper?

   RBRi
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: ivan on August 31, 2015, 07:25:40 pm
Hi Ian,

I have to ask, what cmd file?

The version I found is just a jar file with no setup instructions or usage information.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Ian Manners on August 31, 2015, 07:56:36 pm
Hi Ivan

The file is a reasonably normal cmd file for java apps, might not even be needed but note there is a setting for LookAndFeel

Ignore the 'SET DIRCMD=' at the top if you dont do strange things with your dir command line :)
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: rbri on August 31, 2015, 08:00:02 pm
The WPI installer should contain everything.

http://rbri.org/index.php?id=jripper

Hi Ivan

The file is a reasonably normal cmd file for java apps, might not even be needed but note there is a setting for LookAndFeel

Ignore the 'SET DIRCMD=' at the top if you dont do strange things with your dir command line :)
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: rbri on August 31, 2015, 08:01:28 pm
Was able to reproduce your problem. Will have a look, maybe there is a way to fix it.

    RBRi

Unfortunately jRipper packed by Ronald (rbri.org) does not work here. It seems to do exactly what I need. Simple front end, freedb, ripping into folder. Problem is it only rippes the first track of a CD. After that it hangs. Cancel button does not work too. Seems jRipper could not start the cdda2wav again for the second track and so waits endless. No difference between the java1.41 and java1.6 version.

Does jRipper work for anyone of you?

Which program do you use to rip CDs to flac?
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: ivan on August 31, 2015, 10:37:57 pm
Thanks Ian and RBRi.

When I get some time tonight I will have a little play.

BTW, The jRipper.jar I found was on SourceForge and looks nothing like the screen shots you have RBRi.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Dave Yeo on September 01, 2015, 12:19:53 am
Wouldn't it be simpler to go with a semi-native solution? Leechmp3 http://hobbes.nmsu.edu/download/pub/os2/apps/mmedia/sound/convert/leechmp3_340.zip (http://hobbes.nmsu.edu/download/pub/os2/apps/mmedia/sound/convert/leechmp3_340.zip) could easily be adapted for flac, we have the newest flac encoder available on Hobbes and even going with the quick and dirty method of renaming flac.exe to lame.exe should work.
If you are planning on using your flac files on audio hardware, it is probably safest to go with the reference encoder. FFmpeg for example can go to 12 (on a scale of 1-10) but not everything can decode such highly compressed flac files.
Probably faster then a Java solutions as well as once the CDDB info is downloaded it rips tracks and encodes in parallel.
I should test but I just noticed my DVD writer is not showing up anymore :(
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: rbri on September 01, 2015, 08:35:59 am
jRipper is only a frontend for the usual programs like lame, oggenc and cdda2wav. Personally i really like the simple ui and a program that only does his job without any whistles and bells. And only without fighting with strange command line parameters. (jRipper was written by dronten; i only did some fixes to work better on os/2)
If i'm able to find the bug i will update the webpage with some more info.

Wouldn't it be simpler to go with a semi-native solution? Leechmp3 http://hobbes.nmsu.edu/download/pub/os2/apps/mmedia/sound/convert/leechmp3_340.zip (http://hobbes.nmsu.edu/download/pub/os2/apps/mmedia/sound/convert/leechmp3_340.zip) could easily be adapted for flac, we have the newest flac encoder available on Hobbes and even going with the quick and dirty method of renaming flac.exe to lame.exe should work.
If you are planning on using your flac files on audio hardware, it is probably safest to go with the reference encoder. FFmpeg for example can go to 12 (on a scale of 1-10) but not everything can decode such highly compressed flac files.
Probably faster then a Java solutions as well as once the CDDB info is downloaded it rips tracks and encodes in parallel.
I should test but I just noticed my DVD writer is not showing up anymore :(
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: rbri on September 09, 2015, 07:49:42 am
Small update:
spend some time with debugging the hangs. Now i know where the program stops, but still have no idea why and what to do to make it work. Have to try some workaround. Cross your fingers.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Andi B. on September 10, 2015, 08:41:36 pm
Ian, I wonder if it really works for you for more than the 1 track?

I tried your versions of cdda2wav and flac with java1.6 and java1.41 but as said, it hangs after the first track.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Ian Manners on September 11, 2015, 06:24:01 pm
So far I've digitised 119 LP's to 32bit wave files, then used JRipper to convert them to FLAC for archiving, and MP3 for passing on to everyday listening.
Haven't had a single problem, well, not with flac conversion.

And after checking, over 184 CD's ripped to Flac and mp3's.

I still cant get David Parsons PMUniMixer binary to work, just tried the latest one from pmunimix-bin-0_70.zip (his latest one on hobbes).
I seem to have no problems with some programs that others do, and problems with programs that work fine for others.
To busy at present to worry about it when my older programs still do the job.

Added

ding ding

JRipper might be the program I had to edit out a directory seperater '\' somewhere in the code, I don't think it actually worked at all for flac originally but that might be a totally separate problem to yours if you can get it to work at least once, as I don't think mine worked at all in the beginning with ripping CD's to whatever, or maybe I'm thinking of something else entirely different.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Andi B. on October 22, 2015, 08:13:08 pm
I guess the problem is jripper starts both cdda2wav and flac at the same time - flac starts before cdda2wav has extracted the wav from CD. Maybe jripper does not get notified when flac is conversion is done and so does not start cdda2wav for the next track. But that's much guessing.

As a work around I now encode to wav and do the conversion to flac afterwards. So no need for jripper to control both cdda2wav and flac (or lame). This works.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Remy on October 24, 2015, 03:53:43 pm
Hi,

Why didn't you give a try to avxcat ?

You need  CDDVDRTOOLS or CDRTOOLS for included cdda2wav.exe (cdda2wav2.exe not compatible) optional tool be installed and then, run avxcat, select audio, open "add files", select your CD drive, add tracks into avxcat ( select flac profile ) and GO.

RD.

Added v1.3.5 test build     
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Andi B. on October 24, 2015, 07:26:34 pm
I tried it long ago but had problems. Anyway just test again. I do not see an option to select the output folder, is there any?

And can AVxCAT convert into subfolder with name of Album?

I've currently installed v1.2.5 - have to search for current version though.

Just tried 1.3.5 and seems to work. One problem View - Open target folder still opens e:\home\defaul\.avxcat instead the Target I selected.

Another problem is the font for 'Add files' 'Add dir' looks not very good. See attached picture.

The file/directory select dialog is kind of strange in my opinion. Maybe a CUA dialog or FOC would be a good choice.

Anyway thanks for you work on AVXCAT. Have to test more.



Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Remy on October 24, 2015, 09:34:42 pm
Thanks Andi

What is your screen size ?  ( it looks to mutch smaller than mine)
(may be I can add a view/hide icon text)

About the internal filemanager, it is done through drdialog and I had to use some tips to have a correct respons time.
May I change this under a future version.

"Open target folder still opens e:\home\defaul\.avxcat instead the Target I selected"
 oh!  I will check this quickly...

Remy
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Andi B. on October 24, 2015, 10:17:00 pm
Quote
What is your screen size ?
3840 x 1200 pixels (two displays), SNAP, AFAIK standard fonts sizes.

Quote
(may be I can add a view/hide icon text)
Not for me please. I'm a text guy, I can not work with icons. I need menus with text.

Btw. the about dialog does not show up in xcenter or task list. I can be hidden by other windows and AVxCAT does not respond to input as long as the (invisible) about dialog is not closed (need moving the other windows away to see it).

Just discovered the wrong Target folder will be used as long as you do not exit and restart AVxCAT. Seems you only read the 'Target folder' on program start but do not update when the user changes it afterwards.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Remy on October 24, 2015, 11:45:42 pm
Hi Andy

Thanks for the screen size information.
( I have 1600 x 1200 and font size is smaller )
 
What do you mean by the "about dialog" ?  ( can you email me a screenshot ? ) 

I did a few changes:
  - I removed the word "Add'" before Files and Dir  ( I think it is nor needed and text is better aligned )
  - I added an "Open" button to acces targetr folder directly
  - I changed the "Dir" button on the right of the target path by "Chg" used to chage target path location only
  - The "Chg" button works correctly again
  - Corrected a bug when using "Add dir"
  - Corrected a bug when changing path and adding new tracks into AVXCAT to be processed

Can you please try this update ? ( same name but once installed, version differs ) 
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Andi B. on December 20, 2015, 04:40:43 pm
Sorry for late reply, but here it is :)
Quote
What do you mean by the "about dialog" ?
See attachement. In this picture you see the 'not so good' font which is used for 'Files, Dir, Delete, Edit tags, Audio...' too

Some additional options which would be useful for me -
- clear Dir/File list after conversion
- running more profiles at once (with their own target folder). So I can rip a whole CD as 1) FLAC in folder s:\Musik\flac\AlbumTitle\. and at the same time as 2) MP3 in folder s:\Musik\mp3\AlbumTitle\. and at the same time as 3) BITSTREAM in folder s:\Musik\wav\AlbumTitle\.. Of course reading the data only once from CD to speed things up ;)

Another thing I found is while other rippers often give you choices for different tags (guess there are more than one at freedb.org) with AVxCAT I never saw such choice.

Btw. in the second attachment you see a minor issue - at line Add ID3tags Both is truncated. And another GUI problem are the buttons when you resize the parameters window in the last attachment.
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Remy on December 21, 2015, 11:31:15 pm
Thanks Andi,

It  looks like display under panorama and snap didn't provide the same result. I only have panorama
and provided pictures are helpfull. 

I'll check this.

I have a v1.3.6 in preparation with severals updates ( changing existing normalize processes - current supported ffmpeg do not have implemented normalize and external tools are used but now, output normalize volume can be adjusted, changing author display ... )

To answer your request:
"
- clear Dir/File list after conversion
- running more profiles at once (with their own target folder). So I can rip a whole CD as 1) FLAC in folder s:\Musik\flac\AlbumTitle\. and at the same time as 2) MP3 in folder s:\Musik\mp3\AlbumTitle\. and at the same time as 3) BITSTREAM in folder s:\Musik\wav\AlbumTitle\.. Of course reading the data only once from CD to speed things up
"
The dir/File list ( selected tracks in the container ) aren't cleared after conversion to allow you a new conversion type like what you would like. How to do ?
- Just mark again all tracks ( use RMB ) and then change the audio format and GO ( run conversion )
  No need to read again the CD and select tracks...

Of course, each new audio format,  tracks are read from the CD and not keep into memory  ;D
One solution would be to convert tracks into Flac and then use the Flac result to convert into other format.... !
( of course, a new conversion after a conversion may impact quality result )     

About tags source choice, I did several tests and only one produced accurate result and some other didn't work...
This can be changed to allow user to try other db .
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Remy on December 22, 2015, 01:14:48 am
Hi Andi,

Please, give a try to this beta build :
http://remydodin.levillage.org/outils/avxcat_136beta5.zip

It has new normalize options for which following tools package have to be installed under avxcat folder.
http://remydodin.levillage.org/outils/audiogain.zip   (only available during beta test periode)
To enable this changed process, you'll have to open advanced option for audio.
Note: When normalize is enabled, the volume gain is added or substracted from normal normalize output level instead ffmpeg volume.

Cheers/2   
Title: Re: Which program to use for ripping audio CDs to flac?
Post by: Remy on December 30, 2015, 02:26:37 am
Are any tester available to give a try to AVxCAT V1.4.0 ALPHA  ( compatible with ffmpeg 2.1.5 ) ?
If you are interested, please send me an email from my home site to get this alpha build.
 
Alpha build means that you may find problems
2 known problems
- OGV and MPEG2 not working ( about OGV, it looks to be ffmpeg but more investigation is needed )

ffmpeg to try with it   
>> http://hobbes.nmsu.edu/download/pub/os2/apps/mmedia/ffmpeg-os2-r2_1_5-Fourier.zip

It has:
- latest found bugs under v1.3.x resolved
- display ffmpeg version under 'help'
- Added debug log on ffmpeg
  (warning, use it only in case conversion fails at start or the amount of messages may scratch avxcat)
   to enable it: - enable axtra log, go under parameters ans mark ffmpeg debug log. At end of session, parameter is removed
- video conversion uses multi threads which speed up the conversion ( you can specify auto or the number of threads (CPU core)
  This option is enabled with ffmpeg 2.1.5 and disable under older ffmpeg ...
  note: very fast on MP4

After test, please, provide feedback using the email link on my web site and specify what was well tested.
e.g.
- audio conversion ( codec tried )
- audio to video conversion ( codec tried )
- multiple audio track with join
- video conversion
- video and mapping !
- create presentation out of videos
...   

Cheers/2
RD.