[FFmpeg-trac] #399(FFmpeg:open): ffmpeg showing incorrect pts

FFmpeg trac at avcodec.org
Wed Aug 17 11:14:46 CEST 2011


#399: ffmpeg showing incorrect pts
------------------------+----------------------
Reporter:  takis        |       Owner:  michael
    Type:  defect       |      Status:  open
Priority:  normal       |   Component:  FFmpeg
 Version:  unspecified  |  Resolution:
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  1
Analyzed:  1            |
------------------------+----------------------

Comment (by takis):

 Frankly, I do find it very confusing, especially as ffplay and ffmpeg show
 different outputs when showing that same videofilter (showinfo).


 ffplay -vf showinfo  /srv/files/videos/seekbug01min.ts
 ffplay version N-31937-g7c94740, Copyright (c) 2003-2011 the FFmpeg
 developers
   built on Aug 17 2011 11:02:34 with gcc 4.5.2
   configuration: --enable-avfilter --enable-frei0r --enable-gpl --enable-
 libfaac --enable-libmp3lame --enable-libschroedinger --enable-libspeex
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxvid --enable-nonfree --enable-pic --enable-pthreads --enable-
 shared --enable-version3 --enable-x11grab --disable-optimizations
   libavutil    51. 12. 0 / 51. 12. 0
   libavcodec   53. 10. 0 / 53. 10. 0
   libavformat  53.  7. 0 / 53.  7. 0
   libavdevice  53.  3. 0 / 53.  3. 0
   libavfilter   2. 31. 1 /  2. 31. 1
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mpegts @ 0xf16980] Continuity Check Failed
     Last message repeated 3 times
 Input #0, mpegts, from '/srv/files/videos/seekbug01min.ts':
   Duration: 00:00:00.45, start: 1.400000, bitrate: 178 kb/s
   Program 1
     Metadata:
       service_name    : Big Buck Bunny
       service_provider: FFmpeg
     Stream #0.0[0x100]: Video: h264 (Constrained Baseline), yuv420p,
 320x180 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn, 48 tbc
     Stream #0.1[0x101](und): Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
 [mpegts @ 0xf16980] Continuity Check Failed
     Last message repeated 1 timesq=    0KB vq=    0KB sq=    0B f=0/0
 [showinfo @ 0xf8e9e0] n:0 pts:126000 pts_time:1.400000 pos:564 fmt:yuv420p
 sar:1/1 s:320x180 i:P iskey:1 type:I checksum:2968688214
 plane_checksum:[4270850273 3148466867 3148466867 0]
 Frame changed from size:320x192 to size:320x180=    4KB sq=    0B f=0/0
 [showinfo @ 0x7f54f802b060] n:0 pts:129750 pts_time:1.441667 pos:1504
 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:603776523
 plane_checksum:[3225751762 3029265045 3029265045 0]
 [showinfo @ 0x7f54f802b060] n:1 pts:137250 pts_time:1.525000 pos:1880
 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:603776523
 plane_checksum:[3225751762 3029265045 3029265045 0]
 [showinfo @ 0x7f54f802b060] n:2 pts:141000 pts_time:1.566667 pos:2068
 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:321782142
 plane_checksum:[966806382 2886587449 591323577 0]
 [showinfo @ 0x7f54f802b060] n:3 pts:144750 pts_time:1.608333 pos:2632
 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:1010078484
 plane_checksum:[3458918426 414630700 4286638000 0]




 ffmpeg -y -vf showinfo -i /srv/files/videos/seekbug01min.ts -f rawvideo
 /dev/null
 ffmpeg version N-31937-g7c94740, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Aug 17 2011 11:02:34 with gcc 4.5.2
   configuration: --enable-avfilter --enable-frei0r --enable-gpl --enable-
 libfaac --enable-libmp3lame --enable-libschroedinger --enable-libspeex
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxvid --enable-nonfree --enable-pic --enable-pthreads --enable-
 shared --enable-version3 --enable-x11grab --disable-optimizations
   libavutil    51. 12. 0 / 51. 12. 0
   libavcodec   53. 10. 0 / 53. 10. 0
   libavformat  53.  7. 0 / 53.  7. 0
   libavdevice  53.  3. 0 / 53.  3. 0
   libavfilter   2. 31. 1 /  2. 31. 1
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mpegts @ 0xed2460] Continuity Check Failed
     Last message repeated 3 times
 Input #0, mpegts, from '/srv/files/videos/seekbug01min.ts':
   Duration: 00:00:00.45, start: 1.400000, bitrate: 178 kb/s
   Program 1
     Metadata:
       service_name    : Big Buck Bunny
       service_provider: FFmpeg
     Stream #0.0[0x100]: Video: h264 (Constrained Baseline), yuv420p,
 320x180 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn, 48 tbc
     Stream #0.1[0x101](und): Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
 [buffer @ 0xed6e60] w:320 h:180 pixfmt:yuv420p tb:1/1000000 sar:1/1
 sws_param:
 Output #0, rawvideo, to '/dev/null':
   Metadata:
     encoder         : Lavf53.7.0
     Stream #0.0: Video: rawvideo, yuv420p, 320x180 [SAR 1:1 DAR 16:9],
 q=2-31, 200 kb/s, 90k tbn, 24 tbc
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop, [?] for help
 [mpegts @ 0xed2460] Continuity Check Failed
     Last message repeated 1 times
 [showinfo @ 0xed97a0] n:0 pts:0 pts_time:0.000000 pos:564 fmt:yuv420p
 sar:1/1 s:320x180 i:P iskey:1 type:I checksum:603776523
 plane_checksum:[3225751762 3029265045 3029265045 0]
 [showinfo @ 0xed97a0] n:1 pts:41667 pts_time:0.041667 pos:1504 fmt:yuv420p
 sar:1/1 s:320x180 i:P iskey:0 type:P checksum:603776523
 plane_checksum:[3225751762 3029265045 3029265045 0]
 [showinfo @ 0xed97a0] n:2 pts:83333 pts_time:0.083333 pos:1692 fmt:yuv420p
 sar:1/1 s:320x180 i:P iskey:0 type:P checksum:603776523
 plane_checksum:[3225751762 3029265045 3029265045 0]
 [showinfo @ 0xed97a0] n:3 pts:125000 pts_time:0.125000 pos:1880
 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:603776523
 plane_checksum:[3225751762 3029265045 3029265045 0]

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/399#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list