I am trying to set up an embedded script to use ffmpeg to automatically process some videos. I am having trouble with the syntax with the way the embedded script works. I am a beginner with scripting so hopefully some one here can help me out. Here is the script I am typing in the embedded window:
(in the top box)
#!/bin/tcsh -f
(in the bottom box)
ffmpeg -i 1$ -vcodec mpeg4 -s 320x240 -b 300k -r 10 -acodec mp3 -ar 22050 -ab 64k -f avi 1$.avi
exit 0
I think that I am not sure how to use the 1$ thing properly. Here is what the log spits
out:
2009-05-11 16:41:52.344 (null)[0] dog.m4v: Rule Testing Rule matched.
2009-05-11 16:41:52.372 hazelfolderwatch[4218] Exception caught while executing shell script: launch path not accessible
2009-05-11 16:41:52.375 hazelfolderwatch[4218] [Error] Shell script failed: Error processing shell script on file /Test/dog.m4v.
Any help would be greatly appreciated.