[FFmpeg-devel] FFV1: version 0 vs 1?

Michael Niedermayer michaelni at gmx.at
Mon Sep 14 00:25:51 CEST 2015


On Sun, Sep 13, 2015 at 09:25:17PM +0200, Peter B. wrote:
> Hello again :)
> 
> I've just noticed that by default, FFV1 chooses version "0".
> I thought it would be "1".
> 
> When adding "-level 1" it properly shows "ver:1".
> (and a proper value for "bps")
> 
> 
> == For example:
> 
> Source video: https://media.xiph.org/video/derf/y4m/football_422_ntsc.y4m
> 
> $ ffmpeg -i input.avi -c:v ffv1 -an output.avi
> $ ffprobe -debug 1 -i output.avi
> 
> Shows:
> [ffv1 @ 0x2263b80] ver:0 keyframe:1 coder:0 ec:0 slices:1 bps:0
> 
> 
> On the other hand:
> $ ffmpeg -i input.avi -c:v ffv1 -level 1 -an output.avi
> $ ffprobe -debug 1 -i output.avi
> 
> Shows:
> [ffv1 @ 0x2c9eb80] ver:1 keyframe:1 coder:0 ec:0 slices:1 bps:8
> 
> 
> Interestingly, the console output of both commands seems identical.
> Why is that so?

the encoder chooses the lowest version that supports the requested
features well to maximize compatibility

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150914/4f6bf445/attachment.sig>


More information about the ffmpeg-devel mailing list