I didnt' want to raise a post from nearly 4 years ago, so I thought I'd just post about it. I've been following Fulci's avisynth guide to convert Pal DVD to NTSC:
https://forum.videohelp.com/topic294142.html
I was doing okay until I got to the TMPGENC part. He says:
Well, I was able to load the template and changed it from interlaced to progressive, but I was unable to change the framerate from 29.97. That option was grayed out.Using this method you cannot use the WIZARD MODE in TMPGEnc Plus. Instead you will do this the "manual" way first loading the NTSC template. For the source you select non-interlaced and you need to change the FPS to 25fps. You will end up with a high-bred output that has a NTSC resolution of 720x480 but with 25fps which is the PAL format.
Right now I'm letting it run at 29.97, only because I don't know what else to do.
How am I supposed to change that?
+ Reply to Thread
Results 1 to 21 of 21
-
-
I don't know about your template, but if you are trying to encode in progressive mode, the frame rate is implied to be 23.97fps, thus the greying out of the 29.97fps option. Depending on your version of TMPG, there maybe a "Apply 2:3 pulldown flags after encoding" option somewhere.
Or, you could just apply the 2:3 pulldown after everything is encoded using PULLDOWN.EXE.ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
Okay, I read his post further where he said I could put in the ConvertFPS(23.976) and then just use the template wizard in tmpgenc. So, I did that. The resulting file is an m2v and MPEGValidator won't accept it's extension.
So, I tried GSpot and am given inconsistent results: ie; It says Pics/s is 23.976 but Frames per second is 29.97 and the Fields at 59.94 is consistent with 29.97.
It says the video is interlaced.
Now, this was encoded by tmpgenc with "3:2 pulldown on playback" setting. Is it right that GSpot would be calling this interlaced?
Also it looks interlaced in VDub -
Originally Posted by StrobeLightEpileptic
-
Originally Posted by AlanHK
But, I don't know what I do wrong, because the video is jumpy. The first thing I would think is that the fields were reversed. But the original file was TFF so I listed that in the avisynth script that way.
What other reasons would you get jumpy video. -
Originally Posted by StrobeLightEpileptic
-
You can unlock any setting in TMPGEnc Plus by right clicking on the text label and selecting Unlock. You can unlock all settings by pressing the Load button on the main interface and selecting the Unlock.mcf template.
-
Originally Posted by manono
The script was a carbon copy of Fulci's (minus the paths):
LoadPlugin("C:\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\LEAKKERNELDEINT\LeakKernelDeint.dll ")
Mpeg2Source("C:\PAL_MOVIE\VIDEO_TS\mainmovie.d2v")
AssumeTFF()
LeakKernelBob(order=1)
LanczosResize(720,480)
ChangeFPS(23.976)
ConvertToRGB24(interlaced=false)
Since I now know how I can change tmpgenc's default settings, I should re-do it again without the ChangeFPS line. I've never been able to achieve smooth video with any of the avisynth 23.976 settings.
I got close once, but the only way I can get smooth video so far is to leave it interlaced. -
If you were feeding TMPGEnc progressive frames at 23.976 fps TMGPEnc should be set up as follows:
Advanced tab, Video Source Type: Non-interlaced (progressive)
Video tab, Encode Mode: Non-interlace
Video tab, Frame Rate: 23.976 fps (internally 29.97 fps)
Make sure your PAL source is really interlaced as opposed to progressive frames captured out of phase. If it's out of phase you can easily restore the progressive frames with SeparateFields().Trim(1,0).Weave(), or Telecide(), or TFM(). Then encode that at 25 fps progressive and use DgPulldown to add 3:2:3:2:2 pulldown flags. -
Originally Posted by jagabo
The disc I am working with is a R2 Pal import. I tried the patch method on it and it works very well on my machine, but not my sister's. So, I'm doing this more out of curiosity than anything else.
But, okay, when I play this in my Apex and use the remote to Display the disc info, it says it is interlaced video. Is that a reliable indicator that it is actually interlaced? -
Originally Posted by StrobeLightEpileptic
If it's a movie you don't deinterlace it. Is it really interlaced? Do you have a small sample so we can see what you really have and give more informed advice about how it should be treated?
am I right in thinking out-of-phase and blended frames are interchangeable terms?.
Is that a reliable indicator that it is actually interlaced? -
Originally Posted by manono
The Magnificent Ambersons. -
Okay, I've uploaded 2 clips. The first clip is a just a motion clip of horse and carriage.
http://rapidshare.com/files/319655584/1st-amb.vob.html
MD5: EC6211BA4BDD352898FB760F349DF229
The second clip has a larger file size.
http://rapidshare.com/files/319655585/2nd-amb.vob.html
MD5: 1533B63FC215B69B542DD8440104E111
I include it for two reasons. One is the shimmering on the door when it is closed. I have noticed some shimmering on the dvd when I watch it on the tv. This example is where it is most obvious, but you can see more subtle instances through out the film. I'm wondering if this is caused just because PAL video is being used by an NTSC player and TV. It doesn't make sense that it would if you can see it on the computer. So, what causes it?
The second reason for the second clip is the unusual fields. I believe that you are watching this in something like virtualdub with the view fields filter. And the fields in this clip show why I am confused by this film, (whether it is interlaced or progressive or blended or out of phase - the last two terms I don't completely understand.) You can see that the fields do not always match up, but you can also see, what I think of as strange artifacting in some of those fields. -
I'm waiting for the downloads but regarding Field shifted PAL:
Standard definition video is always broadcast (or carried over the wire) interlaced -- meaning one field at a time. A progressive film source, sped up from 24 fps to 25 fps, might be broadcast as top field first. Using numbers for the film frame numbers
1 2 3 4...
and t/b for top and bottom fields, this is what comes over the air, and what you see on an interlaced TV:
1t 1b 2t 2b 3t 3b 4t 4b
If a capture card captures that top field first:
1t+1b 2t+2b 3t+3b 4t+4b
each frame of captured video has both the top and bottom fields from the same film frame. They will look progressive.
But if a capture card captures that bottom field first:
1b+2t 2b+3t 3b=4t 4b+5t
each frame contains a field from one film frame and a field from another field frame. Each frame looks interlaced (when there is motion). This is what is meant by out of phase PAL video. (This video will play back properly because the video is flagged bottom field first so the player knows which of the two fields of each frame to display first.) These can be easily converted back to progressive frame by recombining the field pairs.
Got the files now.
Your videos are field blended NTSC to PAL conversions. Rather than speeding the film up to 25 fps, or repeating every 24th frame to get 25 frames, some fields are blended together from adjacent frames of film to create something that looks a little smoother on interlaced TVs.
Think of it something like this. Suppose we have film frames that are supposed to be displayed for 8 units of time:
Code:time --> 1-------2-------3...
Code:time --> 1-------2-------3... 1--2--3--4--5--6--7--...
You can use some thing like this AVS script:
Code:Load_Stdcall_plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll") Import("C:\Program Files\AviSynth 2.5\plugins\SRestore.avs") MPEG2Source("1st-amb.d2v") Yadif(Mode=1,Order=1) SRestore(FRate=23.976) LanczosResize(720,480)
1st.avi
Regarding the shimmering on the door, I assume you mean the way the thin lines of the panels buzz as the door is moving. Those are aliasing artifacts from poor resizing -- part of the original NTSC to PAL conversion. If you play around with different deinterlacing (ie, Yadif vs LeakKernelDeint, etc) and resizing algorithms you might be able to make some improvement. Or they may get worse. -
Interesting discussion. I'll have to dwell on this. But I did try your script.
Yes, it does improve things quite a bit. I loaded it into Vdub to see, but when I loaded the script in tmpgenc I began getting an error message on the tmpgenc video window .
The error reads verbatim: "I don't know what "d32" means. ([ScriptClip], line 19)"
Well, that took me back to earlier this year when we had a discussion about blended frames. A script was suggested using SRestore and I kept getting the same error message in TMPGenc. I don't know what I did back then to correct the problem. Tonight I downloaded the most recent version of SRestore to see if it made a difference, but I keep getting that error.
But the script works fine in VDub. -
Originally Posted by manono
Yeah, that does look a little off color. But, I got to trying to remember what I did earlier this year, and remembered the VFAPI priorities in tmpgenc. There is one of those plugins that is used for d2v files and when I gave it a higher priority the error message went away.
So, now I'm trying this encode with tmpgenc, but I'll remember your suggestion. -
I am just tonight able to get back a response to this thread. Jagobo, I have to say that the result of this encoding is great. There is no jerky movement at all and you have to look pretty hard to find any of that shimmering, (and when I think I see it I don't know if it's just my imagination). This is an instance where the IVTC gave a result that is better than the source.
So, a person does need to be skilled at recognizing what has been done to a film before they can apply the correction. So, if I get what you have described, "out of phase" video happens mainly with a capture card. I guess a person just needs to see the fields "stepped" to recognize it?
And blended frames can be recognized by fields that look double exposed? And this is caused by the different frame rates that are used converting the film to video.
progressive is the easiest to understand. And I don't have much of a problem understanding NTSC interlaced.
But, I am having a hard time understanding PAL interlaced in light of this discussion. When technicians interlace video for pal, do they simply add two fields/sec? So a person has to write down the fields:
A B C D E E F G H I J K L M N O P Q R S T U V W X
A B C D E F F G H I J K L M N O P Q R S T U V W X
----------------
Or just what is the method for properly interlaced PAL video?
Regarding the script: This isn't the first time you Manono have suggested SRestore and Yadif. I understand the 2nd parameter for TFF or BFF, but I have not been able to understand what "spatial interlacing" is. There is very little on the web about it, (that I could find anyway).
Anyway. I hope to apply of this on future films I want to work with.
Thanks. -
Originally Posted by StrobeLightEpileptic
So, a person does need to be skilled at recognizing what has been done to a film before they can apply the correction.
So, if I get what you have described, "out of phase" video happens mainly with a capture card.
I guess a person just needs to see the fields "stepped" to recognize it?
There's something similar, though, where you have 12 or thirteen frames interlaced followed by 12 or 13 'clean' frames. Half are phase-shifted and half aren't. In that case it was converted from film to PAL by adding a frame every second in the form of a field every half-second.
And blended frames can be recognized by fields that look double exposed?
And I don't have much of a problem understanding NTSC interlaced.
When technicians interlace video for pal, do they simply add two fields/sec?
Code:A B C D E F G b c d e f g h
-
Originally Posted by StrobeLightEpileptic
Another quick test is to:
SeparateFields() #separate frames into fields
Trim(1,0) #throw away the first field
Weave() #recombine the fields into frames
If all the frames look progressive after that you know it's out-of-phase PAL.
Originally Posted by StrobeLightEpileptic
1) Speed up the film and audio. Ie, just "project" the film at 25 fps. Then you display each frame as two fields. The running time of the movie is about 4 percent shorter and the audio pitch is about 4 percent higher (unless a pitch shifter is used).
2) Duplicate one frame out of every 24, thereby creating 25 frames out of 24. Then you display each frame as two fields. The running time of the video and the audio are unchanged. But there is one jerk every second because of that duplicate frame.
3) Duplicate two fields every second. This creates 25 frames from the original 24:
Code:A B C D E F G H I J K L L M N O P Q R S T U V W X a b c d e f g h i j k l m n o p q r s t u v w x x
Similar Threads
-
not sure if this is the right thread for this,but i have a question
By Bamahusker in forum Software PlayingReplies: 12Last Post: 2nd Mar 2010, 21:54 -
Can not reply to this thread
By Noahtuck in forum FeedbackReplies: 0Last Post: 6th Aug 2009, 14:20 -
How to Sig-Up to a Thread
By gonwk in forum FeedbackReplies: 4Last Post: 7th Apr 2009, 17:13 -
The baby thread (aka Will Hay question)
By stiltman in forum Off topicReplies: 1Last Post: 22nd Aug 2007, 22:23