I have a shell script that uses VLC to convert videofile to another format. But how do I get the script to quit VLC after the conversion process is done?
Here's my script:
/Applications/VLC.app/Contents/MacOS/VLC -vvv " & Tiedosto & " --sub-track=1 --sout="#transcode{soverlay,vcodec=mpgv,vb=4000,acodec=mpga,ab=192,channels=2}:standard{dst=/Desktop/video.mpg,access=file,mux=ps}"