Coder Social home page Coder Social logo

Comments (5)

MattMcManis avatar MattMcManis commented on May 18, 2024

I generated a batch script for flac to mp3. I'm not sure how it generated that for you.

It looks like it's because of -acodec copy, should be -acodec libmp3lame.

cd "D:\Convert\FLAC\" && for %f in (*.flac) do (echo) && "C:\Applications\Axiom.FFmpeg\ffmpeg\bin\ffmpeg.exe" -y -i "D:\Convert\FLAC\%~f" -vn -sn -acodec libmp3lame -b:a 320k -ac 2 -joint_stereo 1 -map 0:a:0? -map_metadata 0 -id3v2_version 3 -threads 8 "D:\Convert\MP3\%~nf.mp3"

Steps:

  1. Press the 'Keep FFmpeg window open' Button
  2. Press Batch
  3. Type flac in extension box
  4. Press Input Button, Select flac folder
  5. Press Output Button, Select mp3 folder
  6. Choose Format mp3
  7. Choose Audio 320
  8. Press Script

I've also updated the program, fixing 2 bugs.
https://github.com/MattMcManis/Axiom/releases/download/v1.0.3.0-alpha/Axiom.zip

from axiom.

PhilMurwin avatar PhilMurwin commented on May 18, 2024

Now I'm not sure how it generated that for me. I just tried it and it generated the same script you've posted. It still didn't really want to work for me.

I'm on Windows 10 and it doesn't appear to like the cd at the beginning. I was able to navigate to the correct directory manually and then run the rest of the script (starting with for) and it appears to have worked wonderfully.

It appears that the cd might work with a /d
cd /d "D:\Convert\FLAC"

Either way with your tips etc above I've now been able to convert the files I was trying to convert. Many thanks!

from axiom.

MattMcManis avatar MattMcManis commented on May 18, 2024

It may have to do if Axiom.exe is on C:\ Drive and your Convert folder is on D:\ Drive.

I can change to it always generate cd as cd /d if that will fix it.

from axiom.

PhilMurwin avatar PhilMurwin commented on May 18, 2024

I did a couple quick tests and it looks like the /d works fine regardless if you're changing drive and directory or just the directory while staying on the same drive.

It looks like the /d switch has been around since Windows XP so it seems like a pretty safe change.

Whether you make that change or not you can go ahead and close this issue as far as I'm concerned. Thanks again. πŸ‘

from axiom.

MattMcManis avatar MattMcManis commented on May 18, 2024

Thanks, I will add it in the next update.

from axiom.

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.