[FFmpeg-trac] #8053(ffmpeg:closed): `-sseof 0`, "-sseof value must be negative; aborting"

FFmpeg trac at avcodec.org
Fri Aug 2 08:18:00 EEST 2019


#8053: `-sseof 0`, "-sseof value must be negative; aborting"
------------------------------------+-----------------------------------
             Reporter:  gdgsdg123   |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  minor       |                Component:  ffmpeg
              Version:  git-master  |               Resolution:  invalid
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by Gyan):

 * status:  new => closed
 * resolution:   => invalid
 * component:  undetermined => ffmpeg
 * type:  enhancement => defect


Comment:

 ffmpeg will always demux/decode frames forward in time. `-sseof 0` would
 seek to EOF and, by definition, there are no frames at or beyond EOF. The
 last frames is one frame duration earlier than EOF.

 The typical way to export only this last frame to image is to make use of
 the update option of the image muxer.

 {{{
 C:\>ffmpeg -sseof -1 -i "!TEMP.avi" -compression_level 10 -pred mixed
 -pix_fmt rgb24 -sws_flags spline+accurate_rnd+full_chroma_int -update 1
 "PNG.png"
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8053#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list