Giter VIP home page Giter VIP logo

Comments (5)

slhck avatar slhck commented on August 17, 2024

Thanks for reporting this. I am afraid this is not the entire debug log, can you please post the full one?

from ffmpeg-normalize.

mtbernier avatar mtbernier commented on August 17, 2024

FYI The complete debug file did not appear until I added the "-f" option to the commmand line. When you pipe the sreen output to a text file the file is empty. I had to copy the debug output from the screen and paste it in the attached text files.The location in the text files where you see 3 blank lines in a row, reprensent 200+, 200+ and 350+ respectively of blank lines of output on the screen . Minor flaws just an incxonvenience :-)
Afterglow-debug.txt
Daniel-Debug.txt

from ffmpeg-normalize.

slhck avatar slhck commented on August 17, 2024

Thanks for the logs!

When I read the first one I see:

DEBUG: Moving temporary file from C:\Users\mark\AppData\Local\Temp\tmpxqmk81jl\out.mp3 to normalized\Afterglow.mp3
DEBUG: Normalization finished
INFO: Normalized file written to normalized\Afterglow.mp3

C:\Users\mark\Music>

To me this implies that C:\Users\mark\Music\normalized\Afterglow.mp3 should have been created. There is nothing special about apostrophes and ampersands as far as I know, since I am forwarding the commands as-is to the Python subprocess functions, which take in just a file name and should do it in an OS-independent way. I don't have a Windows machine to test with at the moment though.

Note that the normalized folder is created relative to your current working directory, not relative to the file(s) you are processing.

If you get an error about the file already being there, are you 100% sure that it's not possibly another file with the same name already placed in the directory, e.g. from another album?

What you could do instead is specify the exact output file name directly in your batch file, and see if that works, i.e., use the -o option to specify explicitly where you want the file to be written. Does that work?

from ffmpeg-normalize.

mtbernier avatar mtbernier commented on August 17, 2024

I did fiind the "missing" files in a folder named "normalized" that is a subfolder of the folder where the batch file was run. My aapologies for my misunderstanding. The folder structure that I have is "Music\Album\ *.mp3". In the batch file I have a "cd pathname\album" command for each album in the Music folder, to make the Album folder the current one before executing the ffmpeg-normalized commands. The "cd" command was most likely affected by pathnames with apostrophes and ampersaands even though the pathname was contained in quotes Your suggestion to use the -o with complete pathname of the file works Thank you for your assistance

from ffmpeg-normalize.

slhck avatar slhck commented on August 17, 2024

Great, glad you figured out the issue.

from ffmpeg-normalize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.