[FFmpeg-trac] #7572(avformat:new): Infinite loop during getting single frame (image2) from HLS/fmp4 video file
FFmpeg
trac at avcodec.org
Wed Nov 28 15:49:46 EET 2018
#7572: Infinite loop during getting single frame (image2) from HLS/fmp4 video file
--------------------------------------+------------------------------------
Reporter: javer | Owner:
Type: defect | Status: new
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: deadlock mov | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Comment (by javer):
All files have been created by ffmpeg itself, see above description, but
here are commands:
{{{
ffmpeg -y -f rawvideo -t 4.8 -s 640x360 -pix_fmt rgb24 -i /dev/zero -f
lavfi -t 4.8 -i aevalsrc=0 -c:v libx264 -preset veryfast -pix_fmt yuv420p
-r 30 -c:a aac -ar 48000 input.mp4
ffmpeg -v 9 -loglevel 99 -y -i input.mp4 -f hls -hls_time 2 -hls_list_size
0 -hls_flags single_file -hls_segment_type fmp4 -hls_segment_filename
output.mp4 -map v -c:v libx264 -preset veryfast -r:v 18 -g 30 -map a -c:a
copy output.m3u8
ffmpeg -v 9 -loglevel 99 -y -ss 2 -i output.mp4 -frames 1 -f image2
output.jpg
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7572#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list