[FFmpeg-trac] #6647(undetermined:closed): TS re-mux to MKV result in wrong frame rate

FFmpeg trac at avcodec.org
Sat Sep 23 13:48:27 EEST 2017


#6647: TS re-mux to MKV result in wrong frame rate
-------------------------------------+-------------------------------------
             Reporter:  stax76       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |  worksforme
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Works fine here:
 {{{
 $ ffmpeg -i growing_pains_cut.ts -c copy out.mkv
 ffmpeg version N-87363-g2ad1768 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 6.3.0 (GCC)
   configuration: --enable-gpl
   libavutil      55. 76.100 / 55. 76.100
   libavcodec     57.106.101 / 57.106.101
   libavformat    57. 82.101 / 57. 82.101
   libavdevice    57.  8.101 / 57.  8.101
   libavfilter     6.106.100 /  6.106.100
   libswscale      4.  7.103 /  4.  7.103
   libswresample   2.  8.100 /  2.  8.100
   libpostproc    54.  6.100 / 54.  6.100
 Input #0, mpegts, from 'growing_pains_cut.ts':
   Duration: 00:00:05.76, start: 1091.570889, bitrate: 3554 kb/s
   Program 1
     Stream #0:0[0x1011]: Video: h264 (Main) (HDMV / 0x564D4448),
 yuv420p(tv, bt709, progressive), 720x480 [SAR 32:27 DAR 16:9], 59.94 fps,
 59.94 tbr, 90k tbn, 119.88 tbc
     Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo,
 fltp, 384 kb/s
 Output #0, matroska, to 'out.mkv':
   Metadata:
     encoder         : Lavf57.82.101
     Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p(tv,
 bt709, progressive), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 59.94 fps,
 59.94 tbr, 1k tbn, 90k tbc
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp,
 384 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame=  338 fps=0.0 q=-1.0 Lsize=    2362kB time=00:00:05.64
 bitrate=3426.9kbits/s speed= 406x
 video:2092kB audio:266kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.203882%
 }}}
 {{{
 $ ffmpeg -i out.mkv
 ffmpeg version N-87363-g2ad1768 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 6.3.0 (GCC)
   configuration: --enable-gpl
   libavutil      55. 76.100 / 55. 76.100
   libavcodec     57.106.101 / 57.106.101
   libavformat    57. 82.101 / 57. 82.101
   libavdevice    57.  8.101 / 57.  8.101
   libavfilter     6.106.100 /  6.106.100
   libswscale      4.  7.103 /  4.  7.103
   libswresample   2.  8.100 /  2.  8.100
   libpostproc    54.  6.100 / 54.  6.100
 Input #0, matroska,webm, from 'out.mkv':
   Metadata:
     ENCODER         : Lavf57.82.101
   Duration: 00:00:05.76, start: 0.000000, bitrate: 3357 kb/s
     Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive),
 720x480 [SAR 32:27 DAR 16:9], 59.94 fps, 59.94 tbr, 1k tbn, 119.88 tbc
 (default)
     Metadata:
       DURATION        : 00:00:05.762000000
     Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s (default)
     Metadata:
       DURATION        : 00:00:05.664000000
 At least one output file must be specified
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6647#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list