Opened 3 years ago
Closed 16 months ago
#7066 closed enhancement (fixed)
Video filter enhancement: fieldhint
Reported by: | ssp43 | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avfilter |
Version: | unspecified | Keywords: | fieldhint |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Hi,
Could you please implement a case when the filter (fieldhint) creates a frame using only one field.
Example of a file containing hints (relative mode):
0,0 - # first frame 1,0 - # second frame 1,0 - # third frame 1,0 - 0,0 - 0,0 - 1,0 - ,0 - 1,0 - 0,0 - 0,0 - 1, - 1,0 - 1,0 - 0,0 -
Some lines contain only one figure - that means 'use only one field to create this frame'.
Sometimes interlaced videos contain errors like missing frame between two adjacent frames. In this case, you can only use one field to create a frame.
Thank you.
Change History (11)
comment:1 Changed 3 years ago by cehoyos
- Priority changed from normal to wish
comment:2 Changed 3 years ago by ssp43
comment:3 follow-up: ↓ 4 Changed 3 years ago by richardpl
Do you have short sample where this would be useful?
comment:4 in reply to: ↑ 3 Changed 3 years ago by ssp43
comment:5 Changed 3 years ago by richardpl
Upload sample somewhere and post a link.
comment:6 Changed 3 years ago by ssp43
This is a BFF interlaced video:
comment:7 Changed 3 years ago by richardpl
Don't tell me you use this filter for deinterlacing?
comment:8 Changed 3 years ago by ssp43
Why not in case of 25i TFF or BFF?
What are you using it for?
comment:9 Changed 3 years ago by richardpl
For fieldmatching strange patterns other ivtc filters can not handle.
comment:10 Changed 3 years ago by ssp43
To be honest I didn't understand what you meant.
I used this hint file:
http://dropmefiles.com/Yanvx
and this command:
ffmpeg -i komandirovka-002.mkv -vf fieldhint=fieldhint.txt:mode=relative %06d.png
Have a look at files 000014.png and 000144.png
comment:11 Changed 16 months ago by richardpl
- Resolution set to fixed
- Status changed from new to closed
Another reason to implement this case is that one of two fields can be broken.