Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path definition #8

Closed
Dogway opened this issue May 28, 2023 · 8 comments
Closed

Path definition #8

Dogway opened this issue May 28, 2023 · 8 comments

Comments

@Dogway
Copy link

Dogway commented May 28, 2023

Sorry to interrupt but I'm unable to make this work in almost all conditions in Windows.

Don't Work:
Error log: "You must specify a list of files when creating."
"D:\exepath\par2.exe" c -s5120000 -r5 -v "Q:\AnotherPath\PAR2\filename.par2" "Q:\FilePath\filename.mp4"
"D:\exepath\par2.exe" c -s5120000 -r5 -v -B "Q:\FilePath" "Q:\AnotherPath\PAR2\filename.par2" "filename.mp4"

Do Work:
"D:\exepath\par2.exe" c -s5120000 -r5 -v "filename.par2" "filename.mp4"
"D:\exepath\par2.exe" c -s5120000 -r5 -v "Q:\FilePath\filename.mp4"

In other words, I'm unable to choose where to save the par2 files.

@animetosho
Copy link
Owner

Could you please check if the issue persists with the upstream par2cmdline project, and if so, submit the issue there?

@Dogway
Copy link
Author

Dogway commented May 29, 2023

Just opened a ticket here Parchive#180
Anyway the program seems not maintained anymore, last build is over 3 years now.
Not sure if I should better switch fully to par3.

@animetosho
Copy link
Owner

Thanks!
Yeah, the current par2cmdline maintainers are looking for a new maintainer to carry on the role.

As a workaround to your problem, you can try changing the working directory to where you want the output PAR2 to be.
Alternatively, you can try ParPar (for create) or MultiPar (for Windows) clients, which are currently maintained.

@animetosho animetosho closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2023
@Dogway
Copy link
Author

Dogway commented May 30, 2023

As a workaround to your problem, you can try changing the working directory to where you want the output PAR2 to be.

How? As stated by default it saves on filename read path. And defining any output path triggers the error listed above. Looks like a design bug rather than a misusage?

Alternatively, you can try ParPar (for create) or MultiPar (for Windows) clients, which are currently maintained.

They don't work on CUDA. ParPar doesn't repair/verify and MultiPar is a GUI, I need a command line tool to run with BATCH/AHK/Python scripts for automation.

@animetosho
Copy link
Owner

animetosho commented May 30, 2023

How?

Something like (for your first example):

cd /D "Q:\AnotherPath\PAR2"
"D:\exepath\par2.exe" c -s5120000 -r5 -v "filename.par2" "Q:\FilePath\filename.mp4"

And yeah, it looks like a bug, hence this being a workaround.

They don't work on CUDA

par2cmdline doesn't support CUDA either, so I don't get your point.
MultiPar has OpenCL support though.

MultiPar is a GUI, I need a command line tool

MultiPar comes with the command-line par2j application.

@Dogway
Copy link
Author

Dogway commented May 30, 2023

cd /D "Q:\AnotherPath\PAR2"
"D:\exepath\par2.exe" c -s5120000 -r5 -v "filename.par2" "Q:\FilePath\filename.mp4"

As I said above this call doesn't work as you are defining the output argument:

Ignoring out of basepath source file: Q:\FilePath\filename.mp4
You must specify a list of files when creating.


par2cmdline doesn't support CUDA either, so I don't get your point.
MultiPar has OpenCL support though.

Ah yes, sorry, I mixed it with whisper which I'm also using it heavily back to back with par2

@animetosho
Copy link
Owner

As I said above this call doesn't work as you are defining the output argument:

Oh right, you'll need to supply the -B parameter then, so I guess something like:

cd /D "Q:\AnotherPath\PAR2"
"D:\exepath\par2.exe" c -s5120000 -r5 -v -B "Q:\FilePath" "filename.par2" "Q:\FilePath\filename.mp4"

(I never really liked the way par2cmdline does it's 'base path' thing)

@Dogway
Copy link
Author

Dogway commented May 30, 2023

Wow can't believe it, it worked. Convoluted AF. Would swear I tried this method as well, but anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants