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. |
2nd June 2010, 06:38 | #301 | Link |
Registered User
Join Date: May 2010
Posts: 24
|
I've been observing this in a short test:
Source: 25fps PAL true progressive. Aim: to make a 25fps PAL DVD preserving the progressive frames 1st Attempt (Progressive Frame=On; TFF=on; Progressive Sequence=off) This is what is advised as CCE-like output. Plays fine on interlaced PAL displays. On two progressive-scan PAL players (different brands), with progressive PAL displays (different brands), very obvious combing artefacts. Perhaps players are wrongly assuming from TFF flag that frames are interlaced? 2nd Attempt (Progressive Frame=On; TFF=on; Progressive Sequence=on) Same problem. It seems that the TFF throws the tested progressive scan models off. 3rd Attempt (Progressive Frame=On; TFF=off; Progressive Sequence=on) Now displays are just "normal". Note that this is the old HCEnc and QuEnc behaviour with "progressive" encodes. It seems that Procoder also behaves this way: http://forum.doom9.org/showthread.ph...53#post1061653 But ... it is said that Progressive_Sequence=On is out of spec for DVD??? http://forum.videohelp.com/threads/2...=1#post1378458 [Note: I cannot find such a remark in the current version of the DVD FAQ] In another discussion about menus, users are advised to set Prog_frame and Prog_seq both to ON even though these are "theoretical spec violations"?? http://www.dvdafteredit.com/node/1433 Oh, what is happening and how does one make a proper 25fps progressive DVD? Last edited by Koutsoubos; 2nd June 2010 at 08:09. |
3rd June 2010, 05:17 | #302 | Link |
Registered User
Join Date: May 2010
Posts: 24
|
Actually, is it actually known as a fact that progressive_sequence=ON is out of spec in DVDs? (Of course those who really know are under NDA)
See here, where a Progressive_sequence problem is flagged for the reason: "progressive_sequence shall be 1 when the vertical_size equals 240": http://www.ip.philips.com/download_a.../4119/4119.pdf |
4th June 2010, 23:53 | #308 | Link |
HCenc author
Join Date: Nov 2003
Location: Netherlands
Posts: 570
|
@Koutsoubos
This table can be found on the web, the "Pulldown Table of Truth" Code:
nr prog prog pic TFF RFF seq frame struct 1 0 0 Field 0 0 First coded field displayed first (TB or BT) 2 0 0 Field 0 1 Illegal combination 3 0 0 Field 1 0 Illegal combination 4 0 0 Field 1 1 Illegal combination 5 0 0 Frame 0 0 Bottom first, 2 fields displayed (BT) 6 0 0 Frame 0 1 Illegal combination 7 0 0 Frame 1 0 Top first, 2 fields displayed (TB) 8 0 0 Frame 1 1 Illegal combination 9 0 1 Field 0 0 Illegal combination 10 0 1 Field 0 1 Illegal combination 11 0 1 Field 1 0 Illegal combination 12 0 1 Field 1 1 Illegal combination 13 0 1 Frame 0 0 Bottom first, 2 fields displayed (BT) 14 0 1 Frame 0 1 Bottom first, 3 fields displayed (BTB) 15 0 1 Frame 1 0 Top first, 2 fields displayed (TB) 16 0 1 Frame 1 1 Top first, 3 fields displayed (TBT) 17 1 0 Field 0 0 Illegal combination 18 1 0 Field 0 1 Illegal combination 19 1 0 Field 1 0 Illegal combination 20 1 0 Field 1 1 Illegal combination 21 1 0 Frame 0 0 Illegal combination 22 1 0 Frame 0 1 Illegal combination 23 1 0 Frame 1 0 Illegal combination 24 1 0 Frame 1 1 Illegal combination 25 1 1 Field 0 0 Illegal combination 26 1 1 Field 0 1 Illegal combination 27 1 1 Field 1 0 Illegal combination 28 1 1 Field 1 1 Illegal combination 29 1 1 Frame 0 0 1 prog frame displayed 30 1 1 Frame 0 1 2 progressive frames displayed (illegal in MP@ML) 31 1 1 Frame 1 0 Illegal combination 32 1 1 Frame 1 1 3 progressive frames displayed (illegal in MP@ML) Your 2nd attempt is illegal (nr 31). The 3rd attempt should be OK (nr 29) But according to the author of "DVD Demystified", MPEG2 video for DVD is limited to non-progressive sequences.
__________________
HCenc at: http://hank315.nl |
5th June 2010, 13:38 | #309 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Using the 04-04-2010 beta, is the TFF flag being set by default on progressive encodes? ReStream seems to think so, at any rate. If it is, how can I turn it off? My .ini does not include the *TFF option - I actually used the *PROG_SEQ option but the resulting encode didn't have that flag set, again according to ReStream. This is why I'm thinking it's flagging for TFF and then ignoring the PROG_SEQ parameter.
I ask, because I was encoding 25fps material and then using DGPulldown for 25->29.97. On playback in MPC, the files had line jumping issues that went away if I opened the .m2v in ReStream, set the Progressive Sequence header, and then remuxed. |
6th June 2010, 00:05 | #310 | Link |
HCenc author
Join Date: Nov 2003
Location: Netherlands
Posts: 570
|
No, the 04-04-2010 beta doesn't set TFF by default.
But if the stream has been processed by DGPulldown, some frames will have the TFF set, it's just the way pulldown works. I don't know how Restream handles pulldowned streams. In HCenc you can always disable TFF by using the *BFF command, this will clear the TFF flag.
__________________
HCenc at: http://hank315.nl |
8th June 2010, 04:23 | #311 | Link | |
Registered User
Join Date: May 2010
Posts: 24
|
Quote:
Thanks for replying. I don't know much about the "Pulldown Table of Truth". This is the first time I have heard of it. The 1st attempt is HCenc's current behaviour (granted that the TFF has to be set manually). This gives Progressive_Frame=ON; TFF=ON; Progressive_Sequence=OFF This "legal" attempt is what's giving artifacts on my progressive setups. The 3rd attempt was HCenc's default behaviour prior to the 04-04-10 version. Previous versions would give Progressive_Frame=ON; TFF=OFF; Progressive_Sequence=ON. The 3rd attempt, albeit "illegal", is displaying fine on my progressive and interlaced setups !? Prior to 040410, the 3rd attempt would also be the output if I clicked on the "ensure DVD compliance" option. [Bear in mind that my source is absolutely kosher 25fps PAL progressive. I don't know about NTSC or pulldowns, which may involve other conventions or rule-sets.] 1) The $64000 question is, what set of flags should I adopt? A lot will have to depend on whether Progressive_sequence=ON is allowed in DVD MPEG2 spec. We have only very obscure and indirect references. Frankly I have my doubts and would really appreciate something more direct and authoritative. 2) This comment from DVD FAQ #3.4: In the case of 24 fps source, the encoder embeds MPEG-2 repeat_first_field flags into the video stream to make the decoder either perform 2-3 pulldown for 60Hz NTSC displays (actually 59.94Hz) or 2-2 pulldown (with resulting 4% speedup) for 50Hz PAL/SECAM displays. In other words, the player doesn't "know" what the encoded rate is, it simply follows the MPEG-2 encoder's instructions to produce the predetermined display rate of 25 fps or 29.97 fps.The $128,000 question. Can I feed the 25fps source into HCEnce as 24fps, so that HCEnc adds the 2:2: pulldown flags for PAL encoding? What would the flags be, or maybe I should ask what flags I should activate then? Last edited by Koutsoubos; 8th June 2010 at 09:30. |
|
8th June 2010, 12:38 | #312 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Yeah, my previous inquiry as to the TFF flags and PROG_SEQ option were wrong. I re-did some of the tests and found out that what I was seeing was related to the fact that pulldown sets TFF flags normally - in specific, it's that DGPulldown removes the PROG_SEQ header when performing pulldown. I didn't think of that possibility before. So I'm thinking that it's just my software MPEG-2 decoder that has a problem with that sort of pulldown, although manually respecifying the Progressive sequence flag doesn't cause a problem on my DVD player.
Quote:
Last edited by qyot27; 8th June 2010 at 12:40. |
|
9th June 2010, 03:21 | #313 | Link | |
Registered User
Join Date: May 2010
Posts: 24
|
Quote:
Your setup is different. It seems you're doing a PAL --> NTSC conversion. Mine is PAL all the way, even to DVD. So I'm wondering about the flags and all, what is permissible, because it seems Prog_Seq=ON solves the problems I am observing. It could well be that what applies to your workflow does not apply to mine. 2:2 pulldown etc. This is "black magic" to me. The passage from DVD-FAQ sounded as if Repeat_field flags are added to individual frames or something. Are you saying that no flags are added, and that the decoder should be able to repeat frames on its own? |
|
9th June 2010, 19:33 | #314 | Link | ||
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
Quote:
Interlacing all progressive frames on playback is probably the automatic behavior of the player, so it might be able to be adjusted either A) in the DVD player's settings by forcibly setting for progressive scan if it hasn't been already or B) the progressive_sequence header being ON tells the player not to perform the interlacing, resulting in the player giving the display normal progressive frames, not interlaced ones. Even if it's not spec-compliant, it would be counted as a necessary evil. Last edited by qyot27; 9th June 2010 at 19:37. |
||
11th June 2010, 13:59 | #315 | Link |
Registered User
Join Date: May 2010
Posts: 24
|
Well, despite some potentially misleading uses of the term "2:2 pulldown" from web sources, I am now convinced that it is a nullity as stated so expertly by neuron2 here: http://forum.doom9.org/showthread.ph...68#post1187268
Now, I'm hoping that someone can shed more light on the progressive_sequence flag? For a definite fact, is it or is it not a violation of spec? If it is a violation of spec, what is a good way for me to encode and/or flag a progressive 25fps PAL source into a DVD-compliant MPEG2 stream? Last edited by Guest; 11th June 2010 at 14:41. Reason: 12 |
12th June 2010, 00:33 | #317 | Link |
Registered User
Join Date: Jul 2003
Location: Italy
Posts: 1,135
|
2:2 pulldown on PAL land is simply the term that mean: on a 25p film (24->25 with 4% speedup) display 2 fields for every frame a.k.a. display a progressive frame in an interlaced way without field shift. Basically if you're encoding your video as interlaced, you've already made a '2:2 pulldown'. The term pulldown is erroneous here, compared to what 'pulldown' means in NTSC land.
Anyway, regarding the progressive_sequence flag... if you encode your video with progressive_sequence flag on, top field off, progressive_frame on, picture structure frame (table #29) you're making a in-spec stream for PAL. If you're encoding a 24p in that way and THEN apply the pulldown (for 24p->50i with field repetition) your stream will be like table #15/#16 which is, again, in spec. Last edited by mp3dom; 12th June 2010 at 00:44. |
12th June 2010, 08:02 | #318 | Link | ||
Registered User
Join Date: May 2010
Posts: 24
|
Quote:
Quote:
Alright, here's the point-blank question. In respect of DVD specs (not just generic MPEG2), if I encode my 25fps progressive PAL source into a stream with: 1. TFF flag off 2. Progressive frame ON 3. Progressive sequence ON Is this within the DVD spec? Does the "Pulldown Table of Truth" #29 mean conclusively that this is allowed within DVD specifications? I mean, this is PAL and not NTSC (note the 3:2 in the title "3:2 Pulldown Table of Truth") Last edited by Koutsoubos; 12th June 2010 at 08:07. |
||
12th June 2010, 10:09 | #319 | Link |
Registered User
Join Date: Jul 2003
Location: Italy
Posts: 1,135
|
Yes, it's within the dvd specs as long as the flags/encode are made in the proper way. Note that also picture structure must be fixed to 'frame' and not change over time. I'm in the PAL land and I've made about 100+ dvd titles in that way and all passes the EclipseSuite verifier (the verifier used by replication facilities just before the glassmastering process).
|
14th June 2010, 05:23 | #320 | Link | |
Registered User
Join Date: May 2010
Posts: 24
|
Quote:
So, DVD FAQ #3.4: http://www.dvddemystified.com/dvdfaq.html#3.4 where it says: "MPEG-2 progressive_sequence is not allowed" Can we debunk this FOR CERTAIN? Also: "In the case of 24 fps source, the encoder embeds MPEG-2 repeat_first_field flags into the video stream to make the decoder either perform 2-3 pulldown for 60Hz NTSC displays (actually 59.94Hz) or 2-2 pulldown (with resulting 4% speedup) for 50Hz PAL/SECAM displays" Can we lay this to rest, at least for PAL? |
|
|
|