[vdr] radio plugin - create mpg

Reinhard Nissl rnissl at gmx.de
Sun Jul 24 11:57:36 CEST 2005


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

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de



More information about the vdr mailing list