ffmpeg version 8.0-full_build-www.gyan.dev It appears it is impossible to make a cut that ends on a keyframe.
What I want: Clip frames 0..6003 = 6004 frames. [Parsed_showinfo_0] n:6002 ... pts_time:200.267 ... iskey:0 type:P [Parsed_showinfo_0] n:6003 ... pts_time:200.3 ... iskey:1 type:I --- CLIP HERE --- [Parsed_showinfo_0] n:6004 ... pts_time:200.4 ... iskey:0 type:P What I get: 1: If I clip '-to 200.3001', there's an extra P-frame: [Parsed_showinfo_0] n:6003 ... pts_time:200.3 ... iskey:1 type:I [Parsed_showinfo_0] n:6004 ... pts_time:200.4 ... iskey:0 type:P [out#0/null @ 000000000265bec0] video:3040031KiB audio:0KiB ... frame= 6005 fps=2367 q=-0.0 Lsize=N/A time=00:02:39.72 ... 2: If I clip '-to 200.26673333333333333333333333333', the I-frame is missing: [Parsed_showinfo_0] n:6002 ... pts_time:200.267 ... iskey:0 type:P [out#0/null @ 00000000027dbec0] video:3039019KiB audio:0KiB ... frame= 6003 fps=2345 q=-0.0 Lsize=N/A time=00:02:39.19 ... This is a total show stopper -- Mark. _______________________________________________ ffmpeg-user mailing list -- [email protected] To unsubscribe send an email to [email protected]
