Opened 2 years ago
Closed 2 years ago
#9897 closed defect (invalid)
Discrepancies in video clips created from MP4 file based on Start second and duration in secs between ffmpeg command in windows and Ubuntu.
Reported by: | Prem | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: Discrepancies in video clips created from MP4 file based on Start second and duration in secs between ffmpeg command in windows and Ubuntu. The clip created on windows seems to be accurate but one created on ubuntu has extra secs. (Both uses fast seeking)
How to reproduce:
On windows
ffmpeg.exe -y -ss 20.0 -i 14c64d99-8315-4b00-af18-0dd80a4b87d8.MP4 -t 20.0 -f MP4 -c:v copy -c:a copy testwin.MP4 => this produces 20 secs clip
On Linux
ffmpeg -y -ss 20.0 -i 14c64d99-8315-4b00-af18-0dd80a4b87d8.MP4 -t 20.0 -f MP4 -c:v copy -c:a copy testlinux.MP4 => this produces 23 secs clip
ffmpeg windows version
ffmpeg version N-103591-geeab62ad2d Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 7.3-win32 (GCC) 20180312
configuration: prefix=./production --cross-prefix=x86_64-w64-mingw32- --target-os=mingw64 --arch=x86_64 --enable-static --enable-libfreetype --enable-libx264 --enable-libopus
libavutil 57. 5.100 / 57. 5.100
libavcodec 59. 7.103 / 59. 7.103
libavformat 59. 5.100 / 59. 5.100
libavdevice 59. 0.101 / 59. 0.101
libavfilter 8. 9.100 / 8. 9.100
libswscale 6. 1.100 / 6. 1.100
libswresample 4. 0.100 / 4. 0.100
ffmpeg linux version
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Attachments (1)
Change History (2)
by , 2 years ago
Attachment: | 14c64d99-8315-4b00-af18-0dd80a4b87d8.MP4 added |
---|
comment:1 by , 2 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Two different versions of FFmpeg are not guaranteed to produce identical output.
sample input file