#5350 closed defect (fixed)

Infinite loop when reading subtitles with FFprobe

Reported by: cehoyos Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: deadlock regression sub
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/61720
A user reported an infinite loop when using FFprobe. This is a regression since 29412821241050c846dbceaad4b9752857659977

$ ffprobe pgssub-ffprobe.infinite.loop.mpg -select_streams s:0 -show_frames -print_format flat | grep pts_time
ffprobe version N-79083-gc411e90 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 4.8 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 28.103 / 57. 28.103
  libavformat    57. 28.102 / 57. 28.102
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 39.102 /  6. 39.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mpeg, from 'pgssub-ffprobe.infinite.loop.mpg':
  Duration: 00:00:10.55, start: 0.541711, bitrate: 10382 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], max. 30000 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:2[0x20]: Subtitle: dvd_subtitle
frames.subtitle.0.pts_time="2.685711"
frames.subtitle.1.pts_time="2.685711"
frames.subtitle.2.pts_time="2.685711"
frames.subtitle.3.pts_time="2.685711"
frames.subtitle.4.pts_time="2.685711"
frames.subtitle.5.pts_time="2.685711"
frames.subtitle.6.pts_time="2.685711"
frames.subtitle.7.pts_time="2.685711"
frames.subtitle.8.pts_time="2.685711"
frames.subtitle.9.pts_time="2.685711"

Attachments (1)

pgssub-ffprobe.infinite.loop.mpg (2.4 MB) - added by cehoyos 21 months ago.

Change History (3)

Changed 21 months ago by cehoyos

comment:1 Changed 21 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Summary changed from Infinitive loop to Infinite loop when reading subtitles with FFprobe

comment:2 Changed 20 months ago by ubitux

  • Keywords sub added
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.