[FFmpeg-trac] #3063(avcodec:new): Keyframes not reported as such for Panasonic GH2 Clips
FFmpeg
trac at avcodec.org
Sun Oct 20 12:56:19 CEST 2013
#3063: Keyframes not reported as such for Panasonic GH2 Clips
---------------------------------+---------------------------------------
Reporter: rmk | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+---------------------------------------
Demuxing/decoding AVCHD files from this camera using libavformat and
liavcodec gives inconsistent results regarding keyframes. For this
particular type of clip certain video packets are marked as keyframe
packets (consistent with what is known about the GOP size of the camera
from other sources) but the decoded frames are not (with the exception of
the first frame). This can be reproduced using ffprobe (see two command
lines below). The file was shortened using DD but the behaviour is the
same for the unmodified camera file except for the warning "PES packet
size mismatch".
ffprobe -select_streams 0 -show_frames gh2_1080i.mts | grep key_frame=1
ffprobe version N-57272-gc9a22d6 Copyright (c) 2007-2013 the FFmpeg
developers
built on Oct 20 2013 12:30:23 with llvm-gcc 4.2.1 (LLVM build
2336.11.00)
configuration:
libavutil 52. 47.101 / 52. 47.101
libavcodec 55. 37.102 / 55. 37.102
libavformat 55. 19.103 / 55. 19.103
libavdevice 55. 4.100 / 55. 4.100
libavfilter 3. 88.102 / 3. 88.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
[mpegts @ 0x7fed4c00d400] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'gh2_1080i.mts':
Duration: 00:00:01.00, start: 0.710178, bitrate: 40960 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 25.58 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo,
fltp, 192 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090), 1920x1080
key_frame=1
[mpegts @ 0x7fed4c00d400] PES packet size mismatch
fprobe -select_streams 0 -show_packets gh2_1080i.mts | grep flags=K
ffprobe version N-57272-gc9a22d6 Copyright (c) 2007-2013 the FFmpeg
developers
built on Oct 20 2013 12:30:23 with llvm-gcc 4.2.1 (LLVM build
2336.11.00)
configuration:
libavutil 52. 47.101 / 52. 47.101
libavcodec 55. 37.102 / 55. 37.102
libavformat 55. 19.103 / 55. 19.103
libavdevice 55. 4.100 / 55. 4.100
libavfilter 3. 88.102 / 3. 88.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
[mpegts @ 0x7ffe7100d400] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'gh2_1080i.mts':
Duration: 00:00:01.00, start: 0.710178, bitrate: 40960 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 25.58 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo,
fltp, 192 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090), 1920x1080
flags=K
flags=K
flags=K
flags=K
flags=K
flags=K
flags=K
[mpegts @ 0x7ffe7100d400] PES packet size mismatch
flags=K
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3063>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list