Opened 8 years ago

Closed 8 years ago

#5346 closed defect (fixed)

H264 seeking shows incomplete frames

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: h264 seek regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

A user uploaded a H264 sample that shows artefacts on seeking since 78265fcfeee153e5e26ad4dbc7831a84ade447d6

$ ffmpeg -ss 1 -i Tennis_test_recording_cut.m2ts -qscale 2 -vframes 8 out.avi
ffmpeg version N-79068-g6b7ce0e Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (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, mpegts, from 'Tennis_test_recording_cut.m2ts':
  Duration: 00:00:01.47, start: 0.387044, bitrate: 13949 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (Main) (HDMV / 0x564D4448), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 30.39 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf57.28.102
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.28.103 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      encoder         : Lavc57.28.103 ac3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
  Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[h264 @ 0x34bf9c0] mmco: unref short failure
[h264 @ 0x34788c0] mmco: unref short failure
[h264 @ 0x34317c0] error while decoding MB 23 33, bytestream -10
frame=    8 fps=0.0 q=2.0 Lsize=    2161kB time=00:00:00.33 bitrate=53064.7kbits/s speed=2.02x
video:2146kB audio:5kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.472254%

Attachments (1)

Tennis_test_recording_cut.m2ts (2.4 MB ) - added by Carl Eugen Hoyos 8 years ago.

Change History (2)

by Carl Eugen Hoyos, 8 years ago

comment:1 by Michael Niedermayer, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.