Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered Loser
Join Date: Dec 2004
Posts: 119
|
What to do with 25fps Progressive Blu-Ray Encodes?
I have various blu-rays from the UK which are encoded at 25fps progressive, but because of the lack of a progressive blu-ray 25fps standard, are "flagged" as MBAFF interlaced.
However, when I use the idet filter with ffmpeg, many of these files have anywhere from 10-70 interlaced frames (TFF) out of a random 1000 sample set, and when I seek in MPC-HC, I could swear that I'm seeing interlaced jaggies, but they are obviously less pronounced then on a PAL DVD due to resolution. So, how would you guys handle these? Would you:
|
![]() |
![]() |
![]() |
#2 | Link | |
Registered User
Join Date: Apr 2008
Posts: 420
|
http://avisynth.nl/index.php/TIVTC/TFM
Just use TFM, it will join the progressive fields and deinterlace the combed frames, you can even use QTGMC as a deinterlacer like so Quote:
I use that script for a source that I know has mixed progressive and interlaced material but if I know a source is fully progressive but has a few combed frames here and there because of reasons, then I would set pp > 5. PS: Hint is set false because there is no need to produce hints for a decimation filter. |
|
![]() |
![]() |
![]() |
#3 | Link | |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,869
|
Quote:
Check it in something frame accurate at 1:1 pixel, e.g. VDub with ffmpeg input plugin. |
|
![]() |
![]() |
![]() |
#4 | Link |
Registered Loser
Join Date: Dec 2004
Posts: 119
|
I looked at a particular section. I don't know the technical names for it, but there was a scene where where a hand starts fading into view around frame 50 of the below clip. That's progressive. The pedestal that starts fading into view is interlaced as you can see it visually change every frame even with the fields separated.
I've saved a clip where I used AssumeTFF() and SeparateFields() and saved the resultant frames as an AVI. And of course, the end credits are interlaced as well. Please let me know if I'm wrong with the above conclusion. https://mega.nz/#!aco3mIQa!Xpd_QqUS0...NPLlj0D7SS6ikg |
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,869
|
For me it looks like a famous problem when interpreting progressive footage as interlaced when working on it in progressive project.
When you export this you end up with jagged lines (lost vertical resolution). It's quite common on BBC (and not only) masters, seen it many times when working on their content. They were strangely "happy with it". When it happens in some places maybe these were re-editied etc. The biggest problem is that there is no good way of fixing this issue. One of the best solutions which I found is to scale these places vertically 2x down and then upscale with NNEDI3 etc. I would simply ignore it and treat whole thing as progressive. These are simply badly mastered discs with no easy fix. Last edited by kolak; 6th August 2017 at 19:43. |
![]() |
![]() |
![]() |
#7 | Link |
Registered Loser
Join Date: Dec 2004
Posts: 119
|
I could upload the 700mb AVI from virtualdub, but that mp4 is lossless -- figured it would be good enough. Instead, I've used ffmpeg to output the raw streamcopy to an MKV here. This has no modifications other than trim().
https://mega.nz/#!6ZZw3J7T!3L5HNM5fM...XLfX_xN77qajL0 |
![]() |
![]() |
![]() |
#8 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,625
|
Quote:
It probably doesn't matter here, but in the future keep in mind this is not a "raw streamcopy", or at least not one that is unprocessed. Using trim() means you are using avisynth, which means you are subject to whatever decoding pathway you have set up (it's been decoded, and possibly processed). You should cut from the original with something like tsmuxer . Not only will filesize be several times smaller (when you decode it using an avisynth source filter, it becomes uncompressed) , that will ensure no quality loss, or decoding issues , or unforseen processing variables (some source filters might be set to deinterlace or add post processing, especially directshow based) - and you never mentioned how you are loading it in avisynth. If you cut it with ffmpeg using streamcopy instead of avisynth, then yes that would be acceptable, because it would not have been decoded But assuming this was representative without any other processing issues, it looks progressive. It's a crossfade - that's what it's supposed to look like. The up/down motion when you separate fields is from the even/odd field offset. That is normal for progressive. There is no clear indication of different moments in time represented each field. Pay attention to the zoom movement in - if it was interlaced content, then you would see zoom increasing every field during that crossfade. You do not here, thus it's progressive However, some of the other content on the disc - behinds the scenes, etc.. those are interlaced for sure. |
|
![]() |
![]() |
![]() |
#9 | Link |
Registered Loser
Join Date: Dec 2004
Posts: 119
|
I guess I'm still trying to figure out where these interlaced frames are then, because looking at 100 frames is fairly trivial and nothing else comes close. Could this have "fooled" the idet filter in ffmpeg to thinking it was interlaced?
|
![]() |
![]() |
![]() |
#10 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,625
|
Quote:
If it was truly an "interlaced frame" - by that I mean 2 sequential fields representing 2 different moments in time - then you would see horizontal combing artifacts when there was motion. There can be other explanations for what you think you "saw" in the 1st post. The media player could be processing it improperly. For example , a blind deinterlace applied will cause aliasing or jaggies on progressive content. With the exception of the old series first couple seasons, Doctor Who should all be progressive (except some extras, behind the scenes, which are interlaced). There might be some sections improperly processed, but I doubt it. Last edited by poisondeathray; 6th August 2017 at 23:14. |
|
![]() |
![]() |
![]() |
#11 | Link | |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,869
|
Quote:
You have to make sure no processing is involved and look at 1:1 pixels. You can use mentioned Vdub. I'm not sure what you are seeing as for me your example is no near to be real interlaced content. Don't try to judge anything when you putting video through some avisynth script with a lot of processing. Don't rely on any automated interlacing detection- it's never 100% accurate. You have to adjust parameters and learn how to interpret results. Last edited by kolak; 6th August 2017 at 23:18. |
|
![]() |
![]() |
![]() |
#12 | Link |
Registered User
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 266
|
25fps progressive isn't valid for BluRay. Whether it's progressive content mixed with interlaced or not, the entire video would have to be encoded as interlaced if it's going to be official "BluRay" and encoded as MPEG or as h.264/AVC. A BluRay program stream file can be edited (cut on full GOP's) without re-encoding and without container changes by any number of free programs from TSMuxer on, or by trial versions of VideoReDo or TMPGEnc Smart Renderer. Even a full MediaInfo report would be better than all the mashuguna sample processing you're going thru. I keep wondering why this is getting so complicated. And since when is "BluRay" encoded at 1920x540 @ 50fps, as your sample was? I guess I missed something, so maybe I should pass.
Last edited by LemMotlow; 7th August 2017 at 08:21. |
![]() |
![]() |
![]() |
#13 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,657
|
It's not unheard of for the odd bit of interlaced footage to sneak through into a modern episode of Doctor Who - post-production shake effects or screen inserts, for example - but it's very rare and there's none evident in your sample.
|
![]() |
![]() |
![]() |
Tags |
25fps, bbc, idet, interlaced, qtgmc |
Thread Tools | Search this Thread |
Display Modes | |
|
|