Skip to content
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

Source loading as BFF when it's TFF #54

Open
rlaphoenix opened this issue Apr 8, 2023 · 2 comments
Open

Source loading as BFF when it's TFF #54

rlaphoenix opened this issue Apr 8, 2023 · 2 comments

Comments

@rlaphoenix
Copy link

rlaphoenix commented Apr 8, 2023

Sample: https://mega.nz/file/t9gjxTLY#ILclLeRtd5_NLoJZyqL1e5yjs_TpQMsO9Ym9_mAD0wc

DGIndex, MediaInfo, and MPV all recognize it as TFF,
DGIndex
MediaInfo

However, after loading it with core.d2v.Source() in VapourSynth, it loads as BFF,
VapourSynth

VapourSynth Script:

clip = core.d2v.Source("mmp_intro_sample.d2v")
clip = core.text.ClipInfo(clip)

--

This is causing Judder when bob deinterlaced as every 2 fields are out of order. It also confuses QTGMC and causes sort of "white luma ghosting" (no color, no outlines).

Judder showcase: https://mega.nz/file/VpgiSTJZ#dDqLpsDibPElEZv7EYn46Y9pGebzsYPiyVvFxxW17FI

The fix for me is to just run SetFieldBased to TFF. However, if a source is not 100.00% interlaced, doing this as a fix would be problematic.
Fix showcase: https://mega.nz/file/Mkw2zC5Y#N6wrjhNbfMAl9RFEkq1-B0dV4nBfCMCiJyUN9KjAg_k

@tvasenin
Copy link

tvasenin commented May 14, 2023

Ran into the same issue today -- TFF VOB, MediaInfo correctly detects it as TFF, D2VSource loads it as BFF.

What's especially interesting, DGIndex detects it as TFF during preview, but its D2V Parse feature prints the BFF order!

Could you run D2V Parse over your D2V file?

@tvasenin
Copy link

tvasenin commented May 15, 2023

Opened my VOB in VobEdit -- apparently, the video has Interlaced scan type, and the fields appear in the stream as bottom-then-top for every frame, but they are flagged as TFF=0!

Seems as an incorrect stream to me, though I'd like DGIndex to be smart enough to derive field order from the actual state of affairs when it contradicts TFF flag value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants