R3S3t9999 / DoVi_Scripts

User-friendly / drag & drop scripts to process any HDR / Dolby Vision files and more...
172 stars 6 forks source link

"Error - 2 input names specified, please check usage" - Lines 7688 and 7709 - Fix included #47

Closed Crosis47 closed 1 week ago

Crosis47 commented 3 weeks ago

When running the new v3.0.3 release I get the error "Error - 2 input names specified, please check usage". I turned on echoes throughout the script and racked my brain for a while to find the source of this error. The issue appears to be the trailing "\" on the temp folder path. If I copy the command from the console and run it after removing the trailing "\", the command runs as expected. This appears to be a limitation in the way the new mp4box exe parses directory container paths.

Resultant command in script with echoes: image

Fixed command with "\" removed. image

As it does not seem to cause issue with anything but mp4box, I believe your easiest solution for this is to update lines 7688 and 7709 to use the below in place of %TEMP%. %TEMP:~0,-1%

This will remove the trailing "\" for mp4box without affecting any other code throughout the script. I have made this change to my copy of the script and it now runs through all processes as expected.

R3S3t9999 commented 3 weeks ago

thanks, I'll check it out...

Not sure why it's using mp4box since your input doesn't have lossless audio or subtitles. It should only use the mp4muxer which is what it does on my end... Do you have sample of your file? it shouldn't use mp4box at all..

Capture d’écran 2024-11-09 100532

R3S3t9999 commented 3 weeks ago

fixed in BETA just rename to MP4

Crosis47 commented 3 weeks ago

Not sure why it's using mp4box since your input doesn't have lossless audio or subtitles. It should only use the mp4muxer which is what it does on my end... Do you have sample of your file? it shouldn't use mp4box at all..

My input actually has subtitles, I just have the script set not to mux them. So I assume the logic is dictated by whether the original input file has subs, not whether they are included in the mux.