Mailing List archive

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

[mpeg2] Re: still picture grabbing



One approach would be to get the mpeg2dec package from linuxvideo.org It
will decode an mpeg 2 stream into frames, which can be stored to disk. I
think these frames are in YV12 format which can be directly displayed with
Xv on some graphics cards (Radeon for ex.)

mpeg2dec could probably be easily modified to capture only I frames to cut
down the disk-space requirements. It may then be as simple as

mpeg2dec  -o pgm /dev/video

If you don't need to capture frames live, maybe cat the /dev/video to a file
first as in:

cat /dev/video > capturefile

mpeg2dec -o pgm capturefile

Let us know your results.


-----Original Message-----
From: mpeg2-bounce@linuxtv.org [mailto:mpeg2-bounce@linuxtv.org]On
Behalf Of Rupert.Kobras
Sent: Friday, July 06, 2001 6:21 AM
To: 'Ralph Metzler'
Cc: mpeg2@linuxtv.org
Subject: [mpeg2] Re: still picture grabbing


Hello Ralph

> > does anybody know how to grab still pictures with the kfir-board ?
> > Which kfir-registers I have to set, with which values ?

>What kind of still pictures do you mean? Single pictures of the
>uncompressed image? Or single compressed I-Frames?

I mean compressed I-Frames.

>In both cases I don't know how this would be done.
>Of course you could encode an MPEG2 stream and extract single
>pictures from it afterwards.

With tools are able to extract single pictures and covert them to jpeg ?

>Ralph

Thanks, Rupert





Home | Main Index | Thread Index