phpvideotoolkit-v2 icon indicating copy to clipboard operation
phpvideotoolkit-v2 copied to clipboard

Support pre input -i with % in Windows OS

Open nhymxu opened this issue 10 years ago • 2 comments

Example: $process->addPreInputCommand('-i', $example_images_dir."P1110%d.jpg");

nhymxu avatar Aug 22 '15 08:08 nhymxu

Where is ===NXBYPASS=== being set?

buggedcom avatar Dec 29 '15 10:12 buggedcom

@buggedcom: using in str_replace. Replace all % character to ===NXBYPASS=== after escapeshellarg, replace ===NXBYPASS=== back to %. Because you can't run with escapeshellarg in Windows.

I tested and work well.

nhymxu avatar Dec 30 '15 08:12 nhymxu