[FFmpeg-user] best_effort_timestamp_time

Wolfgang Hugemann auto at hugemann.de
Wed Jan 17 12:15:54 EET 2018


> (Assuming the camera does not use FFmpeg as firmware
> which is very unlikely.)
> You have a problem here.
> The input you are analyzing is not the stream that was
> created by the traffic camera but a file created with FFmpeg.
> So while there may absolutely be an issue (that we may or
> may not be able to fix), this file cannot be used to prove
> anything in court, I strongly suggest you do not try.
> 
> The camera either produced a network stream or a raw
> H.264 stream. You hopefully still have access to it and
> FFmpeg may help you analyzing it.
> (Although H.264 timestamps are a known issue with
> FFmpeg and who knows if the camera manufacturer
> did any better with them than we did.)

Sorry - too much experimenting by me. In order to quicken the analysis, I cropped the original video with ffmpeg using "-vcodec copy -acodec copy" ...

So this is the output for the original video (I am on another computer now, running a slightly older version of ffmpeg) - the original question however remains the same:

ffprobe -show_frames -show_entries frame=best_effort_timestamp_time,key_frame,pict_type -i original.avi -of compact

ffprobe version 3.2.2 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --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-lzma --enable-decklink --enable-zlib
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[avi @ 002eaee0] sample size (1) != block align (2)
Input #0, avi, from 'C:\Temp\___Motorradvideo\20150424_200000_0301.avi':
  Duration: 00:05:01.00, start: 0.000000, bitrate: 437 kb/s
    Stream #0:0: Video: h264 (Constrained Baseline) (H264 / 0x34363248), yuv420p(progressive), 704x576, 304 kb/s, 6 fps, 6 tbr, 6 tbn, 12 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, 1 channels, s16, 128 kb/s

frame|key_frame=1|best_effort_timestamp_time=0.000000
frame|key_frame=1|best_effort_timestamp_time=0.060125
frame|key_frame=1|best_effort_timestamp_time=0.000000|pict_type=I
frame|key_frame=1|best_effort_timestamp_time=0.120250
frame|key_frame=1|best_effort_timestamp_time=0.180375
frame|key_frame=0|best_effort_timestamp_time=0.166667|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.240500
frame|key_frame=1|best_effort_timestamp_time=0.300625
frame|key_frame=1|best_effort_timestamp_time=0.360750
frame|key_frame=0|best_effort_timestamp_time=0.333333|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.420875
frame|key_frame=1|best_effort_timestamp_time=0.481000
frame|key_frame=1|best_effort_timestamp_time=0.541125
frame|key_frame=0|best_effort_timestamp_time=0.500000|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.601250
frame|key_frame=1|best_effort_timestamp_time=0.661375
frame|key_frame=0|best_effort_timestamp_time=0.666667|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.721500
frame|key_frame=1|best_effort_timestamp_time=0.781625
frame|key_frame=1|best_effort_timestamp_time=0.841750
frame|key_frame=0|best_effort_timestamp_time=0.833333|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.901875
frame|key_frame=1|best_effort_timestamp_time=0.962000
frame|key_frame=1|best_effort_timestamp_time=1.022125
frame|key_frame=1|best_effort_timestamp_time=1.000000|pict_type=I


More information about the ffmpeg-user mailing list