Git Product home page Git Product logo

Comments (10)

eibol avatar eibol commented on May 24, 2024

I don't understand this question. With relative path "..\FFBatch" output file is saved on a subfolder FFBatch from source path.
Source: C:\My Music\file1.wav Destination: C:\My Music\FFBatch\file1.opus

And lilke this with every input file.
C:\My Music\folder2\file2.wav => C:\My Music\folder2\FFBatch\file2.opus

You can also select an absolute output path, like C:\Destination, and enabling "Recreate source path":
C:\My Music\file1.wav -------------> C:\Destination\My Music\file1.opus
C:\My Music\folder2\file2.wav -----> C:\Destination\My Music\folder2\file2.opus

Is that ok?

from ffmpeg_batch.

PhoenixIV avatar PhoenixIV commented on May 24, 2024

Ah, nice hint with the "Recreate source path"!

What I mean: The "../" notation means "Go up one folder". So if the path is "..\FFBatch" my idea has been that the new "FFBatch" folder is gonna be above the current (Folder "Music" and "FFBatch" next to each other in the same parent ../ directory).
For "create a subdirectory" I would expect the path to be just "FFBatch", or maybe "<Source folder>\FFBatch". I do not know how to explain better.
Maybe as question: Why is there "..\" at the beginning of the output path?

from ffmpeg_batch.

eibol avatar eibol commented on May 24, 2024

The ..\ is just a way of representing a relative path, relative to a previous, input source, path. There's no other reason.

from ffmpeg_batch.

PhoenixIV avatar PhoenixIV commented on May 24, 2024

https://stackoverflow.com/questions/45573065/get-relative-path-of-a-parents-subfolder

  1. Paths starting with name of a directory or a file name are relative to current directory.
  2. Paths starting with .\ are also relative to current directory.
  3. Paths starting with ..\ reference the parent directory of current directory.

from ffmpeg_batch.

eibol avatar eibol commented on May 24, 2024

You're right, I'll see to change it on next release.
Thanks.

from ffmpeg_batch.

eibol avatar eibol commented on May 24, 2024

This patched executable should display properly.

from ffmpeg_batch.

PhoenixIV avatar PhoenixIV commented on May 24, 2024

Yaaaay ❤❤❤
Can the ../ (folder up) path be used, too?

from ffmpeg_batch.

eibol avatar eibol commented on May 24, 2024

That I will assess for next release.

from ffmpeg_batch.

PhoenixIV avatar PhoenixIV commented on May 24, 2024

Thanks @eibol
I was more curious about ../ than really needing it right now. Doesn't Windows take care of it?
However, thanks for the app in general, it makes life easier with my music library!

from ffmpeg_batch.

eibol avatar eibol commented on May 24, 2024

You're welcome. Very happy for that.
I'm not aware of Windows handling paths with relative characters like that, It's tricky because of slight differences between ffmpeg and Windows handling paths.

from ffmpeg_batch.

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.