I have a PAL dvd and the extras have a pattern of 9 progressive 12 interlaced frames at 25fps. I am using:
TFM(d2v="*.d2v")
TDecimate(cycle=25)
and this seems to give me 24fps progressive when I step through it. What pattern is this and is there a better way of dealing with it? (The audio seemed to be too slow when slowing it down with pp=0 to 23.976 so it seems like this is right.)
Also, I have found a way of using PAL menu subpics for a NTSC conversion besides just moving them up with dvdsubedit. From what I read it seems no one can do this successfully yet I found it very easy to do importing a resized external sub-pic bmp with dvdlab pro. I can add further info if this is new to someone who wants to convert PAL menus to NTSC. (This was a motion menu btw.)
And another thing I think I noticed is some aliasing after running a progressive video through dgpulldown when on regular dvds I don't see this (when they are progressive also). Am I being paranoid,could this be a result of reencoding mpeg2 or is dgpulldown wrong about doing what it does?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 24 of 24
Thread
-
Last edited by PAL sucks; 24th Feb 2011 at 23:51.
-
Are you sure it's exactly 9 progressive frames and 12 interlaced frames? One method of converting 24p to 25i is to duplicate one field every 12 frames, ie 2:2:2:2:2:2:2:2:2:2:2:3 pulldown. 12 frames becomes 25 fields, 24 frames becomes 50 fields. 23.976p to 25i is similar but every 500 fields another duplicate is added.
DgPulldown doesn't create any aliasing. What probably happening is the program you are using to view the resulting video is performing the pulldown before displaying it to you. VirtualDub does this for instance. -
If you can't figure it out then neither can anyone else without a sample, so we can also see what you're seeing.
The audio seemed to be too slow when slowing it down with pp=0 to 23.976
From what I read it seems no one can do this successfully
...could this be a result of reencoding mpeg2 or is dgpulldown wrong about doing what it does? -
http://www.mediafire.com/?9h9ew6kw29r6j2f
This sample might be too short but I didn't want the file to be too big. I could swear the progressive to interlaced pattern is changing depending on the demux, this is a different demux of the original pgc (pgcdemux) with dgindex cutting out of the middle this clip. Would that make a difference with how it is indexed? Would interlacing alternate just because of the way it's displayed with software and avisynth? It says 25fps in dgindex. pp=0 gave me 1 repeat every 25 frames, I think, and that's why I put that cycle25 in there and that seemed to give me 24 sequential progressive frames.
The post processing has nothing to do with the framerate, and you wouldn't be able to tell the difference in the audio played at 24fps as compared to slowing it to 23.976fps.
DgPulldown doesn't create any aliasing. What probably happening is the program you are using to view the resulting video is performing the pulldown before displaying it to you. VirtualDub does this for instance.
Don't kid yourself. -
The sample video is like I described earlier. I can't tell if it should be 24 fps or 23.976 fps.
-
It was long enough though? I have to think about what you wrote earlier (what would the pattern be?). From what I'm seeing there is no set pattern of p/i. A later clip in the multipgc title has a different pattern and that clip has a different pattern than what I saw yesterday.
-
Open it with AviSynth and apply AssumeTFF().Bob(). You'll see two repeats of each film frame (ie two fielsds). Except every 12th frame you will get three repeats. Ie, 12 frames becomes 25 fields, 24 frames becomes 50 fields. From the short sample you can't tell for sure if it's 23.976 fps or 24 fps.
-
As jagabo speculated, you don't count so well. Yes, it's one fairly rare way used to convert film to PAL and your original script works well on it.
Would that make a difference with how it is indexed?
That is pp=0 (still 25fps) with assumefps ntsc_film
Well I read a bunch of threads (most up to 7 years old, some recent) about this trying to find a way to do it -
-
-
-
Now I'm mixed up. I was using TFM (TIVTC) with the pp=0 option for interlaced PAL where every frame is split so I went to slow down the audio because I was going to slow down the video too. The tempo seemed too slow for that. Then I checked the video again and noticed one duplicate every 25 so I put in TDecimate(cycle=25) and that killed the duplicate giving me 24 and the audio now stays the same (tempo is not slowed and sounds right the way it is anyway). Can you tell if this is the right thing to do from that small of a sample? Is there another test I can put the footage through to know for sure what it is?
-
Ok if it's one of these it's gotta be the first, right, since I'm getting 3 repeats every twelve 2 with the bob? But
TFM(d2v="*.d2v")
gives me 24 with one repeat at 25. Although I could swear I got a couple at like 12 and 13 a couple times but this isn't happening every time. -
And I'm responsible. I apologize. Without actually scrolling back up to have a look at the script I assumed you were using Decomb. But you were using TIVTC, so the original statement holds - the PP setting has nothing to do with the framerate. You know that PP=0 disables the post-processing, right?
Can you tell if this is the right thing to do from that small of a sample? -
Now that I thought about what you guys wrote (instead of replying first) I understand that I am dealing with 2:2:2:2:2:2:2:2:2:2:2:3 pulldown and stepping through it gave some progressive frames and some interlaced depending on which fields were paired in the display without bobbing. And am supposing that is what is being confirmed that cycle=25 is designed to ivtc that pattern.
I was using pp=0 cause I thought it might be 2222 pulldown, splitting every frame evenly which is the way manono said to deal with that in another thread somewhere around here. This is very new to me, PAL pulldown. I didn't know about the other patterns although I think I just read that is a rare form of pulldown (2:2:2:2:2:2:2:2:2:2:2:3). I am slowing it to ntsc_film cause I have a finicky panasonic player that will not play if the littlest thing is out of dvd spec and also will slow the audio by that small fraction since I am doing some other things to it anyway.
Thanks for this thread and all the other ones I found that helped me find out how to fix something, 9 times out of 10 it being something that manono wrote. -
You can handle it however you like, of course, but it's well within spec, and is perfectly DVD compliant. If for some reason you're having trouble playing anything that's not standard 3:2 pulldown, I'd bet dollars to donuts you did domething wrong somewhere along the way.
-
23.976p to 25i is exactly the same except for every 500th field. Did you really check 500 fields? What it the missing duplicate happened to fall in a still shot. Do you think you would notice? So you'd have to look at much more that 500 fields. Probably thousands. Even if you notice a problem after examining thousands of fields, are you sure it's not because of a dropped frame? A cut after being telecined? An error on the part of TFM (it's not perfect)?
Let's work it out:
Here's a sequence of broadcast fields after 2:2:2....2:3 pulldown;
1t 1b 2t 2b 3t 3b 4t 4b... 11t 11b 12t 12b 12t 13b 13t 14b... 23t 24b 24t 24b 25t 25b 26t 26b...
Note film frames 12 and 24 are repeated for 3 fields, not 2. Also note that the field sequence must always alternate between top and bottom fields. After pairing fields as frames:
1t1b - 2t2b - 3t3b - 4t4b... 11t11b - 12t12b - 12t13b - 13t14b... 23t24b - 24t24b - 25t25b - 26t26b...
Note how the first 12 frames look progressive because both fields come from the same film frame. Then the frames look interlaced for a while because pairs of fields come from different film frames. Finally, we go back to progressive looking frames as the cycle repeats itself.
Now what does TFM do? It starts with one field of a frame and tries to find the matching field. Let's say it always starts with the top field. Ie, to build progressive frames it looks at each of the top fields then tries to find a matching field from the two bottom fields that surround it. Starting with the list of frames again:
1t1b - 2t2b - 3t3b - 4t4b... 11t11b - 12t12b - 12t13b - 13t14b... 23t24b - 24t24b - 25t25b - 26t26b...
At 1t it looks at the two fields that surrounds it and sees that the field after it, 1b, is the matching field, at 2t it examines the two fields around it and sees that 2b is the matching field. When it gets to the first 12t it sees the next field 12b is the matching field. When it gets the second 12t it sees that the field before it, 12t, is the matching field. We now have one duplicate, film frame 12. When it gets to the first 23t it sees that the field before it is the matching field. When it gets 24t it pairs that with either of the 24b's that surround it. Note that there isn't another 24t, so the next field it looks at is 25t. Which gets paired with the 25b after it. Etc. So there isn't a second duplicate frame within the 25 frame cycle, just the one.Last edited by jagabo; 26th Feb 2011 at 07:46.
-
Since I was getting the 3 repeats every 12 fields I assume it's not the every 500 one. (Unless you're saying that the 500 one involves 3 repeats every 12 plus an additional one at 500, I don't quite understand this one). If I ever came across that I would assume it was 2:2 pulldown cause I wouldn't have the patience and besides it was only a small trailer. But now I know about it anyway and if it was a movie I might check for that if the tempo sounded fine how it was. I understood the rest before you explained but maybe someone searching would find it helpful anyway.
I am assuming that even though dgindex says interlaced (the main movie), if I don't see interlacing, it's progressive and can just be slowed down by assumefps. I just read another pal thread where you and manono were writing about these same issues and that was written.
You can handle it however you like, of course, but it's well within spec, and is perfectly DVD compliant. If for some reason you're having trouble playing anything that's not standard 3:2 pulldown, I'd bet dollars to donuts you did domething wrong somewhere along the way.
I never tried any pulldown other than from 23.976 but I always wanted to make a 24p disc so maybe I will soon.Last edited by PAL sucks; 26th Feb 2011 at 18:59.
down with 4% speedup -
The latter is what I meant. To make up for the difference between 23.976p and 24p requires that one more field be added every 500th frame. So you see the same field repeat pattern as 24p but one additional repeated field every 500th frame. If you really understood the rest of what I wrote that would have been obvious. And you wouldn't have been wondering why TFM() was giving you one duplicate frame out of every 25 frames.
Mpeg2 pulldown flags allow for any frame to repeated for up to 3 fields. So any progressive frame rate from 19.98 to 29.97 can have pulldown flags added to create the required 59.94 fields per second.
If DgIndex report a PAL video is interlaced but you see no interlace comb artifacts that means a progressive video was encoded in interlaced mode. Yes, you can just slow the frame rate with AssumeFPS(). You should also handle the interlaced chroma channels properly or you'll get screwed up colors.Last edited by jagabo; 26th Feb 2011 at 19:27.
-
It sort of was but I didn't want to think about it too much since I'm trying to get this disc ready to burn. I was wondering about that (TFM) last night before I thought about it hence the think before replying comment I made about my posts. It's all clear now. I'm not a video expert and it's great to be able to author a disc with the movie playing at the right speed. Usually I search for a long time to find the solution since you guys have answered these questions in the past. I should have searched about PAL pulldown although I still can't find anything about the every 500 method. Now I'm starting to want to go back and bob the whole clip. Thanks a lot.
I just found out the menu audio is sped up so I'll be able to slow that down and use all the frames without choppy playback from windvd maker.
You should also handle the interlaced chroma channels properly or you'll get screwed up colors.
Edit: I just read another post by you and I think you mean this:
ConvertToYUY2(Interlaced=True)
And manono said this a few years back:
Just know that it's perfectly OK and "legal" to encode progressive material as interlaced. It's true for the vast majority of PAL DVDs. But if they are movies, you can almost bet that they're really progressive. You already saw what I'm talking about, and as you examine more and more retail PAL DVDs, you'll see it more and more often. Most PAL DVDs that are encoded as interlaced, shown to have been encoded as interlaced by such apps as DGIndex and Bit Rate Viewer, really contain progressive content.Last edited by PAL sucks; 26th Feb 2011 at 19:55.
down with 4% speedup -
Sorry, I wasn't thinking straight. With progressive frames encoded interlaced the difference between handling the interlaced chroma channels as interlaced vs progressive is extremely subtle in real world video. It's not worth worrying about. The real damage is done by encoding interlaced in the first place. But there's nothing you can do about that. Here's a site that describes whey interlaced encoding is bad for progressive frames:
http://www.hometheaterhifi.com/the-dvd-benchmark/179-the-chroma-upsampling-error-and-t...a-problem.html
See the section entitled "4:2:0 Interlaced: Fundamentally Broken". -
1. I bet it wouldn't reject, for example, a DVD with 25->29.97fps pulldown. The 'DVD police' would find it perfectly legal. Do you have a DVD-RW? If so I'll make you a short one for you to test.
2. An illegal jump is something else entirely. Some players can recover from something like that in one way or another. Apparently others can't.
3. I don't know anything about too-small menus, but it sounds peculiar since many retail DVDs have ones smaller than 200KB.
4. There are plenty of retail DVDs (Warner Home Video does it as a matter of course) where there are 16:9 menus for 4:3 movies.
Have you considered that your beloved Panasonic might be at fault, refusing to play 100% compliant content? Have you considered that the way you're creating these DVDs, rather than what they contain, might be at fault. You've said nothing about how you author anything, although it isn't really relevant to the main subject of this discussionLast edited by manono; 26th Feb 2011 at 21:14.
Similar Threads
-
Convert 24p .mov to interlaced 25fps PAL
By Cotswold in forum Video ConversionReplies: 6Last Post: 25th Mar 2012, 15:50 -
how to slow down interlaced Ntsc recording of Pal ?
By spiritgumm in forum Video ConversionReplies: 20Last Post: 11th Oct 2010, 19:59 -
Why are there spurious? frames in my interlaced PAL capture - sample clip
By BigMick in forum CapturingReplies: 5Last Post: 11th Jan 2010, 07:29 -
Help with possible interlaced pal avi source
By h2p000 in forum Video ConversionReplies: 4Last Post: 28th Feb 2008, 17:41 -
30FPS Progressive to PAL Interlaced? (DSC MJPEG AVI to DVD)
By ezekiel42 in forum Video ConversionReplies: 7Last Post: 8th Jul 2007, 22:53