User talk:Vitrinekast/Checking out the media fragments URI

From XPUB & Lens-Based wiki

Rosa said
This page looked so much better in markdown

Riviera responded:

I am also learning markdown. I’m using pandoc to go from markdown to mediawiki. I much prefer it to Org Mode’s markup syntax.



Rosa said
The following URL should only play the video from 00:01 to 00:02! https://hub.xpub.nl/chopchop/~vitrinekast/videos/small.ogv#t=1,2

Riviera responded
This does not work in Brave which is a take on Chromium. I am prompted to download the file instead. However the #t=1,2 media fragment bit of the URL works with the mp3 file.
https://hub.xpub.nl/chopchop/~vitrinekast/videos/small.mp3#t=1,2



Riviera:
I’m looking at section 4.2.1 in the W3C Media Fragments URI 1.0 (basic) and it reads as follows:

Temporal clipping is denoted by the name t, and specified as an interval with a begin time and an end time (or an in-point and an out-point in video editing terms). … Temporal clipping is specified as Normal Play Time (npt) RFC 2326

It’s therefore possible to specify a start and / or end position along the temporal dimension with npt. Here’s a link to an hour long mp3 file from WORM’s radio archive:

https://hub.xpub.nl/chopchop/worm/$RECYCLE.BIN/S-1-5-21-3426670779-3816479968-38713968-1002/$RWHRXYS/DFM601.mp3

to specify hours, minutes and seconds append something like #t=npt:0:45:00,0:46:30. The following works as expected on Brave; it plays the audio for a minute and a half

https://hub.xpub.nl/chopchop/worm/$RECYCLE.BIN/S-1-5-21-3426670779-3816479968-38713968-1002/$RWHRXYS/DFM601.mp3#t=npt:0:45:00,0:46:30

Rosa said:

 event {
   00:18:30,000 --> 00:22:50,000
   meta "GEO_LOCATION" = "35.42; 139.42"
   meta "DATE" = "2011-08-12"
 }

Riviera responded:

Libkate looks cool. I wonder what we could do with this.