Mythtranscode

Activities ::: mod_mythtranscode
Maintained by Harry Rickards, Darren Jones
This is an activity module for integration with MythTV and MythTranscode, allowing teachers to add television programmes to a course, and students to view them.
Latest release:
1 sites
Current versions available: 1

This is an activity module for integration with MythTV and MythTranscode, allowing teachers to add television programmes to a course, and students to view them.

Installation instructions

  • Install Mythtranscode into MythTv. The MythTV/Mythtranscode can be on the same server as the moodle installation or the output directory can be mounted over NFS, iSCSI or SMB onto the moodle server
  • Configure MythTranscode to encode the output of MythTV to webm and h.264 formats
  • Clone or unzip this folder into the mod folder of your root moodle directory
  • Login to moodle and follow the onscreen instructions to install the plugin
  • Fill out the onscreen settings page. You'll probably need to change the database details (Host, Port, Username, Password, Database and Table), and the base path (the folder under which the video recordsings are stored), but the rest should be fine as default. If you're storing video in more than just WebM, you will also need to change the Video formats setting.
  • Add to a course as with any other activity module

Details

mod_form.php is the file called when a user adds an instance of the activity module. This contains a link to choose.php, which contains the code for esarching/listing recordings, and clicking on one takes the user to chosen.php where it's recorded in the session. When the user clicks on the instance of the activity module, this takes them to view.php, which uses access_file.php to proxy the video files (with authentication) from locally on the moodle server.

access_file.php sends the necessary headers to allow video plaback and downloading as if a normal file were being played, and also allows seeking-without-buffering capability if the browser supports it.

index.php just displays a message indicating this functionality is not available. Potentially, this would be something akin to allowing access to all recorings/all recordings added under the current course, but is not implemented in thsi version. However, moodle still requires the page for compatibility.

Videos cannot be searched or viewed without the user being logged in and a member of a course with Mythtranscode as an activity, or as a member with permissions to access a manual Mythtranscode activity instance.

Notes

Note, changing the columns shown (in the settings page) may need tweaks to the CSS (in styles.css, although you will need to reload the Moodle css by clicking 'Clear theme caches' in Site Administration > Appearance > Themes > Theme selector).

If required, download links can be disabled in the settings. Note that it will still be relatively easy to to download the video files though (simply by viewing the source of the HTML).

Licensed under GPLv3 or later (see http://www.gnu.org/copyleft/gpl.html).

MythTranscode Documentation http://www.mythtv.org/wiki/Mythtranscode

Television icon dedicated to the public domain by chrisdesign of Open Clip Art Library under the CC0 1.0 Universal license.

Potential privacy issues

Ensure you have the legal licenses necessary to allow students to access recordings at home (in the UK, the ERA Plus license). To comply with this, you will likely need to limit access to moodle to within the country.

Contributors

Harry Rickards (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Mon, 11 Mar 2013, 1:43 PM
    Thank you for this contribution.
    i'm eager to try this out but meanwhile i've noted that the README.txt only contains the text 'README.md'. Please consider copying the README.md content into README.txt .
  • Harry Rickards
    Tue, 12 Mar 2013, 3:37 AM
    Hi,
    This issue should be fixed now (README.txt was a symlink to README.md, but there were obviously some troubles with that, so I've just copied the content across)
  • MD shot of me from his iphone4
    Tue, 12 Mar 2013, 2:02 PM
    Thanks Harry smile (i'll try and see the issue was so i can document it)
  • فروشگاه خرید تلویزیون شاوینو
    Sat, 25 Mar 2023, 7:45 PM
    ما فروشگاه اینترتنتی هستیم که در زمینه بررسی تخصصیريال قیمت و خرید انواع تلویزیون فعالیت می کنیم
    فروشگاه داینترنتی شاوینو قیمت و خرید انواع تلویزیون ارزان و 2023
Please login to post comments