title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Encoding multiple files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jerethi

    • Feb 2007
    • 10

    Encoding multiple files

    I've got another funny issue when I attempt to convert more than one file in a single job using a CLI encoder (i.e. I select two files in windows explorer and go to convert them). This may get a little confusing, so bear with me.

    All seems to go well for the first file. It converts, reports a file size, and has proper tags. When dbpoweramp starts the second file, I see that it creates the new file with the extension for the new format and that the size reports as 0, which as I understand it is what's supposed to happen when using the CLI encoder. However, when dbpoweramp begins to encode the second file, the file size of the first file drops to 0, and the audio of the second file is encoded under the filename of the first file! When the conversion is complete, the first file is actually the audio of the second file, with no tags. The second file reports a file size of 0, and won't play.

    There's a funny slight of hand occurring here, and I don't know how to fix it. Can anyone offer any help?
  • LtData
    dBpoweramp Guru

    • May 2004
    • 8288

    #2
    Re: Encoding multiple files

    I remember that this would happen when you were using the Multi-Encoder in dMC r11.5 if you were encoding the same file using two different settings for the same codec.

    Comment

    • jerethi

      • Feb 2007
      • 10

      #3
      Re: Encoding multiple files

      Thanks for the reply. I should've included more detailed information in my initial post. I am using the latest version of dbpoweramp (R12) and the settings for both files are the same.

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44575

        #4
        Re: Encoding multiple files

        What is your command line?
        Spoon
        www.dbpoweramp.com

        Comment

        • LtData
          dBpoweramp Guru

          • May 2004
          • 8288

          #5
          Re: Encoding multiple files

          I meant that a similar thing would happen with the Multi-Encoder from r11.5. Sorry if I confused you.

          Comment

          • jerethi

            • Feb 2007
            • 10

            #6
            Re: Encoding multiple files

            I'm using the CLI Encoder plugin to encode Ogg Vorbis R1 files. I'm using the following command line:

            "-q 0 [infile] [outfile]"

            Frequency, bits, and channels are set to "leave" and high quality decoder source, pass wave header, and dB Write ID tags are checked. I have also installed the Ogg Vorbis codec in order to enable tag writing.

            Comment

            • jerethi

              • Feb 2007
              • 10

              #7
              Re: Encoding multiple files

              Actually, now that there is a beta version of the Ogg Vorbis aoTuV b5 codec, I've been using that and this issue seems to have been resolved!

              I would still appreciate any thoughts as to why this happened and any possible solutions, just in case I need to use another CLI encoder in the future.
              Last edited by jerethi; February 14, 2007, 05:48 AM.

              Comment

              • Spoon
                Administrator
                • Apr 2002
                • 44575

                #8
                Re: Encoding multiple files

                > "-q 0 [infile] [outfile]"

                Use the pipes:

                -q 0 - "[outfile]"

                or

                -q 0 "[infile]" "[outfile]"
                Spoon
                www.dbpoweramp.com

                Comment

                • LtData
                  dBpoweramp Guru

                  • May 2004
                  • 8288

                  #9
                  Re: Encoding multiple files

                  This happened because you are running two instances of dMC, which wanted to use the same temporary file dmcout for the encoders. This resulted in the second instance of the file overwriting the first instance.

                  Comment

                  Working...

                  ]]>