I am trying to batch convert few files in a folder using ffmpeg2theora.
for filename in $(pwd)/*
do
ffmpeg2theora -v 6 -a 5 $filename && mv $filename finished/
done;
But now the code waits for one video to finish before converting another one. How do i convert all videos at the same time in the background ? Its giving me verbose output also which i dont want.
Add a single ampersand to the end of the command to start it in the background. To redirect output into nirvana, you can use
> /dev/null