Opened 2 years ago

Last modified 18 months ago

#9586 new defect

Incorrect seeking on mp4

Reported by: Rikitiki Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Incorrect seeking on bbb_sunflower_2160p_30fps_normal.mp4

How to reproduce:

  1. unpack reproduce.7z to a folder
  2. copy ffmpeg executable to the unpacked folder
  3. download http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_30fps_normal.mp4 from http://bbb3d.renderfarming.net/download.html to the unpacked folder
  4. in run.cmd modify paths inside CONFIGURATION AREA if need
  5. execute run.cmd to get test data
  6. content of "%OUT_DIR%\14270.jpg" should be equal to "%OUT_DIR%\_out.jpg" but it is not true

In short, run.cmd does:

  1. extract pts_time for all frames via
%FFMPEG_CMD% -i "%INPUT_FILE%" -filter:v showinfo=checksum=False -f null - 2> "%OUT_DIR%\_out.txt"
  1. inside _out.txt, pts_time for frame n:14270 will be 475.733
  2. extract frame n:14270 via
%FFMPEG_CMD% -y -ss 475.733 -i "%INPUT_FILE%" -frames:v 1 -vsync drop "%OUT_DIR%\_out.jpg"
  1. extract all frames via
%FFMPEG_CMD% -y -i "%INPUT_FILE%" -vsync drop -start_number 0 "%OUT_DIR%\%%05d.jpg"

related tickets:
ticket:6315
ticket:5309
ticket:4554

Attachments (1)

reproduce.7z (565 bytes ) - added by Rikitiki 2 years ago.

Download all attachments as: .zip

Change History (4)

by Rikitiki, 2 years ago

Attachment: reproduce.7z added

comment:1 by Rikitiki, 2 years ago

Keywords: mp4 added

comment:2 by Rikitiki, 2 years ago

All frames with seeking error:

249, 486, 601, 602, 820, 821, 1071, 1189, 1190, 1440, 1561, 1810, 1811, 1950, 2044, 2212, 2269, 2334, 2395, 2396, 2529, 2779, 2821, 2822, 2872, 3121, 3122, 3247, 3496, 3497, 3669, 3756, 3834, 3936, 4186, 4435, 4436, 4521, 4603, 4810, 4954, 4955, 4999, 5029, 5116, 5117, 5170, 5217, 5413, 5414, 5461, 5462, 5545, 5794, 5795, 5970, 6037, 6038, 6124, 6125, 6255, 6307, 6308, 6354, 6396, 6544, 6745, 6844, 6918, 7027, 7028, 7104, 7354, 7390, 7391, 7435, 7684, 7685, 7740, 7789, 7790, 7840, 7915, 7965, 8014, 8015, 8065, 8115, 8239, 8240, 8467, 8468, 8521, 8572, 8671, 8920, 8921, 8995, 8996, 9043, 9286, 9379, 9380, 9505, 9646, 9706, 9795, 9841, 10090, 10091, 10159, 10160, 10323, 10573, 10822, 10823, 11073, 11311, 11391, 11479, 11480, 11565, 11815, 11854, 11905, 11965, 12013, 12014, 12121, 12279, 12442, 12443, 12493, 12494, 12613, 12614, 12649, 12650, 12730, 12731, 12786, 12859, 12860, 12922, 12923, 12955, 13204, 13205, 13348, 13597, 13598, 13683, 13933, 14182, 14183, 14269, 14270, 14316, 14536, 14580, 14644, 14645, 14719, 14845, 14846, 15096, 15346, 15595, 15596, 15846, 16096, 16345, 16346, 16596, 16846, 17095, 17096, 17346, 17596, 17845, 17846, 18096, 18346, 18559, 18560, 18810

comment:3 by Carl Eugen Hoyos, 18 months ago

Component: ffmpegundetermined
Keywords: mov added; mp4 removed
Version: 4.4.3unspecified

If this issue is reproducible with current FFmpeg git head please provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

Note: See TracTickets for help on using tickets.