Difference between revisions of "Video documents"
(→Video Codecs) |
(→Video Transcoding by EPrints/FFMPEG) |
||
Line 22: | Line 22: | ||
==Video Transcoding by EPrints/FFMPEG== | ==Video Transcoding by EPrints/FFMPEG== | ||
− | Are there particular codecs/containers | + | Are there particular video codecs/containers recommended for the streaming/seeking to work (H264 in MP4 container)? |
− | EPrints performs the following tasks when generating "thumbnails" for videos: | + | EPrints performs the following tasks when generating "thumbnails" for videos, using FFMPEG: |
*generate an image thumbnail | *generate an image thumbnail | ||
*transcode video to ogg container (if not already ogg) | *transcode video to ogg container (if not already ogg) |
Revision as of 17:25, 12 October 2016
This page is in development and will eventually contain information about supporting Video documents in EPrints.
Contents
Related Pages
- https://wiki.eprints.org/w/How_to_customise_thumbnails
- https://wiki.eprints.org/w/API:EPrints/Plugin/Convert/Thumbnails
- https://wiki.eprints.org/w/API:bin/epadmin#redo_mime_type
- https://wiki.eprints.org/w/API:bin/epadmin#redo_thumbnails
- http://bazaar.eprints.org/454/ (YouTube Importer)
- http://files.eprints.org/773/ (Kultur)
Video Players
Depositors can upload video documents. Since EPrints 3.3, there is a lightbox/flowplayer in EPrints, under /lib/static/. However, EPrints does not embed any video player as a "preview" thumbnail or on the abstract page. To generate a video player for a document in EPrints, the Kultur plugin (http://files.eprints.org/773/) can be used to extend the preview with a video player.
Server Settings
The following file should contain a path to ffmpeg and ffprobe:
/opt/eprints3/lib/syscfg.d/executables.pl
ffmpeg should be installed on the server.
Video Transcoding by EPrints/FFMPEG
Are there particular video codecs/containers recommended for the streaming/seeking to work (H264 in MP4 container)? EPrints performs the following tasks when generating "thumbnails" for videos, using FFMPEG:
- generate an image thumbnail
- transcode video to ogg container (if not already ogg)
- transcode video to mp4 container (if not already mp4)
Video Document Integration
Should the video player be integrated as an iframe embed code, document "preview" or as a part of the eprint_render? Most recent version of EdShare generates a video player directly on the abstract page, rather than a document "preview". It is also possible to embed a video player (typically with an iframe) to stream content from another site, like YouTube and Vimeo.