(typographically enhanced)

With regard to multifile protocols and multipart MIME, one reason for the 
example syntax:


<a type="video/ogg" 
href="torrent+http://example.com/example3.ext.torrent";>Example</a>
 
when a multifile protocol's referenced object contains one file, instead of:
 
<a type="multipart/mixed" 
href="torrent+http://example.com/example3.ext.torrent";>Example
  <link rel="part" type="video/ogg"/>
</a>

is readability; however, the two could be interchangeable, definitionally, for 
multifile protocols where one file is contained by the multifile resource. 
While either or both could be of use for multimedia scenarios, the following 
example intends to illustrate readability:
 
<video>
  <source type="video/ogg" 
src="torrent+http://example.com/example3.ext.torrent"/>
</video>
 
where the example torrent file contains one video file.
 
Also, it occurs that media fragment URI is compatible with the indicated 
torrent protocol.  For a torrent containing one multimedia file, the media 
fragments URI could describe an interval of that multimedia file with:
 
torrent+http://example.com/example4.ext.torrent#t=10,20
 
Which describes an interval of the multimedia object.  Let us consider that a 
particular file inside of a torrent containing multiple files can be referenced 
with:
 
torrent+http://example.com/example4.ext.torrent#file=video.ogg
 
as per
 
<a type="video/ogg" 
href="torrent+http://example.com/example4.ext.torrent#file=video.ogg";>Example</a>
 
where the example torrent contains more than one file, but one file is 
indicated in the URL.  An example usage scenario to illustrate that is where a 
video and its tracks are in one torrent:
 
<video>
  <source type="video/ogg" 
src="torrent+http://example.com/example4.ext.torrent#file=video.ogg"/>
  <track type="text/vtt" kind="subtitles" 
src="torrent+http://example.com/example4.ext.torrent#file=subtitles-en.vtt"/>
</video>
 
Illustrating the combination of referencing a file in a torrent and media 
fragments URI:
 
<video>
  <source type="video/ogg" 
src="torrent+http://example.com/example4.ext.torrent#file=video.ogg&t=10,20"/>
  <track type="text/vtt" kind="subtitles" 
src="torrent+http://example.com/example4.ext.torrent#file=subtitles-en.vtt"/>
</video>
 
The segmented downloading, in that example, only requires the pieces of those 
two files from the torrent to play the described interval of video while also 
having the subtitles track for that interval.
 
A more advanced example:
 
<video>
  <source type="video/ogg" 
src="torrent+http://example.com/example4.ext.torrent#file=video.ogg&t=10,20"/>
  <source type="video/mpeg" 
src="torrent+http://example.com/example4.ext.torrent#file=video.mpg&t=10,20"/>
  <track type="text/vtt" kind="subtitles" srclang="en" 
src="torrent+http://example.com/example4.ext.torrent#file=subtitles-en.vtt"/>
  <track type="text/vtt" kind="subtitles" srclang="es" 
src="torrent+http://example.com/example4.ext.torrent#file=subtitles-es.vtt"/>
  <track type="text/vtt" kind="subtitles" srclang="fr" 
src="torrent+http://example.com/example4.ext.torrent#file=subtitles-fr.vtt"/>
</video>
 
The concepts of multifile protocols extend beyond the useful example protocol 
of torrent.  Implementation for multifile protocols, such as "torrent+http://";, 
would be reusable for other multifile protocols.  Multipart MIME is a means of 
describing the MIME types of the multiple files in multifile protocol scenarios.
 
 
 
Kind regards,
 
Adam Sobieski

                                          

-- 
You received this message because you are subscribed to the Google Groups 
"Metalink Discussion" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/metalink-discussion?hl=en.

Reply via email to