[FFmpeg-trac] #1746(undetermined:open): MPEG_TS: the PTS is wrong

FFmpeg trac at avcodec.org
Tue Sep 18 09:38:17 CEST 2012


#1746: MPEG_TS: the PTS is wrong
-------------------------------------+-------------------------------------
             Reporter:  adam_csheng  |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegts h264  |               Resolution:
  desync                             |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  MPEGTS PTS => mpegts h264 desync
 * status:  new => open
 * component:  FFprobe => undetermined
 * reproduced:  0 => 1


Comment:

 The output file is severely out-of-sync:
 {{{
 $ ffmpeg -analyzeduration 15M -i mpegts_pts_wrong.ts -s 640x360 -q:v 2 -t
 21 out.avi
 ffmpeg version N-44530-g094991e Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Sep 16 2012 19:18:58 with gcc 4.5.3 (GCC)
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable-
 libass
   libavutil      51. 73.100 / 51. 73.100
   libavcodec     54. 56.100 / 54. 56.100
   libavformat    54. 27.101 / 54. 27.101
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3. 16.104 /  3. 16.104
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [mpegts @ 0x14f0340] PES packet size mismatch
     Last message repeated 1 times
 Input #0, mpegts, from 'mpegts_pts_wrong.ts':
   Duration: 00:00:12.47, start: 599.960011, bitrate: 1312 kb/s
   Program 1
     Stream #0:0[0x1011](und): Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p, 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x1100](chi): Audio: aac ([15][0][0][0] / 0x000F), 48000
 Hz, stereo, s16, 66 kb/s
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf54.27.101
     Stream #0:0(und): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x360,
 q=2-31, 200 kb/s, 25 tbn, 25 tbc
     Stream #0:1(chi): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo,
 flt, 192 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> mpeg4)
   Stream #0:1 -> #0:1 (aac -> ac3)
 Press [q] to stop, [?] for help
 frame=  288 fps=130 q=2.0 Lsize=    4261kB time=00:00:21.02
 bitrate=1660.1kbits/s
 video:3952kB audio:271kB subtitle:0 global headers:0kB muxing overhead
 0.888084%
 }}}

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


More information about the FFmpeg-trac mailing list