06-09-2009 11:17 AM
10:55:45,040 User:admin DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
source mimetype: video/x-ms-wmv
target mimetype: video/x-flv
transformers: [RuntimeExecutableContentTransformer[ transform=RuntimeExec:
command: ffmpeg -i '${source}' -vcodec flv -ar 44100 -ab 32 -b 800k '${target}'
env props: null
dir: null
os: Linux
10:55:45,197 User:admin DEBUG [util.exec.RuntimeExec] Execution result:
os: Linux
command: [ffmpeg, -i '/opt/Alfresco/tomcat/temp/Alfresco/RuntimeExecutableContentTransformer_source_730142860692261929.wmv', -vcodec flv, -ar 44100, -ab 32, -b 800k, '/opt/Alfresco/tomcat/temp/Alfresco/RuntimeExecutableContentTransformer_target_3588279390070062814.flv']
succeeded: true
exit code: 1
out:
err: FFmpeg version SVN-rUNKNOWN, Copyright © 2000-2007 Fabrice Bellard, et al.
configuration: –prefix=/usr –libdir=/usr/lib –mandir=/usr/share/man –incdir=/usr/include/ffmpeg –enable-libmp3lame –enable-libogg –enable-libvorbis –enable-libogg
06-09-2009 11:22 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="transformer.ffmpeg.WMVtoFLV" class="org.alfresco.repo.content.transform.RuntimeExecutableContentTransformer" parent="baseContentTransformer">
<property name="transformCommand">
<bean id="commandListRootDir" class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key="Linux">
<list>
<value>ffmpeg</value>
<value>-i '${source}'</value>
<value>-vcodec flv</value>
<value>-ar 44100</value>
<value>-ab 32</value>
<value>-b 800k</value>
<value>'${target}'</value>
</list>
</entry>
<entry key="Windows.*">
<list>
<value>ffmpeg</value>
<value>-i '${source}'</value>
<value>-vcodec flv</value>
<value>-ar 44100</value>
<value>-ab 32</value>
<value>-b 800k</value>
<value>'${target}'</value>
</list>
</entry>
</map>
</property>
<property name="errorCodes">
<value>2</value>
</property>
</bean>
</property>
<property name="explicitTransformations">
<list>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>video/x-ms-wmv</value></property>
<property name="targetMimetype"><value>video/x-flv</value></property>
</bean>
</list>
</property>
</bean>
</beans>
06-09-2009 12:18 PM
06-09-2009 01:14 PM
06-09-2009 01:29 PM
<list>
<value>ffmpeg -i '${source}' -vcodec flv -ar 44100 -ab 32 -b 800k '${target}'</value>
</list>
06-09-2009 01:48 PM
09-07-2009 11:41 AM
09-07-2009 12:08 PM
<entry key="Linux">
<list>
<value>sh</value>
<value>-c</value>
<value>ffmpeg -i '${source}' -vcodec flv -ar 44100 -ab 32 -b 800k '${target}' 2>/dev/null</value>
</list>
</entry>
09-09-2009 12:07 PM
11-16-2009 12:12 PM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="transformer.Ocr.Tiff2Pdf" class="org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker">
<property name="checkCommand">
<bean class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key=".*">
<list>
<value>ocr.exe</value>
<value>–about</value>
</list>
</entry>
</map>
</property>
<property name="errorCodes">
<value>1,2</value>
</property>
</bean>
</property>
<property name="transformCommand">
<bean class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key="Windows.*">
<value>ocr.exe –replace –language fr –pdf –output-file "${target}" "${source}"</value>
</entry>
</map>
</property>
<property name="errorCodes">
<value>1,2</value>
</property>
</bean>
</property>
<property name="explicitTransformations">
<list>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>image/tiff</value></property>
<property name="targetMimetype"><value>application/pdf</value></property>
</bean>
</list>
</property>
</bean>
<bean id="transformer.ocrTopdf" class="org.alfresco.repo.content.transform.ProxyContentTransformer"
parent="baseContentTransformer">
<property name="worker">
<ref bean="transformer.Ocr.Tiff2Pdf"/>
</property>
</bean>
</beans>
18:02:03,407 DEBUG [util.exec.RuntimeExec] Execution result:
os: Windows XP
command: [ocr.exe, –about]
succeeded: true
exit code: 0
out: Intelliant OCR commandline utility, version 1.1.0. Copyright ® 20
06.
Credits:
TIFF Library
Copyright © 1988-1997 Sam Leffler
Copyright © 1991-1997 Silicon Graphics, Inc.
Independent JPEG Group Library
Copyright (C) 1991-19
err:
18:07:38,251 User:admin DEBUG [content.transform.ContentTransformerRegistry] Sea
rched for transformer:
source mimetype: image/tiff
target mimetype: text/plain
transformers: []
18:07:39,188 User:admin DEBUG [content.transform.ContentTransformerRegistry] Sea
rched for transformer:
source mimetype: image/tiff
target mimetype: application/pdf
transformers: []
18:07:39,188 User:admin DEBUG [content.transform.ContentTransformerRegistry] Sea
rched for transformer:
source mimetype: image/tiff
target mimetype: text/plain
transformers: []
18:07:42,126 User:admin DEBUG [content.transform.ContentTransformerRegistry] Sea
rched for transformer:
source mimetype: image/tiff
target mimetype: text/plain
transformers: []
18:13:07,626 User:admin DEBUG [content.transform.ContentTransformerRegistry] Sea
rched for transformer:
source mimetype: image/tiff
target mimetype: text/plain
transformers: []
18:13:13,219 User:admin DEBUG [content.transform.ContentTransformerRegistry] Sea
rched for transformer:
source mimetype: image/tiff
target mimetype: text/plain
transformers: []
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.