Opened 12 years ago

Closed 11 years ago

#1238 closed defect (fixed)

Overlaying is late for one frame!

Reported by: Stanislav Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: overlay
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Hi!

I try to overlay the same scaled frame on each frame of my video:

ffmpeg -i Video.m2v -vf "split [out1] [out2]; [out2] scale=iw/4:ih/4 [patch1]; [out1] [patch1] overlay=20:50 [out]" -target pal-dvd -y Video_new.m2v

And I see that overlaying is late for one frame!
Log-file and screenshots of frames in attachment.

You can take any video with quick frame change and you will see.

Attachments (5)

ffmpeg.log (2.9 KB ) - added by Stanislav 12 years ago.
Log of ffmpeg
frame0.png (19.9 KB ) - added by Stanislav 12 years ago.
Frame #0
frame511.png (517.3 KB ) - added by Stanislav 12 years ago.
Frame #511
frame512.png (107.0 KB ) - added by Stanislav 12 years ago.
Frame #512
frame513.png (169.6 KB ) - added by Stanislav 12 years ago.
Frame #513

Download all attachments as: .zip

Change History (9)

by Stanislav, 12 years ago

Attachment: ffmpeg.log added

Log of ffmpeg

by Stanislav, 12 years ago

Attachment: frame0.png added

Frame #0

by Stanislav, 12 years ago

Attachment: frame511.png added

Frame #511

by Stanislav, 12 years ago

Attachment: frame512.png added

Frame #512

by Stanislav, 12 years ago

Attachment: frame513.png added

Frame #513

comment:1 by Carl Eugen Hoyos, 12 years ago

Priority: importantnormal
Status: newopen

Do you think this is a regression?

comment:2 by Stanislav, 12 years ago

I don't know. I've never had to face this situation.

comment:3 by Cigaes, 12 years ago

Reproduced by developer: set

Confirmed with -vf (and -f lavfi -i testsrc as input) but not with -f lavfi.

I will be reworking the whole scheduling logic of filters, including vf_overlay. I'll keep in mind to check that particular case.

comment:4 by Carl Eugen Hoyos, 11 years ago

Keywords: split buffer removed
Resolution: fixed
Status: openclosed

This is supposed to be fixed in current git head (and 1.0), please reopen if you can still reproduce the problem.

Note: See TracTickets for help on using tickets.