A script I've done to conform to 24p / 25p

A script I've done to conform to 24p / 25p

Postby jsmonzani on 09 Aug 2009 10:05

Hello

I've created yesterday a Python script to conform 30p to another value (making a longer movie if you go for 24 fps).

It takes a Quicktime file and changes a few bytes of the file to alter the default 30 fps value to whatever you want. It's fairly basic but I can now easily drag & drop my .mov files on it and instantaneously get a 24p version of the videos (again, just by conforming)

This is absolutely platform-independent (PC users need to install Python, I'm using v2.5)

The drawback is that it won't stretch audio for you.

If some of you are interested, I'll post the script there.

Thanks to linus for providing me a sample file :)

Cheers

JS
User avatar
Posts: 88
Joined: Apr 2009
Location: Lausanne, Switzerland
jsmonzani
Pro Member
Pro Member

Re: A script I've done to conform to 24p / 25p

Postby Kea on 09 Aug 2009 14:42

jsmonzani wrote:Hello

If some of you are interested, I'll post the script there.



Please, do it.
User avatar
Posts: 35
Joined: Apr 2009
Kea
Member
Member

Re: A script I've done to conform to 24p / 25p

Postby jsmonzani on 09 Aug 2009 15:59

OK, I've put it on my website:
http://www.jsmonzani.com/pub/hackMOVfps.zip
There are instructions for Windows users to make the script accept "drag & drop". This way, just drag your bunch of files on it and in less than one second, they will be converted :) If you need to download Python, head to www.python.org


Beware: the script overwrites your files so be sure to make a proper backup.
On my soundless Quicktime movies, it works perfectly.
I've adapted another script so I'm sure the code could even be smaller.


Cheers

JS
User avatar
Posts: 88
Joined: Apr 2009
Location: Lausanne, Switzerland
jsmonzani
Pro Member
Pro Member

Re: A script I've done to conform to 24p / 25p

Postby linus on 09 Aug 2009 16:23

jsmonzani wrote:Beware: the script overwrites your files so be sure to make a proper backup.
On my soundless Quicktime movies, it works perfectly.

Good to know! :)
Thanks for the script! Since it's Python, it will work using Mac or Linux too.
User avatar
Posts: 17
Joined: Aug 2009
linus
New Member
New Member

Re: A script I've done to conform to 24p / 25p

Postby jsmonzani on 09 Aug 2009 16:55

Yep, that's why I've picked up Python ;)
User avatar
Posts: 88
Joined: Apr 2009
Location: Lausanne, Switzerland
jsmonzani
Pro Member
Pro Member

Re: A script I've done to conform to 24p / 25p

Postby infantmonster on 09 Aug 2009 20:38

So any verdict on this?
---
Shane MacDougall
Infant Monster Productions
www.wienertakesall.com
User avatar
Posts: 90
Joined: Jul 2009
Location: San Diego
infantmonster
Pro Member
Pro Member

Re: A script I've done to conform to 24p / 25p

Postby jsmonzani on 10 Aug 2009 06:16

Shane,
Basically, I've already said everything about it: it works for sound-less movies. If you'd like me to make it work with sound, I could give it a try by modifying the 44.1KHz frequency to match the speed change. It would sync it but however, pitch correction will be required if youuu dooon't waaant to geeet slooooooow baaaaass voiiiices :lol:

JS
User avatar
Posts: 88
Joined: Apr 2009
Location: Lausanne, Switzerland
jsmonzani
Pro Member
Pro Member

Re: A script I've done to conform to 24p / 25p

Postby squig on 10 Aug 2009 13:26

So it conforms just like cinema tools?

There's plenty of sound timestretching options available
User avatar
Posts: 260
Joined: Jun 2009
Location: Sydney
squig
Defeats Scarlet
Defeats Scarlet

Re: A script I've done to conform to 24p / 25p

Postby jsmonzani on 10 Aug 2009 14:49

I don't know what Cinematools does but yes, it conforms to whatever value you want, by just altering the default FPS in the file. :) And does it instantaneously on a bunch of files. Just try it if you want to see.
I could of course develop more options, such as command-line specification of the FPS (24p by default) but I'll only do it if people are interested :)
User avatar
Posts: 88
Joined: Apr 2009
Location: Lausanne, Switzerland
jsmonzani
Pro Member
Pro Member

Re: A script I've done to conform to 24p / 25p

Postby linus on 11 Aug 2009 08:08

...and as it works best with files without sound, here is a quick way to remove sound from MOV files.

Open your file in Quicktime PRO. If you don't have QT PRO, don't go get it. Wait for Snow Leopard and the new Quicktime X which contains all PRO advantages.
Open the Movie Properties window by Command-J (or Ctrl-J for Windows users).
Select the soundtrack and press backspace/delete.
File -> Save as...
Save as a self-contained movie
Done!
User avatar
Posts: 17
Joined: Aug 2009
linus
New Member
New Member

Next

Return to 30p / 25p / 24p

Who is online

Users browsing this forum: No registered users and 2 guests

cinema5d.com - The forum for dslr filmmakers - Canon 5D mark II questions and answers - This is the 5Dmk2 community - cinema 5D - The 5DmkII resource - 5D2