Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-57547

Generating Audio Previews in OGG format throws an error for files under 64kbits

    Details

      Description

      Description
      Generating Audio Previews in OGG format throws an error for files under 64kbits
      Steps to Reproduce
      1) Start liferay 6.2 with this property xuggler.enabled=true
      2) Install Xuggler in Control Panel > Server Administration > External Servicese > Install Xuggler
      3) Upload the attached MP3s to the Documents and Media portlet of the Liferay site.
      4) Click on each file.
      5) The error is thrown after clicking the 32 bit mp3
      Expected Result: there will be no errors
      Actual Result: The following error occurs.

      15:42:54,858 ERROR [liferay/document_library_audio_processor-1][AudioProcessorImpl:397] java.util.concurrent.ExecutionException: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Unable to open coder
      java.util.concurrent.ExecutionException: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Unable to open coder
      	at com.liferay.portal.kernel.process.ProcessExecutor$ProcessExecutionFutureResult.get(ProcessExecutor.java:502)
      	at com.liferay.portal.kernel.process.ProcessExecutor$ProcessExecutionFutureResult.get(ProcessExecutor.java:476)
      	at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl._generateAudioXuggler(AudioProcessorImpl.java:376)
      	at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl._generateAudioXuggler(AudioProcessorImpl.java:417)
      	at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl._generateAudio(AudioProcessorImpl.java:320)
      	at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl.generateAudio(AudioProcessorImpl.java:104)
      	at com.liferay.portlet.documentlibrary.util.AudioProcessorUtil.generateAudio(AudioProcessorUtil.java:36)
      	at com.liferay.portlet.documentlibrary.messaging.AudioProcessorMessageListener.generate(AudioProcessorMessageListener.java:32)
      	at com.liferay.portlet.documentlibrary.messaging.BaseProcessorMessageListener.doReceive(BaseProcessorMessageListener.java:36)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      	at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:67)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Unable to open coder
      	at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl$LiferayAudioProcessCallable.call(AudioProcessorImpl.java:499)
      	at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl$LiferayAudioProcessCallable.call(AudioProcessorImpl.java:1)
      	at com.liferay.portal.kernel.process.ProcessExecutor.main(ProcessExecutor.java:192)
      Caused by: java.lang.RuntimeException: Unable to open coder
      	at com.liferay.portlet.documentlibrary.util.LiferayConverter.openStreamCoder(LiferayConverter.java:649)
      	at com.liferay.portlet.documentlibrary.util.LiferayAudioConverter.doConvert(LiferayAudioConverter.java:111)
      	at com.liferay.portlet.documentlibrary.util.LiferayAudioConverter.convert(LiferayAudioConverter.java:54)
      	at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl$LiferayAudioProcessCallable.call(AudioProcessorImpl.java:496)
      	... 2 more
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 30 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M7