I have no idea how to execute your script! :-[ (Double clicking it launches a text editor. Dragging it into the terminal window produces this:)
TERMINAL:
root@CarrDesktop:/home/michael# '/home/michael/Videos/Test/encode.sh'
bash: /home/michael/Videos/Test/encode.sh: Permission denied
I presume you renamed the script to encode.sh. Do this in a terminal, if you have root access:
sudo chmod 755 /home/michael/Videos/Test/encode.sh
if not:
chmod u+x /home/michael/Videos/Test/encode.sh
Now put it some where on your path or else you will need to specify where it is, such as:
/home/michael/Videos/Test/encode.sh
or ./encode.sh if you are in the directory where it is.
The syntax to run the script is:
encode.sh
the easiest way to do it is to put all the files you want to transcode into an empty directory. Change to the directory and do:
encode.sh *
Charles
I must seem like a total idiot, but I'm still at a loss. I cannot get the script to run properly.
root@CarrDesktop:/home/michael# '/home/michael/sansampeg.sh.txt'
bash: /home/michael/sansampeg.sh.txt: Permission denied
root@CarrDesktop:/home/michael# sudo chmod 755 /home/michael/Videos/Test/encode.sh.txt
chmod: cannot access `/home/michael/Videos/Test/encode.sh.txt': No such file or directory
root@CarrDesktop:/home/michael# sudo chmod 755 /home/michael/encode.sh.txt
chmod: cannot access `/home/michael/encode.sh.txt': No such file or directory
root@CarrDesktop:/home/michael# 'home/michael/sansampeg.sh.txt'
bash: home/michael/sansampeg.sh.txt: No such file or directory
root@CarrDesktop:/home/michael# sansampeg.sh.txt
bash: sansampeg.sh.txt: command not found
root@CarrDesktop:/home/michael# sansampeg.sh.txt *
bash: sansampeg.sh.txt: command not found
root@CarrDesktop:/home/michael# sansampeg.sh *
bash: sansampeg.sh: command not found
root@CarrDesktop:/home/michael# '/home/michael/sansampeg.sh'
bash: /home/michael/sansampeg.sh: Permission denied
root@CarrDesktop:/home/michael# chmod u+x /home/michael/Videos/Test/encode.sh
chmod: cannot access `/home/michael/Videos/Test/encode.sh': No such file or directory
root@CarrDesktop:/home/michael# chmod u+x encode.sh
root@CarrDesktop:/home/michael# chmod u+x /home/michael/encode.sh
root@CarrDesktop:/home/michael#
Now, I do have WinFF; what I don't seem to have is an mp3 encoder. Is there another audio codec that will work? I can create a new profile and use that instead.