[FFmpeg-trac] #1836(avformat:new): Wrong duration in TS container

FFmpeg trac at avcodec.org
Sun Oct 21 16:32:03 CEST 2012


#1836: Wrong duration in TS container
-------------------------------------+------------------------------------
             Reporter:  Heesuk Jung  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mpegts       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by Heesuk Jung):

 After applying patch, there are log for 473_XXX file.

 hsjung at ubuntu:~/work/ffmpeg$ ./ffmpeg -i
 download/473_TP_MPEG2\[Main at High@1419Kbps at 1080p@29.970fps\]_AC3\[384Kbps at 48kHz@16bit at 2ch\].tp
 -f null -
 ffmpeg version git-2012-10-21-99ea47f Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Oct 21 2012 07:05:42 with gcc 4.6 (Ubuntu/Linaro
 4.6.3-1ubuntu5)
   configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac
 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx
 --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
   libavutil      51. 76.101 / 51. 76.101
   libavcodec     54. 67.100 / 54. 67.100
   libavformat    54. 33.100 / 54. 33.100
   libavdevice    54.  3.100 / 54.  3.100
   libavfilter     3. 19.103 /  3. 19.103
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 16.100 /  0. 16.100
   libpostproc    52.  1.100 / 52.  1.100
 [mpeg2video @ 0x2695e80] mpeg_decode_postinit() failure
     Last message repeated 11 times
 [mpegts @ 0x2695260] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, mpegts, from
 'download/473_TP_MPEG2[Main at High@1419Kbps at 1080p@29.970fps]_AC3[384Kbps at 48kHz@16bit at 2ch].tp':
   Duration: 00:00:21.30, start: 78313.376611, bitrate: 17441 kb/s
   Program 1
     Stream #0:0[0x11]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p, 1920x1088 [SAR 136:135 DAR 16:9], 17400 kb/s, 29.97 fps, 29.97
 tbr, 90k tbn, 59.94 tbc
     Stream #0:1[0x14]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz,
 stereo, s16, 384 kb/s
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf54.33.100
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1088
 [SAR 136:135 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
     Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video -> rawvideo)
   Stream #0:1 -> #0:1 (ac3 -> pcm_s16le)
 Press [q] to stop, [?] for help
 [null @ 0x269c200] Encoder did not produce proper pts, making some up.
 frame CRC mismatch0 q=0.0 size=       0kB time=00:00:20.08 bitrate=
 0.0kbits/s dup=24 drop=0
 [mpegts @ 0x2695260] PES packet size mismatch
 [mpeg2video @ 0x2695e80] ac-tex damaged at 41 25
 [mpeg2video @ 0x2695e80] Warning MVs not available
 [mpeg2video @ 0x2695e80] concealing 5120 DC, 5120 AC, 5120 MV errors in I
 frame
 [ac3 @ 0x2698d20] incomplete frame
 frame=  625 fps=148 q=0.0 Lsize=       0kB time=00:00:20.85 bitrate=
 0.0kbits/s dup=26 drop=0
 video:59kB audio:3834kB subtitle:0 global headers:0kB muxing overhead
 -100.000000%
 hsjung at ubuntu:~/work/ffmpeg$

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


More information about the FFmpeg-trac mailing list