Hi. I have a camcorder which records AVCHD 25i (PAL) videos. Occasionally I want to convert my 25i footages to 24p.
Is there any method or any tool to help me do this? Regular methods (like applying various deinterlacing algorithms) didnt do the trick for me. Result is always disappointing... Converted videos have broken motion and it seems that they have some dropped frames.
I want 24p footages with nice and smooth motion. Is it possible?
+ Reply to Thread
Results 1 to 15 of 15
-
-
25i has 50 different half-picture per second. So converting to 24p will give noticeably less smootn motion. Most converters will deinterlace (poorly) to 25p then throw away one frame every second. About the best conversion to 24p will be to use AviSynth's QTGMC (the best deinterlacer) to bob to 50p, throw away half the frames (25p), then slow the video down to 24p. Then you'll just be left with the inherent jerkiness of 24p. You'll have to adjust the audio (25p to 24p) too.
WhateverSource()
QTGMC()
SelectEven()
AssumeFPS(23.976) -
I know that I can't have the same smooth motion look as 25i or 50p and I don't expect it. I meant I want nice and smooth motion in my new 24p footage, as a normal 24p footage can have.
Anyway... I tried QTGMC, but it doesn't support YUV, and besides, it is super slow! My converters somehow freeze at the beginning of converting (1080i AVCHD videos) and during the converting, convert speed is terrible (~1 fps). This is the script:
Code:DirectShowSource(<My 1080i AVCHD .m2ts video>) Trim(0, 250) ConvertToYV12() ConvertAudioTo16bit() QTGMC() SelectEven() AssumeFPS(23.976, true)
Last edited by maxeemo; 10th Feb 2011 at 07:53.
-
It doesn't support YUY2. It does support YV12. Your conversion to YV12 should include "interlaced=true") so as not to mess up the chroma channels.
Yes. You can try the faster presets. If it's still to slow try Yadif() instead. It's not as good a deinterlacer but it's faster. If you use mode=0 (the default) you don't need to SelectEven() afterward.
Probably a DirectShow problem. You could try DSS2() or ffVideoSource(). Also try ignoring the audio:
DirectShowSource("filename.ext", audio=false) -
Actually, there is a version of QTGMC that does support YUY2 , but it's even slower
http://forum.doom9.org/showthread.php?p=1472215#post1472215
It hasn't made it into the official release yet, but -Vit- said he would add it eventually -
Thank guys.
With FFVideoSource() there is no need to call ConvertToYV12(), and it seems that it is better than DirectShowSource() to handle AVCHD files. The only problem is that FFmpegSource detects wrong fps which can be ignored by sending fpsnum parameter.
I also tried MCBob and MVBob deinterlacers. All of them (QTGMC, MCBob and MVBob) are awesome in quality, killing in render speed. Good stuffs are always expensive!
Now about motion smoothness...
The motion is still broken. Is there any way to blend* all two successive frames together to obtain a smoother motion?
I mean somehow bob the 25i footage to 50p and then blend (or something like that) each two successive frames together to get the new 25p footage.
* Something like simulating the twice exposure time! A 25i camcorder has a 20ms exposure time for each field and a 25p camcorder has a 40ms exposure time for each frame.
Code:Script A 25iSource("...") BobTo50p() SelectEven() AssumeFPS(23.976)
Code:Script B 25iSource("...") BobTo50p() MixFrames(2) AssumeFPS(23.976)
Last edited by maxeemo; 14th Feb 2011 at 20:19.
-
There is no direct math conversion of 25i to 24p or to 29.97i/p. It must be done by new frame interpolation which is slow and lossy. That is unless you run the frames in 96% slow motion.
Recommends: Kiva.org - Loans that change lives.
http://www.kiva.org/about -
Something like this is what you're asking for:
25iSource("...")
Blur(0, 1.0) #blurs the two fields together
Sharpen(0, 0.7) #restores some of the sharpness
AssumeFPS(23.976)Last edited by jagabo; 14th Feb 2011 at 22:15.
-
Maybe
Code:25iSource("...") Weave() AssumeFPS(23.976)
Scott -
-
Every decoder I know outputs interlaced video as pairs of fields woven into frames. So that script won't work at all. You'll just get an error message saying Weave() only works with field based material. If you add AssumeFieldBased() before Weave() you'll get double high frames with four fields per frame at half speed (12.5 fps), which will then be assumed as 23.976 fps so it will play nearly twice normal speed, as Gavino points out.
-
Maybe I should have said "50iSource()", because 25i is a misnomer (which I didn't start). But it should work.
Interlaced PAL (and NTSC) material IS 1/2 height (288 in this case), so doubling the height will restore it to it's EXPECTED (576) height).
You shouldn't need "AssumeFieldBased()", since it actually IS, but if you want to put that in, OK.
There won't be 4 fields.
If you've got 50i (which is what PAL really is), you've got 288 lines for field1 of frame1 and 288 lines for field2 of frame1, and on and on.
Weave() just takes these 2 separate fields and folds them together into a single co-temporal frame, so it's 25p instead of 50i. The 25p MAY exhibit mice teeth on motion scenes, but otherwise might look real clear. "Assume 23.976" then slows it down from 25p to 24p.
Scott -
This code produces a result same as what Sony Vegas produces by "Blend Fields" deinterlacing method. As you pointed, it's annoying to watch the rendered videos with large motions.
Anyway... Thank everybody for help.
I've studied a little bit about cathode ray tubes and image-producing technologies such as interlacing images, raster scanning and etc, but I still don't understand why deinterlacing becomes so complicated on progressive systems!...Last edited by maxeemo; 19th Feb 2011 at 05:51.
-
Last edited by jagabo; 19th Feb 2011 at 06:40.
Similar Threads
-
Pal 25i to Ntsc question
By spiritgumm in forum Video ConversionReplies: 17Last Post: 15th Dec 2011, 18:16 -
24p source to 24p DVD - am I doing it right?
By Killer3737 in forum Video ConversionReplies: 30Last Post: 14th Oct 2011, 17:40 -
24p -> pal -> ntsc back to 24p
By StrobeLightEpileptic in forum Video ConversionReplies: 1Last Post: 13th Aug 2009, 23:56 -
25i movie conversion question...
By alcOre in forum Newbie / General discussionsReplies: 17Last Post: 4th Feb 2009, 18:44 -
25i XviD to DVD
By FrancoAnselmo in forum Video ConversionReplies: 6Last Post: 20th Jun 2008, 23:39