When trying to open the video preview for an uploaded video on Documents and Media, a message is displayed (Generating video preview will take a few minutes.) and the video is never ready.
Steps to Reproduce
- Go to Content and Data > Documents and Media;
- Click the plus icon and choose File Upload;
- Select a video and upload it;
- Click on the title of the video.
The video preview is displayed.
The message "Generating video preview will take a few minutes." is displayed and the preview is never ready.
The following error is displayed on Tomcat console:
2021-03-26 18:30:16.757 ERROR [liferay/document_library_raw_metadata_processor-2][BasicContainer:122] Error during box parsing: org.mp4parser.MemoryAllocationException: Tried to allocate 1937011819 bytes, but the limit for this record type is: 536870912. If you believe this file is not corrupt, please open a ticket on github to increase the maximum allowable size for this record type. 2021-03-26 18:30:16.758 ERROR [liferay/document_library_raw_metadata_processor-2][AbstractBoxParser:73] Plausibility check failed: size < 8 (size = 5). Stop parsing! 2021-03-26 18:30:16.758 ERROR [liferay/document_library_raw_metadata_processor-2][BasicContainer:122] Error during box parsing: java.lang.NullPointerException