Skip to main content
Apr 4, 2010 11:50 AM UTC
Question

Have a script grab a picture from a live stream and save it as a JPG file?

Hi all

Does anyone know how to get a script of some kind to grab a picture from a live stream and save it as a JPG file?

In this way a cron job can tricker the script and thereby grab a picture fx every 10'th minute and the picture can be shown on a website so people that are not attending can have a look into what is happening in the live stream.

Kind regards,

Jens

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    calmchessplayer
    Inspiring
    Apr 4, 2010 5:52 PM UTC

    grabbing a snapshot of a live stream is best done through the client side  the module you need is called jpg_encoder private message me your email and i'll send you a copy.

    Translate
    calmchessplayer
    Inspiring
    Apr 4, 2010 6:38 PM UTC

    btw it requires php on the webserver in order to caputre the jpg

    Translate
    calmchessplayer
    Inspiring
    Apr 4, 2010 8:14 PM UTC

    something else i've done in the past is to record a stream for 1 second and then convert the .flv with ffmpeg into a .jpg.....if you start the record serverside wich i suggest you do you can specify the maximum duration for the recording to 1 second...........................streamName.record("record",1);

    Translate