# Extract static frame from live stream

**URL:** <https://community.wowza.com/t/extract-static-frame-from-live-stream/47118>\
**Category:** Wowza Streaming Engine\
**Created:** [August 11, 2016, 10:24am UTC](https://community.wowza.com/t/extract-static-frame-from-live-stream/47118 "2016-08-11T10:24:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Virgil\_Vaduva](https://avatars.discourse-cdn.com/v4/letter/v/f14d63/32.png) [@Virgil\_Vaduva](https://community.wowza.com/u/Virgil_Vaduva)\
**Post date:** [August 11, 2016, 10:24am UTC](https://community.wowza.com/t/extract-static-frame-from-live-stream/47118/1 "2016-08-11T10:24:12Z")

</div>

Hey folks, do any of you have any idea how I can extract a static video frame from a live, ongoing stream? I have a DVR app setup on a standalone Wowza Streaming Engine server (running on Linux) and we are writing some custom scrips to handle some internal requirements we have for a project.

I can easily use ffmpeg to extract static frames as JPG files from MP4 files that have been saved on the server side, but I cannot do so until the stream ends. It appears that two files are created in /wowza/content called $streamname.MP4.tmp and $streamname.MP4. I cannot extract any frames from either file using traditional methods.

Does anyone have any suggestions on how I can extract a JPG frame from an ongoing stream on the server side?

Many thanks!

---

<div class="post-metadata">

**Author:** ![Virgil\_Vaduva](https://avatars.discourse-cdn.com/v4/letter/v/f14d63/32.png) [@Virgil\_Vaduva](https://community.wowza.com/u/Virgil_Vaduva)\
**Post date:** [August 11, 2016, 11:07am UTC](https://community.wowza.com/t/extract-static-frame-from-live-stream/47118/2 "2016-08-11T11:07:28Z")

</div>

This post helped me solved the issue: [Generate thumbnail images](https://www.wowza.com/docs/how-to-get-thumbnail-images-from-wowza-transcoder-with-an-http-provider)

> Hey folks, do any of you have any idea how I can extract a static video frame from a live, ongoing stream? I have a DVR app setup on a standalone Wowza Streaming Engine server (running on Linux) and we are writing some custom scrips to handle some internal requirements we have for a project.
> 
> I can easily use ffmpeg to extract static frames as JPG files from MP4 files that have been saved on the server side, but I cannot do so until the stream ends. It appears that two files are created in /wowza/content called $streamname.MP4.tmp and $streamname.MP4. I cannot extract any frames from either file using traditional methods.
> 
> Does anyone have any suggestions on how I can extract a JPG frame from an ongoing stream on the server side?
> 
> Many thanks!

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [August 12, 2016, 7:36am UTC](https://community.wowza.com/t/extract-static-frame-from-live-stream/47118/3 "2016-08-12T07:36:42Z")

</div>

Thanks for the update and solution. Glad you got this sorted.

Regards,

Salvadore
