06.05.10

Converting videos to svi for Samsung YP-Q2 Portable Media Player with ffmpeg

Posted in Free Software at 1:41 am by Pirate Praveen

I have a nice little Portable Media Player, YP-Q2 from Samsung. The main reason for choosing this was its built in support for Ogg Vorbis audio format. It has video support as well but with its own format – svi. It is basically avi container with mpeg4 video and mp3 audio (it supports wmv as well).

I found out the right combination of ffmpeg options by comparing a sample file created by EmoDio software that came with the device.

I created a script ffmpeg2svi with correct options to make the conversion easier. Here is the script

#!/bin/sh
if [ $# -ne 2 ]
then
echo "Usage: ffmpeg2svi <input> <output.svi>"
else
ffmpeg -i "$1" -vcodec mpeg4 -acodec libmp3lame -f avi -s qvga -aspect 4:3 -sameq "$2"

fi

Hopefully this works with other models from Samsung as well.