maioways.blogg.se

Ffmpeg concat spaces in filename
Ffmpeg concat spaces in filename











ffmpeg concat spaces in filename

I believe I would need to provide the shell script the quoted form of the POSIX path of the variable, loc which I have done with set pLoc to quoted form of POSIX path of loc as string - converts loc to POSIX I am lost on how to use do Shell Script to make step 3 work

  • Execute Shell Script that does the followingĪ) Change Directory to path user provided in step 1 of the AppleScript appī) Creates list.txt file as outlined in working terminal command number 2Ĭ) Runs working terminal command number 3 while replacing output.mp4 to the variable, fileName.
  • Set fileName to text returned of (display dialog "Enter the Name of the Merged Clip" default answer "" with title "Name the Merged Clip") & ".mp4" -sets name of merged clip with.
  • Prompt the user to name the merged clip.
  • ffmpeg concat spaces in filename

    Set loc to choose folder with prompt "- Choose the folder containing your source media -" -sets the source directory

  • Prompt the user to locate the folder containing the clips they want to merge.
  • I assume the steps to create an app for an end user go as follows.

    ffmpeg concat spaces in filename

    I’ve never written a shell script or used do shell script in Script Debugger so I need help with the steps So I have the general steps figured out from a basic command line perspective. Have ffmpeg read the files from the list in step 2, concatenate them into a single file (in the same directory)įfmpeg -f concat -safe 0 -i list.txt -c copy output.mp4.I currently have found terminal commands that accomplish what I want to do but now I need to wrap it into an app that an end user can work with. I need a little help with the workflow here. Create an app via AppleScript that utilizes ffmpeg to concatenate multiple.













    Ffmpeg concat spaces in filename