title
Products            Buy            Support Forum            Professional            About            Codec Central
 

dBpoweramp Batch Ripper: Discussions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhoar
    dBpoweramp Guru

    • Sep 2006
    • 1173

    #31
    Re: dBpoweramp Batch Ripper: Discussions

    Spoon -

    I'm testing the robustness of the disc recognition routines in the alpha2 batch ripper. Specifically, I've got a stack of 100 data CDs and data CD-Rs to see how the batch ripper handles a "garbage in" situation.

    When the robot loads a non-audio disc, the batch ripper usually notices that the disc is not an audio disc and rejects it, calling the reject.exe. This seems to work fine with the dvd-rw drive in my baxter. Using some older LG CD drives in a Primera Composer Pro (with my own loader routines), sometimes the non-audio disc isn't recognized and instead of rejecting, the batch ripper calls for another load. This can lead to drive and/or disc damage due to multiple discs in a drive.

    I presume this is happening because the batch ripper doesn't think there is a disc in the drive at all. This might be dependent on drive-specific spin up times and format recognition routines, which is why we didn't run into it with the baxter using a Pioneer drive, but do run into it using the LG 52x CD drives.

    In diagnosing this, I updated my substitute-for-baxter executables to add a sleep command line option, and have added a 15 second sleep at the end of the load and tray close process before exiting back to the batch ripper. This seems to have cleared up 95% of the problem. However, I still do get occasional double data disc loads. I suspect that I could reduce it even more by adding more delay, but law of diminishing returns, or something.

    So...would it be possible for you to make the load.exe disc-detection routine a bit more robust? Perhaps some additional commands to the drive to double check the drive is really empty before asking for another load instead of calling for a reject?

    -brendan

    Comment

    • EliC
      dBpoweramp Guru

      • May 2004
      • 1175

      #32
      Re: dBpoweramp Batch Ripper: Discussions

      Can the ripper be set to reject audio cds with a book type for a CD-R or CD-RW?

      Comment

      • bhoar
        dBpoweramp Guru

        • Sep 2006
        • 1173

        #33
        Re: dBpoweramp Batch Ripper: Discussions

        Originally posted by bhoar
        So...would it be possible for you to make the load.exe disc-detection routine a bit more robust?
        Correction: clearly I *meant* to say:

        "So...would it be possible for you to make the post-load.exe disc-detection routine a bit more robust?"

        That is, when load.exe exits back to the batch ripper, the batch ripper should be smarter about recognizing that a disc that was loaded, even if it isn't the type expected or if the drive is still trying to identify the type.

        -brendan

        Comment

        • Spoon
          Administrator
          • Apr 2002
          • 44509

          #34
          Re: dBpoweramp Batch Ripper: Discussions

          >Can the ripper be set to reject audio cds with a book type for a CD-R or CD-RW?

          No

          --------

          bhoar:

          If a load fails (ie non audio disc) then it should always unload the disc and reject, you can try with one of those clear plastic things which are at the top and bottom of CD-R spindles.
          Spoon
          www.dbpoweramp.com

          Comment

          • RipTheWorld

            • Sep 2007
            • 25

            #35
            Re: dBpoweramp Batch Ripper: Discussions

            OK, realise this is the beta and I will be happy to send some feedback as and when I can.

            Is there a wish list for new features or anything like that?
            I have some requests which I would like to see integrated and some additions to the program lists which I am fairly certain would be of an advantage to everyone.

            Just a few things to start with:
            1. Sometimes doesn't look up a disc. Tried once and it was fine the next time round it didn't recognise it.
            2. Can't cancel the batch job, just seems to sit there and do nothing. I have to go through and kill the processes manually.
            3. Doesn't seem to be running at anything like fullspeed. I have it on a Quad Core with upto 6 drives and the highest the CPU usage goes is 15%. On my other software for the same codec its around 70-80%. I am guessing this is causing the really slow rip speeds I am seeing. I have opened up several copies of the standard CD ripper (as it would appear this is what BatchRipper does) and start several processes and it says that it is using all of the 4 cores and yet task manager shows barely any usage on each core. This machine can do around 100 CDs and hour normally. It would seem that some of the CoreConverter.exe processes get stuck and don't finish properly. It starts off pretty quickly and seems to get bogged down after a minute or so, then everything seems to grind to a halt.

            I'll leave it at those for now as they are the really big problems I can see.

            Just so its not all doom and gloom here is some of the stuff I like:
            1. The beep when there is an error (seriously, this is actually pretty useful)
            2. The way you can see what has happened with the discs that have been processed previously
            3. That it will do formats that alot of the alternatives won't

            Comment

            • bhoar
              dBpoweramp Guru

              • Sep 2006
              • 1173

              #36
              Re: dBpoweramp Batch Ripper: Discussions

              Originally posted by RipTheWorld
              2. Can't cancel the batch job, just seems to sit there and do nothing. I have to go through and kill the processes manually.
              The End Batch button only ends the batch when the currently loaded discs finish ripping.

              To force an End Batch to happen faster, with alpha2, I:

              1. Hit the End Batch button.
              2. For each drive, right click and tell it to skip/cancel the disc.
              2. For each drive, right click and tell it to skip/cancel the track.

              Originally posted by RipTheWorld
              3. Doesn't seem to be running at anything like fullspeed. I have it on a Quad Core with upto 6 drives and the highest the CPU usage goes is 15%. On my other software for the same codec its around 70-80%. I am guessing this is causing the really slow rip speeds I am seeing. I have opened up several copies of the standard CD ripper (as it would appear this is what BatchRipper does) and start several processes and it says that it is using all of the 4 cores and yet task manager shows barely any usage on each core. This machine can do around 100 CDs and hour normally. It would seem that some of the CoreConverter.exe processes get stuck and don't finish properly. It starts off pretty quickly and seems to get bogged down after a minute or so, then everything seems to grind to a halt.
              I suspect it's not the converter that is the delay but the cdgrab process that feeds it with the audio data being backlogged.

              Do you have the drives configured for secure ripping? If so, retry it using burst ripping instead. I've set my testing machines to burst ripping, since I'm looking for pure throughput (at the moment).

              If that goes quickly, then see if you can configure your drives for AccurateRip (if not done already). If you can't, anything but burst is going a lot slower.

              If you can, then enable Secure ripping and retest. Remember, secure ripping purposely rereads and will always take longer, unless the disc is both in the AccurateRip database *and* has matching results on the first burst rip. AccurateRip still has some big holes in it, so be aware that a lot of discs will be slow to rip regardless, at least the first couple of times that you rip them. If you come back months later and try again, they will rip faster if they are clean and defect free.

              Then enable ultra-secure ripping and retest.

              -brendan

              Comment

              • Spoon
                Administrator
                • Apr 2002
                • 44509

                #37
                Re: dBpoweramp Batch Ripper: Discussions

                If coreconverter is getting stuck, post the audio format you are encoding to and the Windows version you are using.
                Spoon
                www.dbpoweramp.com

                Comment

                • EliC
                  dBpoweramp Guru

                  • May 2004
                  • 1175

                  #38
                  Re: dBpoweramp Batch Ripper: Discussions

                  Originally posted by Spoon
                  >Can the ripper be set to reject audio cds with a book type for a CD-R or CD-RW?

                  No
                  Is there anything from preventing this feature from being added as an option?

                  Comment

                  • Spoon
                    Administrator
                    • Apr 2002
                    • 44509

                    #39
                    Re: dBpoweramp Batch Ripper: Discussions

                    Nothing preventing it, we do not have the code to query disc type in any of the communication methods.
                    Spoon
                    www.dbpoweramp.com

                    Comment

                    • RipTheWorld

                      • Sep 2007
                      • 25

                      #40
                      Re: dBpoweramp Batch Ripper: Discussions

                      Burst mode is the standard ripping method. Does burst mode have any error detection? My current software implements a halfway solution where it will notify of errors on tracks and do minor correction, but doesn't go down the full Secure rip route. I guess a process more similar to the CD Paranoia libraries. This seems to be the best trade-off for most bulk processors such as myself (speed vs. accuracy)

                      OK, have done a fairly extensive set of tests with different codecs and the conclusion is that none of the lossless codecs are performing very well. They appear to use all of the processing cores and seem to perform fairly well at the beginning, but as soon as there is a backlog of CoreConverter processes then things slow down pretty quickly. They quickly start using up a lot of memory (you'll need at least 2GB for 4+ drives) and with 5 drives going I had over 20 encoding processes with WML. Similar thing happens for all lossless codecs. This is all on XP btw.

                      I managed to get the program to delivery similar performance to the existing software that I have by using the following:
                      MP3 224Kbps CBR - Fast Encoding

                      As with any software changing this to higher settings will max out the CPU more and therefore reduce the performance more and powerAMP uses about 10-15% more CPU. That could be down to the LAME build or the way the audio is processed, ripped and encoded as 2 separate processes as opposed to ripped and immediately encoded out to the disc. I guess the first way could be better if the CPU can't cope with the data stream as it could slow the rip process down, but the second way has much lower memory requirements and won't choke the CPU with processes. It would be great to have the option to choose.

                      I ran the same set of discs maybe 30 times to do the comparisons and I was often getting discs not matching to a meta data entry. Even stranger is that it was always the same 2 discs, if it had been different ones I could have blamed it on not hitting the database.

                      Let me know if there is any other tests you need running.

                      Comment

                      • bhoar
                        dBpoweramp Guru

                        • Sep 2006
                        • 1173

                        #41
                        Re: dBpoweramp Batch Ripper: Discussions

                        Sounds like you're being forced into paging hell. Let's say for a 50 minute CD there are 10 tracks, each track is then ~50MB of audio data. So, each conversion thread needs 50MB of RAM for input data and, say, 35MB of RAM for output data. That's 85MB per thread. You're piling up 20 threads or 1.7GB of data feeding into or out of the core converters. Which is going to cause a lot of paging IO.

                        Perhaps there should be a memory-limited clamp on how many transcoding threads/processes can be queued at once?

                        -brendan

                        Comment

                        • peterfs

                          • Oct 2007
                          • 10

                          #42
                          Re: dBpoweramp Batch Ripper: Discussions

                          I just picked up a Sony XL1B3 changer and I'm trying to use this with batch ripper. The drive is recognized and it's able to rip the first CD I inserted, however the ripper is not sending the correct commands to eject the CD and load the subsequent ones; it loops on failure because it sees the CD as a duplicate of the previous.

                          I'm running Windows XP and I don't want have to use MCE or Vista in order to get the Sony SW working. Plus I think the dbPoweramp ripper is the coolest... :-) Is there anything I can do to help get this combination working?

                          Comment

                          • bhoar
                            dBpoweramp Guru

                            • Sep 2006
                            • 1173

                            #43
                            Re: dBpoweramp Batch Ripper: Discussions

                            Spoon is working on the changer support.

                            -brendan

                            Comment

                            • Spoon
                              Administrator
                              • Apr 2002
                              • 44509

                              #44
                              Re: dBpoweramp Batch Ripper: Discussions

                              Lossless codecs also heavily hit the hard discs, for example on a fast machine Wavpack can encode and write as fast as writing the uncompressed wav file, so if you have 4x drives encoding to multiple lossless then your drive will be the slowest point. A gigabit network with fast NAS drive, or some kind of raid array.

                              By default dBpoweramp would not multi core any lossless codec beause of the above, but if you are using the multi-encoder it can bypass that.

                              Metadata access currently is very limited (just relies on AMG), the final release will smart pick from 4 or 5 providers.
                              Spoon
                              www.dbpoweramp.com

                              Comment

                              • EliC
                                dBpoweramp Guru

                                • May 2004
                                • 1175

                                #45
                                Re: dBpoweramp Batch Ripper: Discussions

                                Originally posted by Spoon
                                Metadata access currently is very limited (just relies on AMG), the final release will smart pick from 4 or 5 providers.
                                will there be any interface to manually override "smart picks"

                                Comment

                                Working...

                                ]]>