xaphirecipes

recipes for all the small things in life …

Flower

Posts Tagged ‘ffmpeg’

FFMpeg options for Creative Zen X-Fi2

To convert videos for my new MP3/Video player Creative Zen X-Fi2 i use one of the following commands:

ffmpeg -i IN.MOV -s 320x240 -acodec libmp3lame -vcodec mpeg4 -vtag XVID -qscale 5 output.avi
ffmpeg -i IN.MOV -s 320x240 -acodec libmp3lame -vcodec mpeg4 -vtag XVID -b 1000k output1000.avi

This player is much better than the Memup K-Slim LS i used before…

FFMpeg options for Memup K-Slim LS

To convert videos for my new MP3/Video player Memup K-Slim LS i use the following bash script:

 
#!/bin/bash
 
echo $1
 
/usr/bin/ffmpeg -i "$1" -r 15 -vcodec mpeg4 -vtag XVID -s 160x128  -aspect 5:4 -qmin 3 -qmax 5 -ar 44100 -ab 128kb -ac 2 -acodec mp2 -g 1 "/media/Memup/videos/$1.memup.avi"

The most important option is the -g 1 to force every frame to be a keyframe