[FFmpeg-trac] #8595(undetermined:new): some xmv files play too fast (framerate problem)

FFmpeg trac at avcodec.org
Thu Apr 2 06:02:15 EEST 2020


#8595: some xmv files play too fast (framerate problem)
-------------------------------------+-------------------------------------
             Reporter:  zhidd        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Any .xmv file that has 29.97 fps (or anything more thna that) as its
 sample rate will have ffmpeg/ffplay/ffprobe display the wrong duration for
 said file and on ffplay said file is played too fast (as in, double the
 sample rate it is holding). By contrast, any .xmv file that has 25 fps as
 its sample rate will display correct duration info on
 ffmpeg/ffplay/ffprobe and is played correctly on ffplay.

 How to reproduce:
 {{{
 % ffprobe.exe -i xmv_01_video_plays_too_fast.xmv
 ffprobe version git-2020-04-01-afa5e38 Copyright (c) 2007-2020 the FFmpeg
 developers
   built with gcc 9.3.1 (GCC) 20200328
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-
 amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-
 libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-
 cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
 --enable-avisynth --enable-libopenmpt --enable-amf
   libavutil      56. 42.102 / 56. 42.102
   libavcodec     58. 77.101 / 58. 77.101
   libavformat    58. 42.100 / 58. 42.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 77.101 /  7. 77.101
   libswscale      5.  6.101 /  5.  6.101
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
 Input #0, xmv, from 'xmv_01_video_plays_too_fast.xmv':
   Duration: 00:00:44.75, start: 0.000000, bitrate: 522 kb/s
     Stream #0:0: Video: wmv2 (2VMW / 0x574D5632), yuv420p, 640x480, 30.30
 fps, 30.30 tbr, 1k tbn
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
 channels, s16, 1411 kb/s
 }}}
 {{{
 % ffprobe.exe -i xmv_02_video_plays_too_fast.xmv
 ffprobe version git-2020-04-01-afa5e38 Copyright (c) 2007-2020 the FFmpeg
 developers
   built with gcc 9.3.1 (GCC) 20200328
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-
 amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-
 libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-
 cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
 --enable-avisynth --enable-libopenmpt --enable-amf
   libavutil      56. 42.102 / 56. 42.102
   libavcodec     58. 77.101 / 58. 77.101
   libavformat    58. 42.100 / 58. 42.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 77.101 /  7. 77.101
   libswscale      5.  6.101 /  5.  6.101
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
 Input #0, xmv, from 'xmv_02_video_plays_too_fast.xmv':
   Duration: 00:04:17.72, start: 0.000000, bitrate: 786 kb/s
     Stream #0:0: Video: wmv2 (2VMW / 0x574D5632), yuv420p, 640x480, 29.97
 fps, 29.97 tbr, 1k tbn
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
 channels, s16, 1411 kb/s
 }}}
 {{{
 % ffprobe.exe -i xmv_03_video_plays_correctly.xmv
 ffprobe version git-2020-04-01-afa5e38 Copyright (c) 2007-2020 the FFmpeg
 developers
   built with gcc 9.3.1 (GCC) 20200328
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-
 amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-
 libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-
 cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
 --enable-avisynth --enable-libopenmpt --enable-amf
   libavutil      56. 42.102 / 56. 42.102
   libavcodec     58. 77.101 / 58. 77.101
   libavformat    58. 42.100 / 58. 42.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 77.101 /  7. 77.101
   libswscale      5.  6.101 /  5.  6.101
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
 Input #0, xmv, from 'xmv_03_video_plays_correctly.xmv':
   Duration: 00:06:15.52, start: 0.000000, bitrate: 1869 kb/s
     Stream #0:0: Video: wmv2 (2VMW / 0x574D5632), yuv420p, 512x480, 25
 fps, 25 tbr, 1k tbn
     Stream #0:1: Audio: adpcm_ima_wav (i[0][0][0] / 0x0069), 44100 Hz, 2
 channels, s16p, 352 kb/s
 }}}

 The original filenames for these .xmv files were deliberately changed for
 clarity sake.
 These files can be found here.
 [https://drive.google.com/open?id=1Z-vPcbZiz8q9yJxcHFYSeDi1Ra7JL3UA
 xmv_files]
 I might not have this link online for longer so... make these files count
 I guess.

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


More information about the FFmpeg-trac mailing list