I also came accross some videos in ogg format. Since the Sansa Fuze+ player don’t know much about Theora and Vorbis, I needed to specify the codecs. These files were also in aspect ratio 4:3 so no need to pad.
Please find below the scripts for *.ogv files:
#! /bin/bash
# This is for Ogg Video (need to change codecs, Sansa don’t know about Theora/Vorbis)
for file in *.ogv
do
ffmpeg -i “$file” -s 320x240 -vcodec mpeg4 -acodec libfaac “out/$file.mp4”
mv – “$file” done
done
As before, I’m running Ubuntu, currently 10.10
Regards
Jeppe