[vdr] How to convert a JPEG image to an I-frame?

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Thu Nov 1 14:22:25 CET 2007


On 11/01/07 13:21, Stefan Huelswitt wrote:
> On 01 Nov 2007 Klaus Schmidinger <Klaus.Schmidinger at cadsoft.de> wrote:
> 
>> I'm looking for a method to convert a JPEG image to an
>> MPEG-2 I-frame that can be displayed through VDR's
>> cDevice::StillPicture() function. The conversion should
>> be done by a (sequence of) shell command(s).
> 
> May be something like this:
> 
> #!/bin/bash
> #
> # requires: ...topnm, pnmscale, pnmcomp, ppmntsc, ppmtoy4m, mpeg2enc
> #
> 
> # video format. pal or ntsc
> FORMAT=pal
> ...

Thanks, that's exactly what I was looking for.

Klaus



More information about the vdr mailing list