PDA

View Full Version : Problems with Producer's job files


Latexxx
17th January 2004, 11:33
I've been fooling around with Helix Producer's job files lately and I haven't got the idea completely. Could somebody tell me what is wrong with the following job file?

<?xml version="1.0" encoding="ANSI"?>
<job xmlns="http://ns.real.com/tools/job.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ns.real.com/tools/job.2.0 http://ns.real.com/tools/job.2.0.xsd">
<enableTwoPass type="bool">true</enableTwoPass>
<input xsi:type="avFileInput">
<filename type="string">F:\HP_AND_THE_CHAMBER_OF_SECRETS\abs\hp3.avs</filename>
<prefilters>
<prefilter xsi:type="deinterlacePrefilter">
<pluginName type="string">rn-prefilter-deinterlace</pluginName>
<enabled type="bool">false</enabled>
<manual type="bool">false</manual>
<deinterlace type="bool">false</deinterlace>
<inverseTelecine type="bool">false</inverseTelecine>
</prefilter>
<prefilter xsi:type="videoNoiseReductionPrefilter">
<pluginName type="string">rn-prefilter-videonoisereduction</pluginName>
<enabled type="bool">false</enabled>
<level type="string">high</level>
</prefilter>
<prefilter xsi:type="blackLevelPrefilter">
<pluginName type="string">rn-prefilter-blacklevel</pluginName>
<enabled type="bool">false</enabled>
</prefilter>
<prefilter xsi:type="audioGainPrefilter">
<pluginName type="string">rn-prefilter-audiogain</pluginName>
<enabled type="bool">false</enabled>
<gain type="double">0.0000</gain>
</prefilter>
</prefilters>
</input>
<parOutputs>
<output>
<destinations>
<destination xsi:type="fileDestination">
<name type="string">FileOutput</name>
<filename type="string">realvideo.rm</filename>
</destination>
</destinations>
<mediaProfile>
<audienceRefs>
<audienceRef>Helix GUI</audienceRef>
</audienceRefs>
<audioMode type="string">music</audioMode>
<videoMode type="string">normal</videoMode>
<disableAudio type="bool">false</disableAudio>
<disableVideo type="bool">false</disableVideo>
<outputWidth type="uint">0</outputWidth>
<outputHeight type="uint">0</outputHeight>
<resizeQuality type="string">high</resizeQuality>
<audioResamplingQuality type="string">high</audioResamplingQuality>
</mediaProfile>
</output>
</parOutputs>
<audiences>
<audience>
<name type="string">Helix GUI</name>
<avgBitrate type="uint">720000</avgBitrate>
<maxBitrate type="uint">3500000</maxBitrate>
<streams>
<stream xsi:type="videoStream">
<pluginName type="string">rn-videocodec-realvideo</pluginName>
<codecName type="string">rv10</codecName>
<encodingType type="string">vbrBitrate</encodingType>
<encodingComplexity type="string">high</encodingComplexity>
<quality type="uint">90</quality>
<maxStartupLatency type="double">60</maxStartupLatency>
<maxFrameRate type="double">25</maxFrameRate>
<maxKeyFrameInterval type="double">10</maxKeyFrameInterval>
<enableLossProtection type="bool">false</enableLossProtection>
<codecProperties type="bag">
<encoderComplexity type="uint">85</encoderComplexity>
<customPacketSize type="uint">16000</customPacketSize>
<firstPassComplexity type="uint">65</firstPassComplexity>
</codecProperties>
</stream>
<stream xsi:type="audioStream">
<pluginName type="string">rn-audiocodec-realaudio</pluginName>
<codecName type="string">racp</codecName>
<codecFlavor type="uint">1</codecFlavor>
<encodingComplexity type="string">high</encodingComplexity>
<streamContext type="bag">
<presentationType type="string">audio-video</presentationType>
<audioMode type="string">music</audioMode>
</streamContext>
</stream>
</streams>
</audience>
</audiences>
</job>

Sirber
17th January 2004, 14:29
You have both EHQ settings:

<encodingComplexity type="string">high</encodingComplexity>

<encoderComplexity type="uint">85</encoderComplexity>

Latexxx
17th January 2004, 14:53
Still doesn't work, and Producer is very verbose, "Error: Unable to create an encoding job from file "HelixGui.rpjf"

karl_lillevold
17th January 2004, 16:39
Hello, debugging job files can sometimes be a little tricky. My procedure is usually to remove sections, pre-filters etc until it works. Then figure out what is wrong with what was removed. However in this case, Producer 10, the command line actually tells me what's wrong:

Error: XML parsing error in jobfile: c:\test.rpjf, line#: 1, error: unknown encoding

Removing encoding="ANSI" from the first line makes the job file work on my system.

And, Sirber is right, both encoderComplexity and encodingComplexity are not needed. The codecProperties encoderComplexity (uint) will in this case over-ride Producer's encodingComplexity (string). As it happens 85 = high, so it does not really matter, just something to be aware of.

Latexxx
17th January 2004, 22:16
Besides the things that you mentioned, the Producer didn't found the file itself and it appears that "Error: Unable to create an encoding job from file "HelixGui.rpjf" means that the Producer can't find the file. It would be nicer if it would say something like, "File not found."

Sirber
17th January 2004, 23:47
ok, set it so producer find it :)

karl_lillevold
18th January 2004, 00:46
@Latexxx: I absolutely 100% agree, and I have filed an "enhancement request" :
https://helix-dna.helixcommunity.org/issues/show_bug.cgi?id=1160

@Everyone: Feel free to file your own bug reports, as well as requests for improvements. The Producer team is very busy, and not everything will be prioritized right away though, but it's better to have it in the system, so it's not forgotten..

Sirber
18th January 2004, 00:57
that's what I do everyday :( ;) :D

Latexxx
18th January 2004, 12:30
Originally posted by Sirber
ok, set it so producer find it :)

I set it already. Now I'm trying to get batch encoding to work. (Weirdo Delphi, I thought that I had it working already...)

Sirber
18th January 2004, 14:59
Are you making a GUI?

Latexxx
18th January 2004, 15:44
No. I'm just tweakin' my old "experimental" release to work with Real Video 10. Maybe i should forget it and start building something using this (https://helix-producer.helixcommunity.org/nonav/specs/producer/current/ActiveX/interfaces.htm).

Sirber
18th January 2004, 16:09
Could be cool :)

but last time I checked the ActiveX thing, it was not ready for production. It was lacking some features I needed. :(