Video renditions remain in converting state

Even though video conversions are done, the status information on the renditions remains in converting state. How can I fix it so that users can download the renditions?

0 votes

0 answers

2123 views

ANSWER

This looks like a bug to me. I just downloaded a new 8.3 and have the same problem. I've installed the software requirements as described. Here are the errors I get. Are you seeing the same thing in your nuxeo-server-8.3-tomcat/log/server.log?

2016-09-09 09:06:39,324 ERROR [Nuxeo-Work-videoConversion-1:default:c2f96bb8-1afa-4dbf-82fc-126fcaf1af79:videoconv:MP4 480p] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: VideoConversionWork(c2f96bb8-1afa-4dbf-82fc-126fcaf1af79, /videoAutomaticConversions:48290090002956.1037893208, Progress(?%, ?/0), Transcoding) org.nuxeo.ecm.core.convert.api.ConversionException: Error while converting via CommandLineService

    at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.execOnBlob(CommandLineBasedConverter.java:166)
    at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.convert(CommandLineBasedConverter.java:93)
    at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:205)
    at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:177)
    at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java:102)
    at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:416)
    at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:377)
    at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:338)
    at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
    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.platform.commandline.executor.api.CommandException: Error code 1 return by command: ffmpeg -i #{inFilePath} -s #{width}x#{height} -acodec libfaac -vcodec libx264 -v 0 #{outFilePath}

    at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:62)
    at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:83)
    at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:173)
    at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.execOnBlob(CommandLineBasedConverter.java:157)
    ... 11 more

2016-09-09 09:06:39,328 ERROR [Nuxeo-Work-videoConversion-1] [org.nuxeo.ecm.core.work.WorkManagerImpl] Uncaught error on thread Nuxeo-Work-videoConversion-1 org.nuxeo.ecm.core.convert.api.ConversionException: Error while converting via CommandLineService at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.execOnBlob(CommandLineBasedConverter.java:166)

    at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.convert(CommandLineBasedConverter.java:93)
    at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:205)
    at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:177)
    at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java:102)
    at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:416)
    at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:377)
    at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:338)
    at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
    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.platform.commandline.executor.api.CommandException: Error code 1 return by command: ffmpeg -i #{inFilePath} -s #{width}x#{height} -acodec libfaac -vcodec libx264 -v 0 #{outFilePath}

    at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:62)
    at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:83)
    at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:173)
    at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.execOnBlob(CommandLineBasedConverter.java:157)
    ... 11 more
09/09/2016

Do you have this problem with all video file formats? Looks like the MTS file format isn't supported. https://doc.nuxeo.com/display/NXDOC710/Supported+File+Formats
09/09/2016

seems downgrading to 8.1 is the only option … there it all worked well.
10/20/2016