<p>I am hoping you can help. I am trying to extract frames (1 per second) from various videos and from various sources. However, I am getting blur/deinterlacing (see below). I've tried with various types of footage and eventually downloaded some F1 highlights to demo to you the type of output I am getting.</p>
<p>I am using the following command and below are 4 example frames. Does anyone have any advice on changes we could make to clean up the images extracted and sharpen them?</p>
<blockquote>
<p>ffmpeg -ss 960 -t 100 -i &quot;video.mp4&quot; -qscale:v 2 -vf yadif=1:0:0 -r 1 &quot;%06d.jpg&quot;</p>
</blockquote>
<p>also tried</p>
<blockquote>
<p>ffmpeg -ss 960 -t 100 -i &quot;video.mp4&quot; -qscale:v 2 -vf yadif=1:<em><strong>-1</strong></em>:0 -r 1 &quot;%06d.jpg&quot;</p>
</blockquote>
<p><strong>Examples</strong></p>
<p><a href="https://i.sstatic.net/kScIt.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kScIt.jpg" alt="Example1" /></a>
<a href="https://i.sstatic.net/Gnnat.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Gnnat.jpg" alt="Example2" /></a>
<a href="https://i.sstatic.net/NJEV2.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/NJEV2.jpg" alt="Example3" /></a>
<a href="https://i.sstatic.net/wR0DM.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/wR0DM.jpg" alt="Example4" /></a></p>

CC BY-SA 4.0
2022-07-23T08:23:45.317Z
What's your source video? Progressive shouldn't do that, interlaced likely could. I can't get Sky F1 to screen cap or download, DRM. Have you tried a manual frame save from VLC for comparison? [Not that I know anything about ffmpeg, tbh ;)
Tetsujin
CC BY-SA 4.0
2022-07-23T09:47:34.807Z
This was only a sample demo that was particularly affected. The source is highly variable. I haven’t tried VLC as the project is designed to be automated and installing VLC isn’t a option.
Chris Felstead
CC BY-SA 4.0
2022-07-23T09:51:21.377Z
OK, fair enough. I can't really say on ffmpeg as I tend to use Handbrake for anything like this, which saves my rather coding-limited brain ;)  GUI, point & click, save as preset & set to batch mode once happy. I've never tried batching stills though. I tend to only need the occasional manual still, usually just in VLC for convenience.
Tetsujin
<ffmpeg><filter>
Best deinterlacing filter for FFMPEG (no GPU)
Chris Felstead
# Best deinterlacing filter for FFMPEG (no GPU)

(Asked by: username_0 on 2022-07-22)

I am hoping you can help. I am trying to extract frames (1 per second) from various videos and from various sources. However, I am getting blur/deinterlacing (see below). I've tried with various types of footage and eventually downloaded some F1 highlights to demo to you the type of output I am getting.

I am using the following command and below are 4 example frames. Does anyone have any advice on changes we could make to clean up the images extracted and sharpen them?

> ffmpeg -ss 960 -t 100 -i "video.mp4" -qscale:v 2 -vf yadif=1:0:0 -r 1 "%06d.jpg"

also tried

> ffmpeg -ss 960 -t 100 -i "video.mp4" -qscale:v 2 -vf yadif=1:***-1***:0 -r 1 "%06d.jpg"

**Examples**

[![Example1](https://i.sstatic.net/kScIt.jpg)](https://i.sstatic.net/kScIt.jpg)
[![Example2](https://i.sstatic.net/Gnnat.jpg)](https://i.sstatic.net/Gnnat.jpg)
[![Example3](https://i.sstatic.net/NJEV2.jpg)](https://i.sstatic.net/NJEV2.jpg)
[![Example4](https://i.sstatic.net/wR0DM.jpg)](https://i.sstatic.net/wR0DM.jpg)

**Tags:** ffmpeg, filter

> **Comments:**
> **username_1**: What's your source video? Progressive shouldn't do that, interlaced likely could. I can't get Sky F1 to screen cap or download, DRM. Have you tried a manual frame save from VLC for comparison? [Not that I know anything about ffmpeg, tbh ;)  
> **username_0**: This was only a sample demo that was particularly affected. The source is highly variable. I haven’t tried VLC as the project is designed to be automated and installing VLC isn’t a option.  
> **username_1**: OK, fair enough. I can't really say on ffmpeg as I tend to use Handbrake for anything like this, which saves my rather coding-limited brain ;)  GUI, point & click, save as preset & set to batch mode once happy. I've never tried batching stills though. I tend to only need the occasional manual still, usually just in VLC for convenience.  

---

## 0 answers

