Legacy Knowledge Base
公開されました Jun. 30, 2025

Xugglerで、2つ以上のオーディオチャンネルを持つビデオのサムネイルを生成できない。

Written By

Tímea Bihari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

2チャンネル以上の音声を持つ動画で、サムネイルが生成されず、エラーとなる:

2023-02-16 10:48:35.507 ERROR [main][xuggler:105] Error: inputChannels > 2; unsupported (../../../../../../../csrc/com/xuggle/xuggler/AudioResampler.cpp:151)
2023-02-16 05:18:36.066 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:568] Unable to process 306122 sample video (1).mp4.
java.util.concurrent.ExecutionException: com.liferay.petra.process.ProcessException: java.lang.RuntimeException: Audio resampling is not supported
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:550)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:596)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:470)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:119)
at com.liferay.document.library.kernel.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:36)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.generate(VideoProcessorMessageListener.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:74)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:58)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.liferay.petra.process.ProcessException: java.lang.RuntimeException: Audio resampling is not supported
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:726)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:682)
at com.liferay.petra.process.local.LocalProcessLauncher.main(LocalProcessLauncher.java:135)
Caused by: java.lang.RuntimeException: Audio resampling is not supported
at com.liferay.portlet.documentlibrary.util.LiferayConverter.createIAudioResampler(LiferayConverter.java:153)
at com.liferay.portlet.documentlibrary.util.LiferayConverter.prepareAudio(LiferayConverter.java:735)
at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.doConvert(LiferayVideoConverter.java:162)
at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.convert(LiferayVideoConverter.java:75)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:723)

環境

  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3

解決策

  • これは、Xugglerの既知の制限で、入力チャンネルが2つまでの動画に対してのみサムネイル生成をサポートしています。
  • Xugglerは統合技術なので、この問題はLiferayのコードレベルでは対処できない。

追加情報

  • Xugglerプロジェクトは非推奨で、もう何年も更新されていない。 そのため、セキュリティ上の脆弱性があるため、Liferayでは使用を推奨していません。 詳しくは、 Xugglerサポートポリシーをご覧ください。
  • Xugglerの代替品は、 FFMPEG Video Converter で、DXP 7.4で利用可能です。
Did this article resolve your issue ?

Legacy Knowledge Base