Hi flavio, at the moment, I'm at work and can have just a quick glance at the problem. Seemingly the two attached xml files are identical with respect to the semantics (the python script changes the order of the attributes, but this doesn't matter in xml).
I've made the necessary changes manually with a text editor
and attached this manually modified xml. Can you please check
if this now uses the proxy clip for you?
I did the following:
(1) at the bottom, in your video track, change
FILE SRC="cam_flavio2.avi"
to be:
FILE SRC="cam_flavio.toc"
(2)
in the same video track, apply a scale=2.0 to the camera automation default
keyframe:
<CAMERA_Z>
<AUTO CONTROL_IN_POSITION="0" CONTROL_IN_VALUE="0" CONTROL_OUT_POSITION="0"
CONTROL_OUT_VALUE="0" POSITION="0" VALUE="1"></AUTO>
</CAMERA_Z>
changed to be:
<CAMERA_Z>
<AUTO CONTROL_IN_POSITION="0" CONTROL_IN_VALUE="0" CONTROL_OUT_POSITION="0"
CONTROL_OUT_VALUE="0" POSITION="0" VALUE="2"></AUTO>
</CAMERA_Z>
Am Mittwoch, den 21.11.2007, 11:25 -0200 schrieb flavio:
> Right, all that to say that the script worked when I modified that,
> but I'm not sure if it really really worked because....
> I'm sending both files atached and this was the output I had:
>
> [EMAIL PROTECTED]:/mnt/hdb1/flavio/temp/seychelles no mis$ ./proxychange.py
> 01_teste_proxy.xml -from 'proxyfiles/(\w+)\.avi' -to 'hdv/\1.toc'
>
> ['./proxychange.py', '01_teste_proxy.xml', '-from',
> 'proxyfiles/(\\w+)\\.avi', '-to', 'hdv/\\1.toc']
> read session 01_teste_proxy.xml
> transform args={'doAudio': False, 'regExp': <_sre.SRE_Pattern object at
> 0xb7e07e20>, 'scale':
>
> 0.5, 'template': 'o', 'doVideo': True}
>
there seems to be an error already in the documentation. The "GNU getopt"
library I use for command proccessing accepts either short
options with one dash or long options with two dashes.
Here, the script seems to interpret the "-from" as option "-f" with
parameter value "rom", which it obviousely can't find in your session
- and thus the script doesn't change anything :-)
In your second command line, there is a single, unbalanced double quote
at the end, and because of this, your shell prints the ">" in the next
line and expects further input.
Given your session file, I would guess the commandline should be rather
as follows:
./proxychange.py 01_teste_proxy.xml --from 'cam_flavio2.avi' --to
'cam_flavio.toc' --scale 2.0
The example in the documentation uses a "regular expression match" to
do an automated transfroming with several different media files, where
the original media reside in subfolder "proxyfiles/" and the target
media reside in subfolder "hdv/". In the above command line for your
session file, I gave you a simple search-and-replace...
My apologies for all the hassle! I would be much more happy, if we
could just code a simple dialog box into cinelerra and the App would
handle all those details internally....
cheers,
Hermann
01_teste_proxy.modified-manually.xml
Description: Binary data
