[Red5devs] Taking a snapshot from a live video feed

Walter Tak walter at waltertak.com
Wed Sep 3 05:04:51 PDT 2008


Check the normal Red5 archives ; me and David Temes have discussed it and 
David made a 'snapshot' class which does exactly what you need ; it extracts 
a frame from the incoming FLV. You can convert that frame with ffmpeg 
(outside of Red5) to any fileformat like a JPG and use that 
snapshot/thumbnail to display on a frontpage for example to show ppl which 
livestreams are available and how they look like.

This does require some java-knowledge of (java/red5) schedulers , 
installation , compilation and execution of ffmpeg.

Subject "Re: [Red5] SnapshotListener" in January and February 2008.

Walter

> Hi everybody!
>
> There are some topics about taking snapshots from a video stream on the
> client using ActionScript 3, converting it into a ByteArray, encoding,
> uploading, etc...
>
> My question is about how to extract a jpeg image from a stream in the
> Red5 server, better in the webapp itself.
> The streams are published as "live", so there will be no file on the
> disk I can operate with. Otherwise I would use ffmpeg to take a 
> snapshot...
>
> Is there a way to create a jpeg from the flv data in Red5? Where is the
> point I have to start looking?
>
> Thanks in advance,
> Valentin




More information about the Red5devs mailing list