If you just want a quick rip of a directory full of videos all you need is Bash and FFMPEG to do the trick. Try this little Bash script I wrote, of course you can add all kinds of switches to the FFMPEG command line but I kept it simple. This way you can add what switches you prefer for your version.
-------------- code snippet -----------------------
#!/bin/bash
#
# Convert video for iPod/iPhone
DIR=/path/to/your/videos
for i in `find $DIR -type f`;
do
ffmpeg -i $i $i.mp4
ffmpeg -itsoffset -4 -i $i -vcodec mjpeg -vframes 1 -an -f rawvideo -s 200x200 $i.jpg
done
------------ end snippet ---------------------------
This will batch render all video files in the directory you specify and attempt to make a thumbnail of each movie. This of course renders them to the iPod/iPhone format of *.mp4. Hope this helps somebody...
Batch ripping easy with Bash and FFMPEG
If you just want a quick rip of a directory full of videos all you need is Bash and FFMPEG to do the trick. Try this little Bash script I wrote, of course you can add all kinds of switches to the FFMPEG command line but I kept it simple. This way you can add what switches you prefer for your version.
-------------- code snippet -----------------------
#!/bin/bash
#
# Convert video for iPod/iPhone
DIR=/path/to/your/videos
for i in `find $DIR -type f`;
do
ffmpeg -i $i $i.mp4
ffmpeg -itsoffset -4 -i $i -vcodec mjpeg -vframes 1 -an -f rawvideo -s 200x200 $i.jpg
done
------------ end snippet ---------------------------
This will batch render all video files in the directory you specify and attempt to make a thumbnail of each movie. This of course renders them to the iPod/iPhone format of *.mp4. Hope this helps somebody...
Regards,
Grim