Reinhard Nissl wrote:
Hi,
Simon Baxter wrote:
Has anyone managed to convert JPG files into the right mpg format for the radio plugin?
If image.jpg has a resolution of 720x576 you can use the following command chain to create image.mpg:
cat image.jpg \ | jpegtopnm \ | ppmtoppm \ | ppmtoy4m -F 25:1 -A 4:3 -I p -r -S 420_mpeg2 -v 2 -n 1 \ | mpeg2enc -f 8 -a 2 -q 1 -n p -T 120 -R 2 -g 12 -G 12 -o image.mpg
Also, you can look at image_convert.sh in the mp3/mplayer plugin (under examples). Its done slightly different, but supports multiple formats.
Regards, C.