Opened 6 years ago
Closed 6 years ago
#7767 closed defect (needs_more_info)
FFmpeg return wrong FPS value
Reported by: | Atarikid | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
I tried to add the example file but it is 2.8MB and apparently the limit is 2.5MB. I cannot trim the file. So I need a way to upload a little but more than 2.5MB.
comment:5 by , 6 years ago
Resolution: | → needs_more_info |
---|---|
Status: | new → closed |
Please provide your input file.