Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2227

Switch to regular ffmpeg as of <?>

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: AWS

      Description

      Using today's build and installing JSF, Web UI, Showcase content and DAM, I get the following errors on start up.

      Uninstalling DAM solved the problem.

      2017-12-15 10:54:19,449 ERROR [Nuxeo-Work-videoConversion-1:default:a8567fc7-8df1-41b1-81fd-efc986a36187:videoconv:MP4 480p] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: VideoConversionWork(a8567fc7-8df1-41b1-81fd-efc986a36187, /videoAutomaticConversions:191257358997212.1222487080, 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:322)
      	at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:170)
      	at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java:102)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:379)
      	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 aac -strict -2 -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)
      	... 10 more
      2017-12-15 10:54:19,489 ERROR [Nuxeo-Work-videoConversion-1] [org.nuxeo.ecm.core.work.WorkManagerImpl] Uncaught error on thread: Nuxeo-Work-videoConversion-1, current work might be lost, WorkManager metrics might be corrupted.
      java.lang.RuntimeException: Work failed after 0 retries, class=class org.nuxeo.ecm.platform.video.service.VideoConversionWork id=default:a8567fc7-8df1-41b1-81fd-efc986a36187:videoconv:MP4 480p category=videoConversion title=Video Conversion MP4 480p
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:354)
      	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.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:322)
      	at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:170)
      	at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java:102)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:379)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:338)
      	... 4 more
      Caused by: org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: ffmpeg -i #{inFilePath} -s #{width}x#{height} -acodec aac -strict -2 -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)
      	... 10 more
      2017-12-15 10:54:25,434 INFO  [localhost-startStop-1] [javax.enterprise.resource.webcontainer.jsf.application] jsf.core.injection.provider_generic_web_configured
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: