You’ll need the standard utility “sox”, which does conversions. Then, use this line:
for flac in *.flac; do sox -S "${flac}" -r 44100 -b 16 new/"${flac}"; done
in a shell file, having created the directory “new” underneath the existing files. The above will convert all .flac files to 16-bit 44.1 kHz.
The following converts a huge variety of video formats (replace .ABC with whatever you have, AVI, FLV, etc.) to DVD-compatible MPEG:
ffmpeg -i videofile.ABC -target dvd -aspect 16:9 -sameq videofile.mpg
FFMPEG is standard in probably all non-minimalist Linux distros, and can also be had for Windows now.