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 User
Join Date: Sep 2003
Posts: 20
|
Properly convert true 50p to 50i
Hi!
I'd like to convert a video with true 50fps progressive frames to 50 interlaced fields. SeparateFields() does not do what I want, since it assumes a video of half the frame rate containing previously merged fields. This is not the case here, because the video was rendered by a program in true 50p. It is very important to keep the video as much fluid as possible, so I don't want to discard half of the frames, but rather half the vertical resolutionof the existing frames and somehow use them as the fields for my 50i. Is this possible? Thanks for every help! |
|
|
|
|
|
#5 | Link | |
|
Registered User
Join Date: May 2005
Posts: 236
|
Quote:
|
|
|
|
|
|
|
#7 | Link |
|
brainless
Join Date: Mar 2003
Location: Germany
Posts: 3,655
|
in fact is has to be:
AssumeFrameBased() AssumeTFF() #-> set desired output fieldorder converttoyuy2() # convert to desired output colourspace (as the choosen encoder needs) SeparateFields().SelectEvery(4, 0, 3).Weave() #re-interlace using selecteven() instead of selectevery(4,0,3) will result in halved vertical resolution due to wrong vertical alignment.
__________________
Don't forget the 'c'! Don't PM me for technical support, please. |
|
|
|
|
|
#10 | Link |
|
Registered User
Join Date: Sep 2003
Posts: 20
|
First of all: thank you very much for your help!
Ok, now it looks like i'm getting interlaced content, I can see the comb artefacts. What puzzles me is that the resulting file (DV) displays as 25fps in the MediaPlayerClassic properties (and also in VirtualDubMod under "video" -> "framerate"). Is that normal? I know its frames per second, not fields per second, but shouldn't it instead say "50fps" or "25fps interlaced" or something like that? Excuse my ignorance, but i'm just getting started... |
|
|
|
|
|
#11 | Link |
|
Registered User
Join Date: Feb 2003
Posts: 299
|
Hello everyone
Yeah, I was waiting all day to see how long it would take for someone to catch this oversight. Buddy Casino, you would need to add one more sub group to the param, [2,5] .. selectEvery(4, 0,3, 2,5) will (should) report 50 fps. fwiw, I think someone wanted to do the reverse of what you want, over at videohelp, here: dvd ntsc=> pal conversion & adding subtitles best way?expert opinion -vhelp
__________________
ESC K7S5A / XP 1800+ / Windows 98 ADVC-100[dvio] / WTVGO[avio] / DC10+[avio] / Canon ZR-10 / Delphi 6 Personal / JVC S-VHS HR-S3910U / Durabrand SSS w/ DVD Player STS75E / Sony TRV-22 FithElement/Dogma/BladeRunner/Contact |
|
|
|
|
|
#14 | Link |
|
Registered User
Join Date: Feb 2003
Posts: 299
|
MfA, don't take this the wrong way. I'm not sure I follow you.
If I may explain myself.. I'm not an expert in the selectEvery() function, thought it's quite a powerful filter, imho. And, I do love working with it, though my sources are NTSC based, and not PAL. The numbers above were used on a NTSC source who fps were 29.970 fps. When I read this article this moring, I did a little what-if playing around. Then, I got the idea that I could be wrong, but only beause I dont' have a PAL source. So, I found some PAL demo clips (snipped from this forum, at various areas - thanks everyone) and used those PAL videos as a reference to all my selectEvery() scenarios. FWIW, below I post the relative param values, that gave me the final FPS for each run inside selectEvery() function: # NTSC: @ 4 # 14.985=(0,3) # 29.970=(0,3, 2,5) # 44.955=(0,3, 2,5, 4,7) # 59.940=(0,3, 2,5, 4,7, 6,9) # PAL: @ 4 # 12.500=(0,3) # 25.000=(0,3, 2,5) # 37.500=(0,3, 2,5, 4,7) # 50.000=(0,3, 2,5, 4,7, 6,9) where @ 4, is the first param entry for the "group of pictures" to include in the final process. Someone posted, selectEvery(4, 0,2) and gave an explanation why. In the end, I found either one works well. But, the results will (would) be dependant on the given source being used with. We all know how the tons of video out there can be unpredictable, even when we *feel* otherwise. Last, I sure would love to D/L a small piece of this member's video.. just to get an idea of what this 50p (PAL) source is like with selectEvery() function. Thank you. -vhelp
__________________
ESC K7S5A / XP 1800+ / Windows 98 ADVC-100[dvio] / WTVGO[avio] / DC10+[avio] / Canon ZR-10 / Delphi 6 Personal / JVC S-VHS HR-S3910U / Durabrand SSS w/ DVD Player STS75E / Sony TRV-22 FithElement/Dogma/BladeRunner/Contact |
|
|
|
|
|
#16 | Link |
|
Movie buff & shine
Join Date: Jan 2004
Location: Logan, the only hole above ground.
Posts: 257
|
@Buddy Casino
There is no 'interlaced' flag under the AVI format (that I'm aware of), so AVISynth can't tell VDub or any other program whether it's progressive or interlaced. The only way an output application could tell is if it analyzed the frames, which can be unreliable. As such, if you are playing 25 interlaced frames per second, it will simply tell VDub that it is playing 25 frames per second and VDub will just assume it's progressive. If you want the video to be compressed as an interlaced source, you'll have to set the option manually in your video compressor's configuration... Hope that explains it a little for you... : )
__________________
I'm a boxer who can Bob () & Weave (). I like to Overlay () punches and Blur () his vision to ShowFiveVersions (). My KO punch will always Pulldown ().TimeStretch () and all he will hear is Tone (). |
|
|
|
|
|
#19 | Link |
|
Registered User
Join Date: May 2005
Posts: 236
|
Hum interlaced clips frames are made of fields taken at with a difference in time of half the fps; so in your case, as you have only 50fps for each field taken both at exactely the same time, then you can only make 25fps interlaced ; or you can interpolate 1 intermediate frame between 2 of the original 50p source (with the mvtools or depan), which will give you 100p fps, so each field will be at 100fps, and using the methode above will give you back 50i frames...
Last edited by Alain2; 2nd July 2006 at 23:21. |
|
|
|
![]() |
|
|