• How can I preview video files (mp4, flv, avi...) ? add the catalina.log

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #47770  by strong12345
 
Hello !
I'm using openkm-6.4.14 pro trial version in Win7 64bit system
Now I can preview pdf, word, excel, powerpoint.... but can't preview video file...
I have already installed the newest ffmpeg in my server and also configured it
Code: Select all
system.ffmpeg = C:\\ffmpeg-20190411-3e10223-win64-static\\bin\\ffmpeg.exe 
But whatever I used the Firefox or Google Chrome to preview .mp4 or .flv files
Both show the error message in my preview panel
Code: Select all
Task Queue failed at step 5: Playlist could not be loaded: Playlist file did not contain a valid playlist
Image

But in the file properties panel, I can see the video snapshot image
Image

Does anyone know how to fix it ?
Thank you Thank you very much <(_ _)>


The catalina.log
Code: Select all
2019-04-14 16:43:30,321 [http-bio-0.0.0.0-8080-exec-6] WARN  com.openkm.util.x- Abnormal program termination: 1
2019-04-14 16:43:30,321 [http-bio-0.0.0.0-8080-exec-6] WARN  com.openkm.util.x- CommandLine: [C:\\ffmpeg-20190411-3e10223-win64-static\\bin\\ffmpeg.exe, -i, C:\openkm-6.4.14\tomcat\temp\okm1814907240223648349.mp4]
2019-04-14 16:43:30,321 [http-bio-0.0.0.0-8080-exec-6] WARN  com.openkm.util.x- STDERR: ffmpeg version N-93562-g3e10223385 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20190212
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 50.100 / 58. 50.100
  libavformat    58. 27.102 / 58. 27.102
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\openkm-6.4.14\tomcat\temp\okm1814907240223648349.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2014-11-25T11:56:51.000000Z
  Duration: 00:02:47.25, start: 0.000000, bitrate: 540 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 442 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2014-11-25T11:56:52.000000Z
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
At least one output file must be specified

2019-04-14 16:43:48,573 [http-bio-0.0.0.0-8080-exec-6] WARN  com.openkm.util.x- Abnormal program termination: 1
2019-04-14 16:43:48,573 [http-bio-0.0.0.0-8080-exec-6] WARN  com.openkm.util.x- CommandLine: [C:\\ffmpeg-20190411-3e10223-win64-static\\bin\\ffmpeg.exe, -i, C:\openkm-6.4.14\tomcat\temp\okm6953064313270229527.flv]
2019-04-14 16:43:48,573 [http-bio-0.0.0.0-8080-exec-6] WARN  com.openkm.util.x- STDERR: ffmpeg version N-93562-g3e10223385 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20190212
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 50.100 / 58. 50.100
  libavformat    58. 27.102 / 58. 27.102
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, flv, from 'C:\openkm-6.4.14\tomcat\temp\okm6953064313270229527.flv':
  Metadata:
    starttime       : 0
    totalduration   : 6
    totaldatarate   : 961
    bytelength      : 742257
    canseekontime   : true
    sourcedata      : BCAA9AEC4HH1328281516927268
    purl            : 
    pmsg            : 
    httphostheader  : o-o.preferred.ascc-tpe1.v1.lscache7.c.youtube.com
  Duration: 00:00:06.17, start: 0.000000, bitrate: 961 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p(progressive), 854x480 [SAR 1:1 DAR 427:240], 876 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 98 kb/s
At least one output file must be specified

2019-04-14 16:44:16,590 [Update Info] INFO  com.openkm.core.x- *** UpdateInfo activated ***
2019-04-14 16:45:15,625 [Thread-128] WARN  com.openkm.util.antivirus.AntivirusCheckerWorker- *** Antivirus check disabled because no antivirus configured ***
2019-04-14 16:45:15,656 [Thread-127] INFO  com.openkm.extractor.TextExtractorWorker- processSerial.Working on {docUuid=288956b3-d25d-4758-8a20-3c82c1ca9fc3, docPath=/okm:root/003/a_ha_ha_ha_ha_a_ha_ha_ha.flv, docVerUuid=0072020d-7855-49a0-ab88-37391601de0e, tenant=1, date=Sun Apr 14 16:43:43 CST 2019}, Tenant: 1
2019-04-14 16:45:15,656 [Thread-127] WARN  com.openkm.extractor.RegisteredExtractors- Text extraction failure: Full text indexing of 'video/x-flv' is not supported
2019-04-14 16:45:15,656 [Thread-127] WARN  com.openkm.dao.NodeDocumentUtilsDAO- There was a problem extracting text from '/okm:root/003/a_ha_ha_ha_ha_a_ha_ha_ha.flv': Full text indexing of 'video/x-flv' is not supported
2019-04-14 16:45:16,031 [Thread-127] INFO  com.openkm.extractor.TextExtractorWorker- processSerial.Working on {docUuid=fe3a2887-899e-44e6-b3c1-6c90d5326040, docPath=/okm:root/003/001.mp4, docVerUuid=71430c26-08fd-4a26-988d-9502035aaa21, tenant=1, date=Sun Apr 14 16:43:23 CST 2019}, Tenant: 1
2019-04-14 16:45:16,031 [Thread-127] WARN  com.openkm.extractor.RegisteredExtractors- Text extraction failure: Full text indexing of 'video/mp4' is not supported
2019-04-14 16:45:16,046 [Thread-127] WARN  com.openkm.dao.NodeDocumentUtilsDAO- There was a problem extracting text from '/okm:root/003/001.mp4': Full text indexing of 'video/mp4' is not supported
 #47790  by jllort
 
Seems flv is not supported by the video preview tool. I think this is an old feature what should be replaced by current HTML5 what provides better support for videos ( in the past this video media player was a good option but nowadays seems this code section should be upgraded ).
 #47795  by strong12345
 
Thank you everybody ~
But I tried the .flv video in the openkm-6.3.2-community version yesterday...
It can preview this video ....

And I found that the 6.3 version does not have this configuration
Code: Select all
system.ffmpeg = No such configuration in version 6.3 
but it can preview ....
why ??

And anyone knows how to fix the feature to version 6.4 ?

Thanks <(_ _)>

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.