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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th December 2006, 16:17   #1  |  Link
Livesms
Registered User
 
Livesms's Avatar
 
Join Date: Mar 2006
Posts: 184
Script conversion 23.976 progressive to PAL 25

I have a 23.976 fps video, progressive.
I want to convert to PAL 25.000 fps
How can I do this?
Is this way correct

DirectShowSource("D:\!!New\Matrix\TheMatrix.mp4")
AssumeFPS(25, 1, true)
SSRC(44100)
Livesms is offline   Reply With Quote
Old 27th December 2006, 02:41   #2  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
yeah, that'll do.

is this for re-encoding or just playback? if you want to play back at that rate, you can get reclock to do it for you.

you might also want to change the frame size - PAL is 720x576 typically.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 28th December 2006, 03:56   #3  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
In AviSynth documentation say about this method:
"The +4% speed up is conventionally used for displaying 24fps film on PAL television. The slight increase in pitch and tempo is readily accepted by viewers of PAL material."

But at last the pitch change can be avoided using:
AssumeFPS(25)
TimeStretch(tempo = (100.0*25.0*1001.0)/24000.0)
tebasuna51 is offline   Reply With Quote
Old 28th December 2006, 12:54   #4  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
And that should be
Code:
AssumeFPS(25, False) # Don't reclock the audio!
TimeStretch(tempo = (100.0*25.0*1001.0)/24000.0)
Either method will work well. The choice is a personal preference for a given source material.

People with a good absolute sense of pitch i.e. musicians, tend not to like the 4% upclocking.

Timestretch works by chopping the audio track into short segments and pasting them back together slightly offset, in this case 4%. The algorithm searches a specified window looking for the match with the lowest error. The default timing parameters are suited for current pop music. For different material other values may yield a better result. Material that has very little coorelatable patterning can give quite poor results i.e. you can hear where the pasting has happened.

I have a test CD with an Oboe Harp duet that simply will not work with TimeStretch no matter what timing I have tried, but it is expected, the track is intended to expose CD player jitter, and TimeStretch can generate some really good jitter.
IanB is offline   Reply With Quote
Old 28th December 2006, 13:52   #5  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by IanB View Post
Either method will work well. The choice is a personal preference for a given source material...
I agree, and there are another method when the most important is the audio (a music concert for instance):
don't touch the audio, use ChangeFPS (25) or a more sophisticated method to insert/delete frames to preserve the video duration to match the audio duration.
tebasuna51 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.