Are there size limitations for videos processed

Does Nuxeo 6 have a specific max file size for videos to be managed / transcoded or some time limit for processing. Up to 2 Gb it works fine but with larger videos I run into errors. The files are uploaded correctly, are available on the server in the storage and can be converted with FFmpeg from the commandline. Metadata extraction, storyboarding and transcodings fail though.

The errors in the log are similar to: https://jira.nuxeo.com/browse/NXP-13094 but I get no hints on a solution there.

2015-01-13 09:10:47,982 ERROR [Nuxeo-Work-videoConversion-16] [org.nuxeo.ecm.core.work.WorkManagerImpl] Uncaught error on thread Nuxeo-Work-videoConversion-16 org.nuxeo.ecm.core.api.ClientRuntimeException: org.nuxeo.ecm.core.convert.api.ConversionException: Unable to get Blob for holder at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:164) at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java:102) at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:351) at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:312) at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:280) at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.nuxeo.ecm.core.convert.api.ConversionException: Unable to get Blob for holder at org.nuxeo.ecm.platform.video.convert.BaseVideoConversionConverter.getCmdStringParameters(BaseVideoConversionConverter.java:112) at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.convert(CommandLineBasedConverter.java:91) at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:203) at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:158) … 8 more Caused by: java.lang.ArithmeticException: / by zero at org.nuxeo.ecm.platform.video.convert.BaseVideoConversionConverter.getCmdStringParameters(BaseVideoConversionConverter.java:103) … 11 more

Additional info: When I try to convert to MP4 480p the file is not copied over to the conversion tmp folder. I can download the original file without problems though through in the UI. Hope this addition helps.

2015-01-13 10:10:08,216 ERROR [Nuxeo-Work-videoConversion-19] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: VideoConversionWork(e6989ac4-bb35-4096-a3c0-46b09c37aaf8, , Progress(?%, ?/0), Transcoding) org.nuxeo.ecm.core.api.ClientRuntimeException: org.nuxeo.ecm.core.convert.api.ConversionException: Error while converting via CommandLineService

at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:164)
at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java:102)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:351)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:312)
at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:280)
at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Caused by: org.nuxeo.ecm.core.convert.api.ConversionException: Error while converting via CommandLineService

at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.execOnBlob(CommandLineBasedConverter.java:178)
at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.convert(CommandLineBasedConverter.java:94)
at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:203)
at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:158)
... 8 more

Caused by: org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: /bin/sh -c ffmpeg -i “/nuxeo/nuxeo-cap-6.0-tomcat/tmp/cmdLineBasedConverter1644222809029281461.mov” -s “854"x"480” -acodec libfaac -vcodec libx264 -v 0 “/nuxeo/nuxeo-cap-6.0-tomcat/tmp/convertToMP4_100b4719-7822-4ef0-b650-c9b18b2c57d6/videoConversion3212288417743282461.mp4”

at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:61)
at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:98)
at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:160)
at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.execOnBlob(CommandLineBasedConverter.java:168)
... 11 more
0 votes

1 answers

2315 views

ANSWER



Moved from CentOS 6.3 to SLES12-12-0 and the video handling works as expected no.

0 votes