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

FFmpeg trac at avcodec.org
Wed Oct 21 10:49:13 CEST 2015


#4951: Different frame rate using ts and mov containers
-------------------------------------+-------------------------------------
             Reporter:  liamf91      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  2.8.1        |  undetermined
             Keywords:  h264 mov     |               Resolution:
  mpegts                             |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by liamf91):

 I am using the latest static build available from the ffmpeg website. I
 have also tried this with the latest ffmpeg deb build.


 {{{
 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)
   configuration: --enable-gpl --enable-version3 --disable-shared
 --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-
 libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-
 libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls
 --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi
 --cc=gcc-4.9
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 Hyper fast Audio and Video encoder
 usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
 outfile}...

 }}}



 The command line I used to wrap into the ts container is:


 {{{
 ffmpeg -i udp://@239.200.90.1:11080 -vcodec copy -acodec pcm_s16le -top 1
 /tmp/interlaced1080.ts
 }}}


 the command line i used to wrap into the mov container is:

 {{{

 ffmpeg -i udp://@239.200.90.1:11080 -vcodec copy -acodec pcm_s16le -top 1
 /tmp/interlaced1080.ts
 }}}

 Other than changing the file extensions these are the exact same command.
 When I probe the files after I have finished writing to them, the frame
 rate is different in the mov than in the ts. As you can see I am using
 copy option for the video codec and as the source is @ 25FPS i am not
 aware of any reason why these should differ.

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


More information about the FFmpeg-trac mailing list