cancel
Showing results for 
Search instead for 
Did you mean: 

Video transformation doesn't start on 4.2.e

yer__6
Champ in-the-making
Champ in-the-making
i followed each step of this topic <a>https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/video-thumbnails-...</a> to define ffmpeg on alfresco and make active the transformation.
everything seems ok until i restart the alfresco service. That is the my logs;


17:06:08,822 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
17:06:08,917 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
17:06:34,659 DEBUG [org.alfresco.util.exec.RuntimeExec] Execution result:
   os:         Linux
   command:    /home/ladmin/bin/ffmpeg -version
   succeeded:  true
   exit code:  0
   out:        ffmpeg version git-2013-10-24-a547c49
built on Oct 24 2013 10:42:35 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration: –prefix=/home/ladmin/ffmpeg_build –extra-cflags=-I/home/ladmin/ffmpeg_build/include –extra-ldflags=-L/home/ladmin/ffmpeg
   err:        /home/ladmin/bin/ffmpeg: /opt/alfresco-4.2.e/common/lib/libz.so.1: no version information available (required by /home/ladmin/bin/ffmpeg)
/home/ladmin/bin/ffmpeg: /opt/alfresco-4.2.e/common/lib/libz.so.1: no version information available (required by
17:06:34,660 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Transformers' subsystem, ID: [Transformers, default]
17:06:34,792 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.Image as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|complex.PDF.Image").
17:06:34,804 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.Pdf2swf as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|Pdf2swf").
17:06:34,804 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.JodConverter.Html2Pdf as sub transformers could not be found or created ("JodConverter|odt|JodConverter").
17:06:34,804 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.JodConverter.2Pdf as sub transformers could not be found or created ("JodConverter|JodConverter.Html2Pdf").
17:06:34,805 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.PdfBox as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|PdfBox").
17:06:35,192 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete
17:06:35,192 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] In order to support dynamic setting of transformer options, Spring XML configuration
17:06:35,192 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] is no longer used to initialise these options.
17:06:35,192 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] 
17:06:35,192 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] Your system appears to contains custom Spring configuration which should be replace by
17:06:35,192 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] the following Alfresco global properties. In the case of the Enterprise edition these
17:06:35,192 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] values may then be dynamically changed via JMX.
17:06:35,212 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] 
17:06:35,212 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.flv.jpg.priority=50
17:06:35,212 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.flv.jpg.supported=true
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.mpg.jpg.priority=50
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.mpg.jpg.supported=true
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.mp4.jpg.priority=50
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.mp4.jpg.supported=true
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.m4v.jpg.priority=50
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.m4v.jpg.supported=true
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.mpeg2.jpg.priority=50
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.mpeg2.jpg.supported=true
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.movie.jpg.priority=50
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.movie.jpg.supported=true
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.avi.jpg.priority=50
17:06:35,213 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.avi.jpg.supported=true
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.mov.jpg.priority=50
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.mov.jpg.supported=true
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.asf.jpg.priority=50
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.asf.jpg.supported=true
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.wmv.jpg.priority=50
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.wmv.jpg.supported=true
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.avx.jpg.priority=50
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.avx.jpg.supported=true
17:06:35,214 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.ogv.jpg.priority=50
17:06:35,215 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.ogv.jpg.supported=true
17:06:35,215 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.webm.jpg.priority=50
17:06:35,215 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.thumbnail.extensions.webm.jpg.supported=true
17:06:35,260 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Transformers' subsystem, ID: [Transformers, default]
17:06:35,261 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Transformers' subsystem, ID: [Transformers, default]
17:06:35,261 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Transformers' subsystem, ID: [Transformers, default]
17:06:35,311 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.Image as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|complex.PDF.Image").
17:06:35,312 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.Pdf2swf as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|Pdf2swf").
17:06:35,312 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.JodConverter.Html2Pdf as sub transformers could not be found or created ("JodConverter|odt|JodConverter").
17:06:35,312 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.JodConverter.2Pdf as sub transformers could not be found or created ("JodConverter|JodConverter.Html2Pdf").
17:06:35,312 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.PdfBox as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|PdfBox").
17:06:35,703 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete
17:06:35,771 DEBUG [org.alfresco.util.exec.RuntimeExec] Execution result:
   os:         Linux
   command:    /home/ladmin/bin/ffmpeg -version
   succeeded:  true
   exit code:  0
   out:        ffmpeg version git-2013-10-24-a547c49
built on Oct 24 2013 10:42:35 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration: –prefix=/home/ladmin/ffmpeg_build –extra-cflags=-I/home/ladmin/ffmpeg_build/include –extra-ldflags=-L/home/ladmin/ffmpeg
   err:        /home/ladmin/bin/ffmpeg: /opt/alfresco-4.2.e/common/lib/libz.so.1: no version information available (required by /home/ladmin/bin/ffmpeg)
/home/ladmin/bin/ffmpeg: /opt/alfresco-4.2.e/common/lib/libz.so.1: no version information available (required by
17:06:35,833 DEBUG [org.alfresco.util.exec.RuntimeExec] Execution result:
   os:         Linux
   command:    /home/ladmin/bin/ffmpeg -version
   succeeded:  true
   exit code:  0
   out:        ffmpeg version git-2013-10-24-a547c49
built on Oct 24 2013 10:42:35 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration: –prefix=/home/ladmin/ffmpeg_build –extra-cflags=-I/home/ladmin/ffmpeg_build/include –extra-ldflags=-L/home/ladmin/ffmpeg
   err:        /home/ladmin/bin/ffmpeg: /opt/alfresco-4.2.e/common/lib/libz.so.1: no version information available (required by /home/ladmin/bin/ffmpeg)
/home/ladmin/bin/ffmpeg: /opt/alfresco-4.2.e/common/lib/libz.so.1: no version information available (required by
17:06:35,881 DEBUG [org.alfresco.util.exec.RuntimeExec] Execution result:
   os:         Linux
   command:    /home/ladmin/bin/ffmpeg -version
   succeeded:  true
   exit code:  0
   out:        ffmpeg version git-2013-10-24-a547c49
built on Oct 24 2013 10:42:35 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration: –prefix=/home/ladmin/ffmpeg_build –extra-cflags=-I/home/ladmin/ffmpeg_build/include –extra-ldflags=-L/home/ladmin/ffmpeg
   err:        /home/ladmin/bin/ffmpeg: /opt/alfresco-4.2.e/common/lib/libz.so.1: no version information available (required by /home/ladmin/bin/ffmpeg)
/home/ladmin/bin/ffmpeg: /opt/alfresco-4.2.e/common/lib/libz.so.1: no version information available (required by
17:06:35,882 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.mpg.flv.priority=50
17:06:35,882 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.mpg.flv.supported=true
17:06:35,882 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.mp4.flv.priority=50
17:06:35,882 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.mp4.flv.supported=true
17:06:35,882 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.m4v.flv.priority=50
17:06:35,882 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.m4v.flv.supported=true
17:06:35,882 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.mpeg2.flv.priority=50
17:06:35,888 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.mpeg2.flv.supported=true
17:06:35,888 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.movie.flv.priority=50
17:06:35,888 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.movie.flv.supported=true
17:06:35,888 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.avi.flv.priority=50
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.avi.flv.supported=true
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.mov.flv.priority=50
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.mov.flv.supported=true
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.asf.flv.priority=50
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.asf.flv.supported=true
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.wmv.flv.priority=50
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.wmv.flv.supported=true
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.avx.flv.priority=50
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.avx.flv.supported=true
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.ogv.flv.priority=50
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.ogv.flv.supported=true
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.webm.flv.priority=50
17:06:35,889 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.flv.extensions.webm.flv.supported=true
17:06:35,904 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Transformers' subsystem, ID: [Transformers, default]
17:06:35,905 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Transformers' subsystem, ID: [Transformers, default]
17:06:35,905 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Transformers' subsystem, ID: [Transformers, default]
17:06:35,954 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.Image as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|complex.PDF.Image").
17:06:35,954 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.Pdf2swf as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|Pdf2swf").
17:06:35,954 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.JodConverter.Html2Pdf as sub transformers could not be found or created ("JodConverter|odt|JodConverter").
17:06:35,954 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.JodConverter.2Pdf as sub transformers could not be found or created ("JodConverter|JodConverter.Html2Pdf").
17:06:35,954 ERROR [org.alfresco.repo.content.transform.TransformerConfigDynamicTransformers] Cannot create dynamic transformer transformer.complex.JodConverter.PdfBox as sub transformers could not be found or created ("JodConverter.2Pdf|pdf|PdfBox").
17:06:36,120 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete
17:06:36,124 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.ffmpeg.mp4.extensions.mpg.mp4.priority=50
………


i know i have alot of problem but i believe you to help me.
3 REPLIES 3

sharifu
Confirmed Champ
Confirmed Champ
I have similar problem. have you solved this yet?

ceeliro
Champ in-the-making
Champ in-the-making
Maybe is too late but just in case

It seems to be a conflict using the bundle installer with libraries in alfresco/common/lib. The Alfresco bundle start scripts overwrite the global Library PATH during startup to priorize the use of libraries found on: alfresco/common/lib. Either if you built or installed ffmpeg from a distro package, it could had been linked to different library versions, and this error raises during a transformation:

*ffmpeg: …/common/lib/libz.so.1: no version information available (required by /usr/lib/x86_64-linux-gnu/libavcodec.so.53)
ffmpeg: …/common/lib/libstdc++.so.6: version `GLIBCXX_X.X.X' not found*

At the end I decided to stop searching and used the static ffmpeg version, which works as expected. Download (http://johnvansickle.com/ffmpeg/), extract and modify the alfresco-global.properties with new path of the ffmpeg-static

jonvargas
Confirmed Champ
Confirmed Champ
Go to the ffmpeg website and download the static binaries. Replace the 'ffmpeg' program and that will do the job, since it will not depend on anything else.