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.
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.
Post Reply
strong12345
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Sat Apr 13, 2019 2:39 am

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

Post by strong12345 » Sat Apr 13, 2019 5:58 pm

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

jllort
Moderator
Moderator
Posts: 10668
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

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

Post by jllort » Wed Apr 17, 2019 8:14 am

Can you share the video for testing from our side.

strong12345
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Sat Apr 13, 2019 2:39 am

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

Post by strong12345 » Wed Apr 17, 2019 2:49 pm


jllort
Moderator
Moderator
Posts: 10668
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

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

Post by jllort » Fri Apr 19, 2019 7:05 am

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 ).

strong12345
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Sat Apr 13, 2019 2:39 am

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

Post by strong12345 » Sat Apr 20, 2019 4:44 pm

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 <(_ _)>

jllort
Moderator
Moderator
Posts: 10668
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

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

Post by jllort » Sun Apr 21, 2019 2:55 pm

Are you sure about you are talking about version 6.4.x ? because this version is the professional, not the community and as a customer should use OpenKM customer support website.

strong12345
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Sat Apr 13, 2019 2:39 am

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

Post by strong12345 » Wed Apr 24, 2019 1:58 am

Yes I'm sure ~~
Image

jllort
Moderator
Moderator
Posts: 10668
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

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

Post by jllort » Sat Apr 27, 2019 10:18 am

This is a very very old trial, consider totally deprecated ( I do not know from where did you downloaded, share me the link if you got it ). If you want a trial should ask to us from our contact form https://www.openkm.com/en/contact.html

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests