[FFmpeg-trac] #7767(undetermined:new): FFmpeg return wrong FPS value
FFmpeg
trac at avcodec.org
Sun Mar 3 11:49:09 EET 2019
#7767: FFmpeg return wrong FPS value
-------------------------------------+-------------------------------------
Reporter: Atarikid | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
In some cases FFmpeg returns a wrong (negative) FPS.
This can lead to all sort of issues.
FFmpeg log:
atarimbs:~ atari$ /Users/atari/Desktop/ffmpeg -i /Users/atari/Desktop/fps\
error.mkv
ffmpeg version N-93020-g3224d6691c-tessus https://evermeet.cx/ffmpeg/
Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-
version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libaom --enable-libass --enable-libbluray --enable-libdav1d
--enable-libfreetype --enable-libgsm --enable-libmodplug --enable-
libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-
libopus --enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq
--enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-
ffplay
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 44.100 / 58. 44.100
libavformat 58. 26.100 / 58. 26.100
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, matroska,webm, from '/Users/atari/Desktop/fps error.mkv':
Metadata:
encoder : GStreamer plugin version 0.10.14
creation_time : 2018-06-03T17:24:09.000000Z
Duration: 00:00:10.20, start: 0.284000, bitrate: 2280 kb/s
Stream #0:0(eng): Audio: pcm_s16le, 8000 Hz, mono, s16, 128 kb/s
(default)
Metadata:
title : Audio
Stream #0:1(eng): Video: mpeg4 (Advanced Simple Profile) (DIVX /
0x58564944), yuv420p, 720x576 [SAR 1:1 DAR 5:4], -30000.00 fps, 1k tbr, 1k
tbn, 30k tbc (default)
Metadata:
title : Video
At least one output file must be specified
As you may notice, this example returns a FPS value of -30000,0
Example file attached
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7767>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list