Mailing List archive

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

[vdr] Re: Howto get a picture sequence from an I-frame(GOP)



On Mon, Oct 27, 2003 at 10:33:35PM +0100, theNoad wrote:
> Am Donnerstag, 23. Oktober 2003 17:16 schrieben Sie:
> >
> > PS: If this is poosible, then the only thing which is missed
> >     then for a cutter: a program or lib for generating an
> >     I-frame(GOP) out of a sequence of jpg pictures  ;^)
> 
> May be convert (from ImageMagick) does what you want. 
> I've just converted a vdr-grabbed image with 
> "convert test.jpg test.m2v"
> and the result checked with
> "mpeg2dec -v test.m2v"
> which gives this output:
> mpeg2dec-0.3.2-cvs - by Michel Lespinasse <walken@zoy.org> and Aaron Holtzman
>       2f SEQUENCE MPEG2 HP@HL 768x576 chroma 384x288 fps 30 maxBps 625000 vbv 
> 229376 picture 768x576 display 768x576 pixel 1x1
>       37 GOP CLOSED  0: 0: 0: 0
>       48 PICTURE I fields 2 TFF time_ref 0 offset 0/0 0/0
>     8b84 SLICE
>     8b84 END
> 
> theNoad
> 
> PS: instead of using jpg it may be faster to use raw ppm format

Yep. maybe a one step would be doable with the

	LibVideoGfx
	LibVideoCoding

from http://rachmaninoff.informatik.uni-mannheim.de/private/index.html,
both copyleft under GPL.
I found an example program iframeenc within LibVideoCoding:

    iframeenc - encode a single PPM image as MPEG I-Frame

... and the lib includes a decoder part, maybe it is possible to
combine both to one interface which simply takes a stream from
a buffer and reconstruct all frames found therein into I frames.
The only problem is: The documentation is worse ... which one ;^}

      Werner


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index