-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frame properties #32
Comments
I can confirm this. |
True, no frame property handling at all. Neither has such feature in TIVTC nor in AviSynth+. |
now we got 2 issues with same content #18 |
I think "get rid" is not a good solution as a start, I think it's better to see if there are frame property or not, if no frame property then hints hack is used as usual also same as http://avisynth.nl/index.php/ConvertStacked , we may need "hints hack <> frame property" converter, there are MergeHints() in tivtc and some independent plugins like http://avisynth.nl/index.php/TelecideHints already |
Last year TIVTC was ported to VapourSynth, they have already made the complete transition to frame properties. It has to be 'only' backported while maintaining compatibility with old bit-hint stuff. |
Just for the record: Relevant commits: dubhater/vapoursynth-tivtc@6c6424a Unfortunately (for us) other things were modernized/rewritten as well, so a one-by-one backport is no longer possible. |
Please look at the first test build, which includes frame properties used by the VS port. |
seems ok, I always love how your test build work ok even if you said that you didn't test it at all :) but with https://www.mediafire.com/file/q2q0a64yosh79rz/INTRO.demuxed.m2v/file there are small diff
not in all frames but with some like 2322 (after ivtc) edit: I don't think it's a bug (rather than difference due to updates) but it might be, tfm part are 100% same aside from hints diffs in the top left, also I will be glad to see updates for #26 and #27 |
btw, the op problem ("_FieldBased" isn't changed (2/1->0)) still there |
I simply didn't have time to test, but of course I tried not to release a version which I knew there are fully unfinished parts (there was a couple of them which I left open; that's why I had some work with it last week and that was the reason I had not released this test earlier). I appreciate your help in testing, you have much broader insight in the topic than I have. TDeint is still unmodified, since it was not ported along with TIVTC to VapourSynth, so I didn't have ready-made modifications which I could simply pull and integrate into Avisynth code. If the property handling in TIVTC filters work, then credits go to dubhater, I just tried to backport the code properly and mix it with the existing hint handling. If there is a difference though, it must be investigated whether it is a backport bug or the result of a bug which was meanwhile fixed. |
yes I know that TDeint still not updated, but I think tfm should at least in most cases change _FieldBased to 0 |
Now _FieldBased is only read, and if exists, it gets priority over Avisynth's GetParity function. |
maybe the VapourSynth port not complete yet? from what I see it manly only removed hints hack and replace it with props anyway it's safe to make tfm write _FieldBased as 0 (since we got _Combed for pp 0 and 1), same for TDeint and I will ping @videoh @dubhater @myrsloik to see if they got another opinions |
Technically you should probably only set _FieldBased=0 after adjusting the chroma for the slightly different position. 99.99% of users won't care so setting _FieldBased=0 is correct too I guess. |
that only in 60i sections (_Combed=1) with 4:2:0, right? https://forum.doom9.org/showthread.php?p=1849482#post1849482 edit: I think the 30i/p sections also affected the pure hard telecined part affected? or it depends on the source and how they did the telecine? |
ok, I did read about chroma case, it seems kinda rare case and it can be anything from what I asked above, so it safe to set _FieldBased=0 in non 420 chroma, also in case of 420 and _ProgressiveFrame=1 frames |
Sorry, I'm ignorant and did not follow developments in other areas. Namely I need help on the _ProgressiveFrame. |
Asd-g/MPEG2DecPlus#9 (comment) it tell how the frame was encoded in the stream if there are no _ProgressiveFrame then tfm should act as usual (as there are no _ProgressiveFrame), you can delete it in tfm output but just in case better to leave it or delete it in TDecimate |
Hi. After TDeint and tfm/tdecimate the frame property "_FieldBased" isn't changed (2/1->0).
The text was updated successfully, but these errors were encountered: