Romern / syncMyMoodle

Synchronization client for RWTH Moodle
GNU General Public License v3.0
73 stars 18 forks source link

Extract sections from openCast #37

Open Romern opened 3 years ago

Romern commented 3 years ago

OpenCast videos can contain segments in

next(for m in ["search-results"]["result"]["mediapackage"]["metadata"]["catalog"] if m["type"] == "mpeg-7/text")["url"]

Example: https://gist.github.com/Romern/00939b6864b6c7fe2c450073ab713ada Extract all:

Description -> MultimediaContent -> Video -> TemporalDecomposition -> VideoSegment -> MediaTime -> MediaRelTimePoint

and add it to the mp4 if it supports segments or pack it into an mkv.

septatrix commented 3 years ago

Similar information seem to be available in .vtt files which are also requested by javascript and seem to have a stable url