<p>As @Mulvya says it depends greatly on the GOP size, but you can insure that stepping is easy at the expense of file size, by using an '<strong>all-I</strong>' codec like Motion JPEG. In such codecs every frame appears whole and entire so there is no dependence on previous or subsequent frames.</p>

CC BY-SA 4.0
2021-08-17T16:32:30.060Z
Abbreviation info: "all-I" as in "using entirely **I**ntraframe Coding". Opposed to Interframe Coding (IPB) where the abbreviation stands for **I**ntra-Frame + **P**redicted Frame + **B**i-directional predicted frame.
porg
CC BY-SA 3.0
2017-09-07T14:57:46.493Z
2017-09-07T14:57:46.493Z
Jim Mack
<p>I fixed by uncommenting the <code>RIGHT seek 5</code> and <code>LEFT seek -5</code> lines in input.conf
and also by adding <code>hr-seek=yes</code> in mpv.conf</p>

CC BY-SA 4.0
2023-11-06T14:57:32.877Z
2023-11-06T14:57:32.877Z
Allexj
<p>I assume, you want fast codec for video editing.</p>

<p>In previous years here was "codecs for editing", it was DV codec (used in miniDV cameras) and mjpeg (used in some video cards/"montage" cards). This codecs was implemented in hardware and mainly used for capture, but some hardware allows playback and even adding some simple effects and transitions. Yes, video transitions was implemented in hardware. Today this hardware and tricks is obsolete. But mjpeg still used in many webcameras which connected by usb! Yes, you usually got not "raw signal" from your webcam, but compressed by jpeg.</p>

<p>Today you can use DNxHD/DNxHR/ProRes, but mjpeg still good for creating proxy footages.</p>

<p>Other intra-only codecs: JPEG2000, lossless-jpeg, MagicYUV</p>

<p>Great blog post about codecs and proxy-editing: <a href="https://blog.frame.io/2017/02/15/choose-the-right-codec/" rel="nofollow noreferrer">https://blog.frame.io/2017/02/15/choose-the-right-codec/</a></p>

<blockquote>
  <p>If you don’t have enough storage space, or if you’re on an
  underpowered machine, then take the resolution down a notch. A lot of
  huge-budget Hollywood films were edited in 480p just a few years ago,
  so don’t sweat it if you need to lower your resolution from 4K down to
  720P for the edit.</p>
</blockquote>

<p>Also, you can specify "gop size=1" or "not use P and B frames" (it same) in almost any modern codec and get similar results. If you want REALLY FAST, I suggest to see on very old codec Cinepack - it was able playback video on even 80486 machines and you can find it today! Quality of Cinepack not perfect by today standards, but it enough for editing and preview purposes.</p>

CC BY-SA 3.0
2017-09-07T15:41:56.253Z
2017-09-07T15:41:56.253Z
bukkojot
<p>According to <a href="https://github.com/mpv-player/mpv/issues/4019" rel="nofollow noreferrer">https://github.com/mpv-player/mpv/issues/4019</a> backward stepping for example with H264 codec is slow compared to forward stepping. Other codecs, for example mjpeg works a bit better.</p>

<p>For which other codecs/codec settings backward stepping is fast?</p>

CC BY-SA 3.0
2017-09-06T13:36:13.310Z
It's not codec-specific, but related to GOP size. See https://video.stackexchange.com/q/16836/1871 and https://video.stackexchange.com/q/21892/1871
Gyan
CC BY-SA 4.0
2023-11-06T14:57:20.373Z
I fixed by uncommenting the `RIGHT seek 5` and `LEFT seek -5` lines in input.conf
and also by adding `hr-seek=yes` in mpv.conf
Allexj
<codec>
Codecs with allow fast backwards stepping frame by frame with mpv
student
# Codecs with allow fast backwards stepping frame by frame with mpv

(Asked by: username_0 on 2017-09-06)

According to <https://github.com/mpv-player/mpv/issues/4019> backward stepping for example with H264 codec is slow compared to forward stepping. Other codecs, for example mjpeg works a bit better.

For which other codecs/codec settings backward stepping is fast?

**Tags:** codec

> **Comments:**
> **username_1**: It's not codec-specific, but related to GOP size. See https://video.stackexchange.com/q/16836/1871 and https://video.stackexchange.com/q/21892/1871  
> **username_2**: I fixed by uncommenting the `RIGHT seek 5` and `LEFT seek -5` lines in input.conf and also by adding `hr-seek=yes` in mpv.conf  

---

## 3 answers

### Answer by username_3 on 2017-09-07. Score: 1

As @Mulvya says it depends greatly on the GOP size, but you can insure that stepping is easy at the expense of file size, by using an '**all-I**' codec like Motion JPEG. In such codecs every frame appears whole and entire so there is no dependence on previous or subsequent frames.

> **Comments:**
> **username_4**: Abbreviation info: "all-I" as in "using entirely **I**ntraframe Coding". Opposed to Interframe Coding (IPB) where the abbreviation stands for **I**ntra-Frame + **P**redicted Frame + **B**i-directional predicted frame.  

---

### Answer by username_2 on 2023-11-06. Score: 0

I fixed by uncommenting the `RIGHT seek 5` and `LEFT seek -5` lines in input.conf
and also by adding `hr-seek=yes` in mpv.conf


---

### Answer by username_5 on 2017-09-07. Score: 0

I assume, you want fast codec for video editing.

In previous years here was "codecs for editing", it was DV codec (used in miniDV cameras) and mjpeg (used in some video cards/"montage" cards). This codecs was implemented in hardware and mainly used for capture, but some hardware allows playback and even adding some simple effects and transitions. Yes, video transitions was implemented in hardware. Today this hardware and tricks is obsolete. But mjpeg still used in many webcameras which connected by usb! Yes, you usually got not "raw signal" from your webcam, but compressed by jpeg.

Today you can use DNxHD/DNxHR/ProRes, but mjpeg still good for creating proxy footages.

Other intra-only codecs: JPEG2000, lossless-jpeg, MagicYUV

Great blog post about codecs and proxy-editing: <https://blog.frame.io/2017/02/15/choose-the-right-codec/>

> If you don’t have enough storage space, or if you’re on an
> underpowered machine, then take the resolution down a notch. A lot of
> huge-budget Hollywood films were edited in 480p just a few years ago,
> so don’t sweat it if you need to lower your resolution from 4K down to
> 720P for the edit.

Also, you can specify "gop size=1" or "not use P and B frames" (it same) in almost any modern codec and get similar results. If you want REALLY FAST, I suggest to see on very old codec Cinepack - it was able playback video on even 80486 machines and you can find it today! Quality of Cinepack not perfect by today standards, but it enough for editing and preview purposes.


---

