Ok, I'm trying to make a simple script to automate some ffmpeg conversions.
This what I have so far
$this->bbcode_second_pass_code('', '
#!bin/bash
#Script to convert mp4 files to mpg2
#
echo "Movie name please:"
read mname
echo "Converting $mname to tivo compatible file"
/usr/bin/ffmpeg -i /media/hd-sda2/temp/new/$mname.mp4 -vcodec mpeg2video -b 163$
')
I did chmod +x on the file, but when I try to run it I get
-bash: mkmp2: command not found
What am I doing wrong?
Thanks
Tom
