[FFmpeg-trac] #4951(ffmpeg:new): Different frame rate using ts and mov containers

FFmpeg trac at avcodec.org
Tue Oct 20 16:53:58 CEST 2015

#4951: Different frame rate using ts and mov containers
             Reporter:  liamf91      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  2.8.1
             Keywords:  h264 mov ts  |               Blocked By:
  frame rate incorrect               |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
 I am using a udp video source @ 1080i, 25FPS, 25K bitrate, when I output
 into a .ts and use ffprobe the file shows 25 fps, 50 tbr, 90k tbn, 50 tbc

 I then change the file extension to be a mov and probe the file i get the
 following output 50 fps, 50 tbr, 90k tbn, 50 tbc.

 I am using the following command but just changing the file extension

 ffmpeg -i udp://@ -vcodec copy -acodec pcm_s16le -top 1

 The output from ffmpeg is the following

 Output #0, mov, to '/tmp/interlaced1080.mov':
     encoder         : Lavf56.40.101
     Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR
 1:1 DAR 16:9], q=2-31, 25 fps, 50 tbr, 90k tbn, 90k tbc
     Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo,
 s16, 1536 kb/s

 Which displays the it is outputting into the file at 25 fps but this isn't
 the same when I use ffprobe on the finished file.

 My version and build information is as follows

 ffmpeg version 2.8.1-static http://johnvansickle.com/ffmpeg/  Copyright
 (c) 2000-2015 the FFmpeg developers
   built with gcc 4.9.3 (Debian 4.9.3-4)

Ticket URL: <https://trac.ffmpeg.org/ticket/4951>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list