radio plugin - create mpg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux