Skip to content

This is a SageTV MediaFormatParser plugin that utilizes FFmpeg

License

Notifications You must be signed in to change notification settings

jvl711/MediaFormatParserPlugin

Repository files navigation

MediaFormatParserPlugin

This is a SageTV MediaFormatParser plugin that utilizes FFmpeg

Installation Instructions

Plugin repository

  • From SageTV All Available pluings screen goto general tab
    • There are two version of the plugin (Media Format Parser Plugin Windows x32 / edia Format Parser Plugin Windows x64)
    • Install the version that matches the bits of the SageTV server install you have.
    • Restart is required
    • There are configuration options available in the plugin configuration screen. Logging/Disabling internal format detector/etc...

Manual install

  • Shutdown sagetv service
  • Backup sagetv folder
  • Download the pre-release version of the Sage.jar and place it into the root of the SageTV folder
    • sage.jar alpha build
    • Note: There is new functionallity that is required for this plugin to work. Upgrading the jar is required.
  • Download the latest version of the JavaFFmpegLibrary
  • Download the latest version MediaFormatParserPlugin
  • Configure plugin in sage.properties
    • add line mediafile_mediaformat_parser_plugin=jvl.mediaformat.MediaFormatParserPlugin
  • Optional: you can redetect the format of all of your media files by changing this setting in Sage.properties
    • force_full_content_reindex=true
  • Turn sagetv service back on

Disabling Instructions

  • Shutdown sagetv service
  • Modify sage.properties
    • remove line mediafile_mediaformat_parser_plugin=jvl.mediaformat.MediaFormatParserPlugin
  • Startup sagetv service

FAQ

Q: Does this allow for forced subtitles to be auto selected by SageTV

A: Yes. With the changes that were applied to SageTV (Not yet in a release build), and the format detector plugin that I wrote, forced subtitles properly marked will auto select

Q: What is the reason for the media format plugin.

A: The external format detector in SageTV is built on a pretty old version of FFmpeg. I initial wrote this plugin to make forced subtitles work, and quickly realized that it would also allow for detection of newer formats like HEVC. There are a number of additional codecs/containers that sage does not recognize now that this may. It also appears to be quicker at identifying.