General Linux command and some common solution for Windows Subsystem for Linux
General Linux command and some common solution for Windows Subsystem for Linux
Use one of these:
SOME_PATH="/mnt/someProject/some path"
SOME_PATH='/mnt/someProject/some path'
SOME_PATH=/mnt/someProject/some\ path
For example, ffmpeg
executable is located at C:\Program Files\ffmpeg\bin\ffmpeg.exe
. Make sure that the path to this executable exist in Window's system variables:
System Properties > Advanced > Environment Variables... > System variables > Path
Then in the WSL terminal we just need to invoke it with file extension normally, like this:
ffmpeg.exe -i INPUT.MP4 -c copy -ss 00:00:02 -t 00:00:02 OUTPUT.MP4