Opened 4 years ago
Last modified 4 years ago
#8595 new defect
some xmv files play too fast (framerate problem)
Reported by: | Anon-san | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | xmv dts |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
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.
xmv_files
I might not have this link online for longer so... make these files count I guess.
Change History (3)
comment:1 by , 4 years ago
Keywords: | xmv dts added |
---|---|
Reproduced by developer: | set |
Version: | unspecified → git-master |
comment:2 by , 4 years ago
on my end, the audio and video are never in sync with each other for whatever reason.
this tends to happen with the first two .xmv files.
comment:3 by , 4 years ago
can i change the subject here? i believe it has to do with .xmv files in some way.
so i played an .xmv file i found into ffplay today and ffplay warned me in regards to this file.
ffplay.exe -i xmv_04_uncommon_version_1_not_implemented.xmv -an ffplay version git-2020-04-13-59e3a9a Copyright (c) 2003-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 --disable-w32threads --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. 78.102 / 58. 78.102 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 [xmv @ 00000231b9b45b00] Uncommon version 1 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [xmv @ 00000231b9b45b00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) Input #0, xmv, from 'xmv_04_uncommon_version_1_not_implemented.xmv': Duration: 00:00:10.67, start: 0.000000, bitrate: 1182 kb/s Stream #0:0: Video: wmv2 (2VMW / 0x574D5632), yuv420p, 640x480, 25 fps, 25 tbr, 1k tbn Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s 6.27 M-V: -0.006 fd= 5 aq= 0KB vq= 0KB sq= 0B f=0/0
the "xmv_files" google drive folder has been updated to include said file.
I believe the issue is also reproducible with the third file (or it may have another issue).