[FFmpeg-trac] #7572(avformat:open): Infinite loop during getting single frame (image2) from HLS/fmp4 video file

FFmpeg trac at avcodec.org
Tue Jan 22 10:41:24 EET 2019


#7572: Infinite loop during getting single frame (image2) from HLS/fmp4 video file
--------------------------------------+------------------------------------
             Reporter:  javer         |                    Owner:
                 Type:  defect        |                   Status:  open
             Priority:  important     |                Component:  avformat
              Version:  git-master    |               Resolution:
             Keywords:  deadlock mov  |               Blocked By:
             Blocking:                |  Reproduced by developer:  1
Analyzed by developer:  0             |
--------------------------------------+------------------------------------

Comment (by Gyan):

 Can't you work around by seeking on the output:

 `ffmpeg -v 9 -loglevel 99 -y -i output.mp4 -ss 2 -frames 1 -f image2
 output.jpg`

 Doesn't hang here; isn't efficient if your thumbnail is deep into the
 stream but  otherwise is functional.

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


More information about the FFmpeg-trac mailing list