View Full Version : Xml
Mark Allen
01-10-2008, 10:40 AM
Has anyone had success with XML importing?
I was thinking maybe I could use proxies for the offline and then import those matching up with the r3d files - but that doesn't seem to work. Is it because the proxies have a _P on the end of the file name (and lacks the 001)?
Any tips would be appreciated.
details -
error is "failed to load construct"
latest 12/18 version of redcine build 74
Mac 8-core
XML from FCP xml version 4
I Bloom
01-10-2008, 11:09 AM
Has anyone had success with XML importing?
I was thinking maybe I could use proxies for the offline and then import those matching up with the r3d files - but that doesn't seem to work. Is it because the proxies have a _P on the end of the file name (and lacks the 001)?
Any tips would be appreciated.
details -
error is "failed to load construct"
latest 12/18 version of redcine build 74
Mac 8-core
XML from FCP xml version 4
There's more to it than just the filenames. Your XML file needs to be translated from an FCP XML to a RedCine XML. Two different document structures using the same language. You need a script or software to do that.
Mark Allen
01-10-2008, 11:55 AM
Sounds like a good thing to put up on redhax.net :)
Has anyone made such a thing? I've not even figured out how to export xml from red to see what a red xml would look like.
I Bloom
01-10-2008, 12:07 PM
Sounds like a good thing to put up on redhax.net :)
Has anyone made such a thing? I've not even figured out how to export xml from red to see what a red xml would look like.
I believe that will be one function of Offhollywood's RedTools. Sounds like Avid is also building a Redcine XML export function. Give it until the end of January and you'll def see pull lists working.
If you just put an .xml on the end of you project file Redcine will make one.
Check out the pull list thread as well, that is where the action is on this topic.
Now you owe me an edit on Redhax ;)
IBloom
Rainer Fritz
01-13-2008, 03:55 AM
do i misunderstand something or.... ???
You can export a red xml from redcine when you put a .xml at saving the project, but it is not possible to import one to redcine, right ??? or not ??
So redcine seems to have the same GUI design as assimilates scratch... So which functions will be integrated at redcine and which not?
Can somebody from RED explane please.... because i have to know if i must buy a very expensive software or not.... !!!
thx
Rainer
Cüneyt Kaya
01-13-2008, 04:11 AM
redcine can read his own type of xml...
lets say redcine writes and reads an xml with roman letters but in french....and fcp writes the xml also with roman letters but in english....
this means you need a translator, who takes the englsih fcp xml, and turns it to
a french xml.
now you could take the translated fcp xml and load it in redcine :voila you got a pullist.
PART 2
but asfaik thats not the end of the story....now comes step two.
1.
now you have a dpx output and want to finish in color/after effects dont know where....
you create fcp edl.....all edls are the same language, so no need to translate to something.
then you import this edl into color....but you have to tell color : no dont use the r3d files as reference...you point color to the created dpx.
then you are ready.
( if something in the second part is not true, tell it)
Mark L. Pederson
01-13-2008, 04:44 AM
redcine can read his own type of xml...
lets say redcine writes and reads an xml with roman letters but in french....and fcp writes the xml also with roman letters but in english....
this means you need a translator, who takes the englsih fcp xml, and turns it to
a french xml.
now you could take the translated fcp xml and load it in redcine :voila you got a pullist.
This is correct. AVID is going to have an EXPORT REDCINE XML function that does that translation - and I can only assume Apple will follow suit. One of many functions of the application we are working on is IMPORT FCP XML and EXPORT REDCINE XML. I am also sure a number of hacker types out there will posts some scripts as well. It is not rocket science. The REDCINE XML spec is not finished yet - so .... we all gotta wait.
PART 2
but asfaik thats not the end of the story....now comes step two.
1.
now you have a dpx output and want to finish in color/after effects dont know where....
you create fcp edl.....all edls are the same language, so no need to translate to something.
then you import this edl into color....but you have to tell color : no dont use the r3d files as reference...you point color to the created dpx.
then you are ready.
( if something in the second part is not true, tell it)
Yes. And you could do that a few different ways - we don't use color because we have Scratch - but I assume Color imports a FCP XML (Interchange Version 4) - so, you could EASILY write a script that takes your FCP XML (from edit) and changes the media source (and media size and type) - I THINK that is all you need as I am pretty sure COLOR doesn't use filenames in the conform - only TC and REEL# - which will be in the DPX headers - if it does use filenames - that's pretty easy too -
I Bloom
01-13-2008, 05:29 AM
I am also sure a number of hacker types out there will posts some scripts as well.
How can you be sure?
Mark L. Pederson
01-13-2008, 05:44 AM
How can you be sure?
LOL!
I expect YOU to post one within days of the REDCINE XML spec being 90%!!
Not sure if you are serious or not Ian - but there is a BUNCH of crazy coders on this board - I have gotten several emails with REDUSERS offering me scripts and code - it is going to happen - there will be many tools -
I Bloom
01-13-2008, 06:06 AM
I expect YOU to post one within days of the REDCINE XML spec being 90%!!
Holy shit. R U serious?!
Mark L. Pederson
01-13-2008, 06:08 AM
Holy shit. R U serious?!
aren't you coding already ....?
I Bloom
01-13-2008, 06:15 AM
aren't you coding already ....?
Just pulling yo chain man. FCP XML to REDCINE XML is done. Just needs to be tweaked and tested when the new build comes out. But command line only friend. I'll leave to GUI to you.
Mark L. Pederson
01-13-2008, 06:17 AM
Yes FCP XML to REDCINE XML is done. Just needs to be tweaked and tested when the new build comes out. But command line only friend. I'll leave to GUI to you.
We are doing our own parsers too Ian - we have some grand ideas.
But maybe you should let your command line into the wild ..?
I Bloom
01-13-2008, 06:21 AM
We are doing our own parsers too Ian - we have some grand ideas.
But maybe you should let your command line into the wild ..?
Once Redtools comes out yeah maybe. But for about two weeks I may have the market cornered :gun:
Marcus Vasques Osorio
01-13-2008, 06:46 AM
Any chance of getting hold of a command line version ;-) i can fix some GUI for ya......... which language btw JAVA, C, Pyton....etc....etc.....
Marcus
Cüneyt Kaya
01-13-2008, 06:55 AM
sorry basic question
what is the difference between command line and GUI version?
Simon Blackledge
01-13-2008, 09:21 AM
CL you type in a shell.. txt only..
gui as in you have a graphical user interface.. as in it runs as any other app like redcine or red alert.. with buttons to press etc..
Cüneyt Kaya
01-13-2008, 09:24 AM
ok got it...thanks
I Bloom
01-13-2008, 06:53 PM
Any chance of getting hold of a command line version ;-) i can fix some GUI for ya......... which language btw JAVA, C, Pyton....etc....etc.....
Marcus
Lets talk in a week.
Answer: Python
Ben A.
01-22-2008, 01:25 PM
Hmm.. Seems Like a Job for...
Red Lightning Software!
Up UP and Away
red24601
03-10-2008, 09:32 AM
doing post on a red shoot and am having trouble importing redcine.xml into redcine (used redtrip to convert fcp xml to redcine xml...)
opened redcine, created new project, loaded all .R3D files into redcine... but when I use the project open selector to open my xml, the files do not appear in my library and all the folders that do are dead-ends...
anybody experience this problem? tips/advice?
Reinhart
03-10-2008, 12:49 PM
Following the steps at redhax.net/wiki/redtrip I get to this step:
13. Open your newly generated .Redcine.xml file using the project open selector. It should load at this point You will see all of the files from your sequence in you library, with duplicate files for repeat uses. The files will not be in sequence order.
And RedCINE crashes. Perhaps this is a version problem? I've tried with REDCINE v1.0.4 (Build 90) as well as the previous build ... same results.
I've also noticed that the XML created by RedTrip does not have the ".Redcine.xml" extension mentioned above, but rather just has "Redcine.xml" (no preceding ".") added to the file name. Perhaps this is just a typo?
red24601
03-10-2008, 01:07 PM
my redcine xml has the .Redcine.xml extension using the same application.. I just can't get past the folders in the library!
Reinhart
03-10-2008, 01:25 PM
Hmmm. That's interesting. Guess I'll try again from the top. I also see that the xml file created by RedTrip doesn't have much in it...which can't be right.
Reinhart
03-10-2008, 03:19 PM
Beware of spaces in file names. On one of the filename dialogs for RedTripDroplet Step 2 it offers me the proper name with a "\" in front of the space but the python code takes it upon itself to add another "\" thus giving me something like "Sequence\\ 1.xml" instead of "Sequence\ 1.xml" The program dies on the first one as it can't find the file. Works fine if I delete the extraneous "\" on the dialog window.
I Bloom
03-11-2008, 02:18 PM
Post you Redcine XML from RedTrip.
It sounds like RedTrip is not finding your R3D files. Where are they and how are your proxies named?
IBloom
Scott Simmons
03-11-2008, 02:43 PM
Ian, if you R3D files are several folders deep on a drive, will RedTrip have problems with them? Should they be as close to the top as possible? And do other things in the folders like camera logs and stuff like that cause a problem?
Reinhart
03-14-2008, 12:00 PM
Post you Redcine XML from RedTrip.
It sounds like RedTrip is not finding your R3D files. Where are they and how are your proxies named?
IBloom
Sorry, should have posted that I got it working. Yup, it was a folder mishap. But, my Redcine XML file is still not getting the "." before the "Redcine" which is OK by me, but seems a little odd.
Scott Simmons
03-14-2008, 04:23 PM
Sorry, should have posted that I got it working. Yup, it was a folder mishap. But, my Redcine XML file is still not getting the "." before the "Redcine" which is OK by me, but seems a little odd.
reinhart;
can you post exactly what that "folder mishap" was that you had? It might help some of us who are having trouble with out own RedTrip workflows.
Thanks.
Dylan Reeve
03-14-2008, 04:35 PM
Not related to RedTrip, but I've been doing some RED XML fiddling of my own, and been getting the 'Construct Failed' message...
I assumed I had messed up the XML somehow, so I exported a new project from REDCINE as XML and looked at it, it was the same structure. Still no luck. So I tried to reimport the example XML to REDCINE, but no luck... I can't seem to open an XML in REDCINE even if that file was just exported from the software and has not been touched...
I will have to look into it more on Monday I think.
tj williams
03-15-2008, 09:41 AM
Why in hell doesn't red just incorporate this whole buncha stuf into RED cine, pay you guys for development work you've done for them "for free" and it would all work invisably in the background and we dum users wouldn't hafta worry about any of this we would just hit Render and what we wanna render to and Presto... command line interface be damned, I didn't become a photographer to learn to use stupidly overcomplex tools.
Reinhart
03-17-2008, 09:05 AM
reinhart;
can you post exactly what that "folder mishap" was that you had? It might help some of us who are having trouble with out own RedTrip workflows.
Thanks.
It was merely a case of the xml file not being in the same folder as the R3D files. When I dropped the xml onto RedTripDroplet Step 1 I noticed that (in the
console output) the folder was incorrect. I think it was pointing to the location of the xml file rather than the R3D files. (going from memory here, I'm not in front of the proper system right now.) Ultimately, I just drug the xml into the proper place (with the R3D files) and all was well.
Since I'm a true novice (well, beginner actually) at this stuff (I'm a software developer, not a movie-guy) I'll recreate all of my steps and post more details for you.
Scott Simmons
03-17-2008, 02:15 PM
Hey thanks reinhart, that would be great.
From my work with RedTrip I've found that it's very particular on where all these files reside. Sometimes it works, sometimes it doesn't and it's hard to pin-point the reason so any details is appreciated.