Request for selecting a portion of media for playback
Closed, ResolvedPublic

Assigned To
None
Priority
Normal
Author
bzimport
Subscribers
TheDJ
Projects
Reference
bz26663
Description

Author: theornamentalist

Description:
Hi,

Is it feasible to introduce two new parameters into the Ogghandler? They would be to view/listen to a chosen portion of the original; something like:

starttime = 0:00:00<br>
endtime = 0:00:00

I think this could reduce the amount of space used up by derivatives of larger files with points of interest at a particular portion. An example of what I mean is here:http://commons.wikimedia.org/wiki/Category:Betty_Boop%27s_Bamboo_Isle where many portions exist, and the movie files ''really'' take up a lot of space. In place of this, having a single movie file and just having parameters to designate which portion is shown would greatly reduce the size of files held in Commons. This could also have other applications for verifying particular parts of the media, like in Wikisource. Using Sequencer (http://commons.wikimedia.org/wiki/Commons:Sequencer) does not solve this problem as it creates separate files. I imagine the specified parameters to either point to the positions (as in having the original file load) or truncate the non-selected parts; either way I think this is a capability that would be beneficial to a lot of projects.


Version: unspecified
Severity: enhancement

bzimport added a project: mwEmbed-Video-player.Via ConduitNov 21 2014, 11:18 PM
bzimport set Reference to bz26663.
bzimport created this task.Via LegacyJan 11 2011, 12:30 AM
TheDJ added a comment.Via ConduitJan 12 2011, 9:48 AM

This would probably be better/easier to implement in the Timed media handler of mwEmbed. Moving to that target.

bzimport added a comment.Via ConduitJan 12 2011, 6:06 PM

mdale wrote:

We did originally work on getting oggz_chop ( server side video segmentation) integrated on Wikimedia but ultimately were not successful in integration because of scalability concerns. We were successful in helping get it integrated at InternetArchive.org see a blog post I wrote about the feature a while back http://metavid.org/blog/?p=191

What can easily add to the Timed Media Handler is http based seeks. This would seek to the start time then stop at the end time ( but the browser would buffer more than it needs since there is presently no way in the HTML5 spec to stop the video from buffering ). But it would be a good start, and depending on how the temporal url standard develops and the amount of time and interest we can upgrade the http based seek system to better handle start / end times.

Will update this bug once I have the feature in the TimedMediaHandler code

bzimport added a comment.Via ConduitJan 13 2011, 4:28 AM

theornamentalist wrote:

(In reply to comment #2)

We did originally work on getting oggz_chop ( server side video segmentation)
integrated on Wikimedia but ultimately were not successful in integration
because of scalability concerns. We were successful in helping get it
integrated at InternetArchive.org see a blog post I wrote about the feature a
while back http://metavid.org/blog/?p=191

What can easily add to the Timed Media Handler is http based seeks. This would
seek to the start time then stop at the end time ( but the browser would buffer
more than it needs since there is presently no way in the HTML5 spec to stop
the video from buffering ). But it would be a good start, and depending on how
the temporal url standard develops and the amount of time and interest we can
upgrade the http based seek system to better handle start / end times.

Will update this bug once I have the feature in the TimedMediaHandler code

Thanks Michael. As an example of a way that this modification could help in verification on Wikisource (as seen, for example http://en.wikisource.org/wiki/The_Babes_in_the_Wood), I've put together a page which features a silent film http://en.wikisource.org/wiki/Daydreams. The time location seen on the left could link to the portion which is defined by the start and end times, and allow for Wikisource to validate either text which appears on screen or for the transcription of the audio.

bzimport added a comment.Via ConduitJan 14 2011, 8:19 PM

mdale wrote:

I have added temporal url support in r80284 and deployed it to the gadget.

Its based on:
http://www.w3.org/2008/WebVideo/Fragments/WD-media-fragments-spec/#fragment-dimensions

This works on video pages like so:
http://commons.wikimedia.org/wiki/File:Folgers.ogv#t=10 ( start at 10 second go to end )
or
http://commons.wikimedia.org/wiki/File:Folgers.ogv#t=10,20 ( from 10 seconds to 20 seconds )

Until the updated timed media handler extension is deployed you have to use the following template on videos to support time offsets ( Once we deploy the updated timed media handler we can switch the template syntax over to the proper format )
http://commons.wikimedia.org/wiki/Template:Temporal_Media_Fragment

Here is the example on commons:
http://commons.wikimedia.org/wiki/User:Mdale/TestTemporalUrls

Here is an example on wikisource:
http://en.wikisource.org/wiki/User:Mdale/TestTemporalUrls?withJS=MediaWiki:MwEmbed.js

If there is community consensus we could turn it on by default for wikisource. ( mwEmbed has been enabled by default in some other small wikis )

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.