AnsweredAssumed Answered

Can't start a Content Transformer /content options...

Question asked by mir4ge on Mar 17, 2008
Latest reply on Mar 18, 2008 by mir4ge
Hi, folks!
I'd like to create a simple rule on a space which converts a videoclip from its own original format to another,  and which places the
new created file into another space automatically (a space for each video format).
But, before of this, I have to create a new action, that performs the content transformation through FFmpeg.
I Know I can use the default RuntimeExecutableContentTransformer,
but I didn't understand why  Alfresco gives an error during the start-up:


My config and context files match the example shown @
but the configurationChecker gives an error…
May it be due to the difference between the output of the checking command
 ffpeg -h
  (the output is not a file, but a list on the std out)
and a simple transformation command
ffmpeg -i "${source}" -s 320x240 -ar 44100 -r 12 "${target}"
(the output is a file) ???

I'm using Alfresco Community Tomcat 2.9.0B
I put the config. files in the <extensionRoot>, i.e.  shared/classes/alfresco/extension…

Shall I try by-passing the configurationChecker ??

Besides, I'd like to know if there's a way to pass the options to the ffmpeg command through a selection menu via the webclient…
i.e. Is there in the RuntimeExecutableContentTransformer a syntax like
"${source}" (which refers to the input file selected from the webclient UI)
even for the options of a command (such as sample-rate, resolution…etc)???