Opened 8 years ago

Closed 6 years ago

#5188 closed defect (fixed)

Damaged dvvideo makes overlay not stop on eof

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: ffmpeg
Version: git-master Keywords: regression
Cc: Cigaes, Michael Niedermayer Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/60728
A user provided a damaged dvvideo file for which overlay does not terminate, I pressed "q" for the output below, regression since 429c6cab

$ ffmpeg -i trouble.dv -i fate-suite/lena.pnm -filter_complex overlay -qscale 2 out.mp4
ffmpeg version N-78043-g1d8f9b7 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 14.100 / 55. 14.100
  libavcodec     57. 22.100 / 57. 22.100
  libavformat    57. 23.100 / 57. 23.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 27.100 /  6. 27.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[dv @ 0x2be65e0] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'trouble.dv':
  Metadata:
    timecode        : 00:00:00:00
  Duration: 00:00:00.72, start: 0.000000, bitrate: 28444 kb/s
    Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 64:45 DAR 16:9], 28800 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, image2, from 'fate-suite/lena.pnm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 39333 kb/s
    Stream #1:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, mp4, to 'out.mp4':
  Metadata:
    timecode        : 00:00:00:00
    encoder         : Lavf57.23.100
    Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc57.22.100 mpeg4
    Side data:
      unknown side data type 10 (24 bytes)
Stream mapping:
  Stream #0:0 (dvvideo) -> overlay:main
  Stream #1:0 (ppm) -> overlay:overlay
  overlay -> Stream #0:0 (mpeg4)
Press [q] to stop, [?] for help
[dvvideo @ 0x2be7e00] AC EOB marker is absent pos=67
[dvvideo @ 0x2be7e00] Concealing bitstream errors
Input stream #0:0 frame changed from size:720x576 fmt:yuv420p to size:720x480 fmt:yuv411p
frame=    3 fps=0.0 q=2.0 Lsize=     250kB time=00:00:00.12 bitrate=17064.3kbits/s speed=0.000942x
video:249kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.349312%

Attachments (1)

trouble.dv (2.4 MB ) - added by Carl Eugen Hoyos 8 years ago.

Change History (5)

by Carl Eugen Hoyos, 8 years ago

Attachment: trouble.dv added

comment:1 by Elon Musk, 8 years ago

Component: undeterminedavfilter

comment:2 by Michael Niedermayer, 8 years ago

Cc: Cigaes added

Adding nicolas to the CC as this is claimed t be a regression since a commit he is author of

comment:3 by Michael Niedermayer, 8 years ago

Cc: Michael Niedermayer added

comment:4 by Carl Eugen Hoyos, 6 years ago

Component: avfilterffmpeg
Resolution: fixed
Status: newclosed

Fixed by Anton Khirnov and wm4 in 76e13bdeaabc7ec49322b3a118dc4805153e0401

Note: See TracTickets for help on using tickets.