legacy-knowledge-base
公開されました Jun. 30, 2025

ビデオのプレビューが生成されない

written-by

Cristina Rodriguez

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

learn-legacy-article-disclaimer-text

問題

  • ビデオプレビューが環境に生成されない。
  • 例えば、mp4ビデオをアップロードしたとき、ログにはエラー関連(メモリ、スペースなど)はありませんが、プレビューは作成されません。

環境

  • Liferay 7.4、2023.Q3
  • FFMPEGが有効。
  • プレビュー可能なプロセッサの最大サイズとファイルサイズの制限が正しく設定されている(例えば制限なし)

解像度

  • 以下のGroovyスクリプトの出力を確認する:
out.println(com.liferay.portal.kernel.util.PropsUtil.getArray(com.liferay.portal.kernel.util.PropsKeys.DL_FILE_ENTRY_PROCESSORS).toString());
  • 期待される出力には、com.liferay.portlet.documentlibrary.util.VideoProcessorImpl プロセッサが含まれるはずです。
  • そうでない場合は、portal-ext.propertiesの以下のプロパティを見直して、適宜調整してください:
dl.file.entry.processors=\    
com.liferay.portlet.documentlibrary.util.AudioProcessorImpl,\
com.liferay.portlet.documentlibrary.util.RawMetadataProcessorImpl,\
com.liferay.portlet.documentlibrary.util.VideoProcessorImpl

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base