[Bf-python] embedding timecode

jochen issing jochen at mcf-music.de
Mon Mar 28 17:03:29 CEST 2005


Hi Jonathan,

thanks for the quick response! They both sound quite advanced, because I
am not really experienced in Python and blender scripting. Anyway, it seems 
I have a reason to become it now ;-)
So if anybody has written a plugin/script already for this purpose, I
will be really thankful, to take a look at it.
Thanks,

jochen


On Tue, Mar 29, 2005 at 12:33:00AM +1000, Jonathan Merritt wrote:
> Hi Jocen,
> 
> >I am searching for an easy method to embed the timecode into each frame.
> >  
> >
> 
> If you can find a way to render the text you require into a Blender
> image buffer, you could do this efficiently in C using a sequence
> plugin.  Actually rendering the text into the image buffer is the
> difficult bit; compositing it onto the frame in the plugin is easy.
> 
> Alternatively, if you fetch the framerate (available from
> Blender.Render.RenderData objects using  the framesPerSec() method), you
> could do this using a script that post-processes a sequence after it has
> been rendered.  To do the actual post-processing, you can use the Python
> Imaging Library (PIL):
>        http://www.pythonware.com/products/pil/
> PIL can draw on an image using either bitmap or OpenType/TrueType
> fonts.  There is lots of documentation available on their website.
> 
> Hope the above helps.  I have used PIL for quick timecoding / frame
> marking of several sequences.  I find myself using a script that runs
> completely outside of Blender most of the time, because I also use it
> for sequences rendered by Aqsis.
> 
> -- 
> Jonathan Merritt BE(Mech)/BSc
> PhD Student - Equine Biomechanics
> The University of Melbourne
> Veterinary Clinical Centre, Werribee
> 
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python

-- 
----------------------------------------
 jochen issing                webmaster
 mailto:jochen at mcf-music.de
 http://www.mcf-music.de
 GPG:0A121BC8
----------------------------------------



More information about the Bf-python mailing list