Opened 7 years ago
Closed 7 years ago
#6590 closed defect (fixed)
weave filter produces video with incorrect field order
Reported by: | alexz | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | 3.2.4 | Keywords: | |
Cc: | alex@zagrebin.ru | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
weave filter produces interlaced video with an incorrect field order
How to reproduce:
- Create sample video (horizontally moving box) with a double frame rate (50)
ffmpeg -f lavfi -i "color=color=blue:size=352x288:rate=50:duration=3" \ -vf "color=white@1:size=50x50:rate=50:duration=3 [box]; [in][box] overlay=n*hsub:10" \ -codec:v ffv1 -level 3 output-50p.mkv
- Make an interlaced video with the first field top using weave filter
ffmpeg -i output-50p.mkv -aspect 4/3 \ -vf "weave=first_field=t" \ -codec:v ffv1 -level 3 output-25i.mkv
Despite mediainfo correctly identifies the resulting video (output-25i.mkv) as interlaced with the top field first, video playes "jerky". This is points to an incorrect field order.
Also the incorrect field order is visible in the frame's pictures, extracted with
ffmpeg -i output-25i.mkv %03d.png
Attached patch fixes the issue.
Attachments (1)
Change History (3)
by , 7 years ago
Attachment: | patch-libavfilter__vf_weave.c added |
---|
comment:1 by , 7 years ago
Cc: | added |
---|---|
Component: | undetermined → avfilter |
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in 16efcfe4138f9e60e01e3d477fd5c2721e060ee0.
Note:
See TracTickets
for help on using tickets.
weave filter patch