View Full Version : Frame properties
Cary Knoop
18th August 2020, 19:40
I am having an interlaced TFF m2v video file extracted from a DVD, showing _FieldBased = 0.
I am opening the file using ffms2.Source()
What could be the reason _FieldBased is incorrect. The other properties seem to have transferred correctly.
MediaInfo flags the video file appropriately.
Jukus
18th August 2020, 20:53
There are a lot of such cases and there is nothing to pay attention to. The image can be progressive, and MediaInfo can show that it is interlaced. Telecined MediaInfo cannot determine at all.
For indexing it is better to use d2v.
Cary Knoop
18th August 2020, 21:36
There are a lot of such cases and there is nothing to pay attention to. The image can be progressive, and MediaInfo can show that it is interlaced. Telecined MediaInfo cannot determine at all.
For indexing it is better to use d2v.
What do you mean there is nothing to pay attention to?
As I wrote before the media is interlaced TFF, MediaInfo correctly identifies it as such but by loading it using ffm2 the _FieldBased property shows 0 (which means progressive).
Myrsloik
18th August 2020, 21:58
What do you mean there is nothing to pay attention to?
As I wrote before the media is interlaced TFF, MediaInfo correctly identifies it as such but by loading it using ffm2 the _FieldBased property shows 0 (which means progressive).
Use d2vsource. It's specialized for this. And FFMS2 can be correct that the frames are indeed progressive what you call "interlaced" is simply RFF flags (which FFMS2 doesn't apply by default).
Cary Knoop
18th August 2020, 22:08
And FFMS2 can be correct that the frames are indeed progressive what you call "interlaced" is simply RFF flags.
As I wrote now three times the source is interlaced.
So the bug is in ffms2?
Myrsloik
18th August 2020, 22:23
As I wrote now three times the source is interlaced.
So the bug is in ffms2?
MY CODE IS PERFECT.
Also, no sample provided.
Cary Knoop
18th August 2020, 22:33
MY CODE IS PERFECT.
Also, no sample provided.
Here is a sample:
https://www.dropbox.com/s/z5w91wpm4fwx76u/sample.demuxed.m2v?dl=0
Jukus
18th August 2020, 22:36
What do you mean there is nothing to pay attention to?
As I wrote before the media is interlaced TFF, MediaInfo correctly identifies it as such but by loading it using ffm2 the _FieldBased property shows 0 (which means progressive).
The video needs to be assessed only visually, it makes no sense what any program defines.
poisondeathray
18th August 2020, 22:43
it's interlaced content (motion every field when separated) , encoding is interlaced TFF, metadata is interaced , FrameProps says FieldBased=2 for me
Maybe you are using old ffms2?
_Al_
18th August 2020, 23:11
Here is a sample:
https://www.dropbox.com/s/z5w91wpm4fwx76u/sample.demuxed.m2v?dl=0first frame props:
_AbsoluteTime 0.0
_ChromaLocation 0=left
_ColorRange 1=limited range
_DurationDen 30000
_DurationNum 1001
_FieldBased 2=top field first
_Matrix 6=170m
_PictType I
_Primaries 6=170m
_SARDen 9
_SARNum 8
_Transfer 6=601
Cary Knoop
18th August 2020, 23:16
This is how I obtain the properties:
properties = dict(c.get_frame(0).props)
_Al_
18th August 2020, 23:19
yes,that's the way:
{'_AbsoluteTime': 0.0, '_ChromaLocation': 0, '_ColorRange': 1, '_DurationDen': 30000, '_DurationNum': 1001, '_FieldBased': 2, '_Matrix': 6, '_PictType': b'I', '_Primaries': 6, '_SARDen': 9, '_SARNum': 8, '_Transfer': 6}
Cary Knoop
18th August 2020, 23:19
first frame props:
_AbsoluteTime 0.0
_ChromaLocation 0=left
_ColorRange 1=limited range
_DurationDen 30000
_DurationNum 1001
_FieldBased 2=top field first
_Matrix 6=170m
_PictType I
_Primaries 6=170m
_SARDen 9
_SARNum 8
_Transfer 6=601
I get everything the same except for:
_FieldBased = 0
_PictType = b'P
I am running ffms2 version 2.23.
_Al_
18th August 2020, 23:36
How do i get version for a ffms2.dll plugin?
Cary Knoop
18th August 2020, 23:47
How do i get version for a ffms2.dll plugin?
I use VSRepo
poisondeathray
19th August 2020, 00:09
ffms2 from vsrepo is from 2016-10-18
Try this one
http://forum.doom9.net/showthread.php?p=1906345#post1906345
Cary Knoop
19th August 2020, 00:15
ffms2 from vsrepo is from 2016-10-18
Try this one
http://forum.doom9.net/showthread.php?p=1906345#post1906345
Yes, that did it!
Thanks!
Should the vsrepo administrator (is there one?) be notified?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.