w3c / wpub

W3C Web Publications
https://w3c.github.io/wpub/
Other
78 stars 19 forks source link

Packaging for WP - Requirements and Success Criteria #390

Closed wareid closed 5 years ago

wareid commented 5 years ago

The packaging requirements of WP and Audiobooks are still unclear. To better help us steer our decision, we need to know what we need to do to be "successful". Let's define what this means to us.

From the wiki:

Comment on this issue in the next two weeks, issue will be closed on January 18

dauwhe commented 5 years ago

I want to be able to create the format in question using a text editor and a command-line, without having to install new programming libraries or languages.

llemeurfr commented 5 years ago

As a producer, I want to be able to exchange in-progress Publications between different individuals and/or different organizations.

As a publisher or conversion house, I want to provide Publications to distribution platforms or sales channels.

As a user, I want to be able to download a file containing a Publication from a distribution platform.

llemeurfr commented 5 years ago

@dauwhe even for creating a zip file you need a zip utility. Some OSes don't have it pre-loaded.

ghost commented 5 years ago

As a Reading System vendor, I hope

  1. the package file is not too big or could be split considering downloading performance.
  2. have some definition about playback order of audio files.
  3. have some definition similar as TOC that we could show user where they are.
GarthConboy commented 5 years ago

I like #2 and #3 in @rakutenjeff 's above. I would not want to add split-ability as that would add complexity, and then we'd need to add some sort of higher level manifest or a package for the parts. :-)

I'm on board with OCF-Lite as proposed for audiobooks in our current WP-influenced world. That could also, likely, be used for a (near) future comics effort. I would not worry about packaging yet of general purpose WP's -- as we have yet to really find that constituency and we expect Web Packaging to be impactful if/when that constituency is identified.

iherman commented 5 years ago

@rakutenjeff, while I agree with your points (2) and (3), I think the present issue is only on the packaging (file) format itself. (2) and (3) are covered (or should be covered) by the WP Manifest, and that is not really in question. The question is, should we use zip or not zip, ocf or not ocf, an MPEG variant or not, etc.

(1) ("the package file is not too big or could be split") is very relevant, though.

HadrienGardeur commented 5 years ago

Streamable The package file is not too big or could be split considering downloading performance

This is not strictly tied to the packaging format itself, the transfer protocol plays a huge role in both of these points.

Let's take ZIP/OCF:

have some definition about playback order of audio files have some definition similar as TOC that we could show user where they are

IMO these two points are not tied to the package but to the manifest instead. As long as we require the package to include a manifest, they should be covered.

llemeurfr commented 5 years ago

Streamable

a/ The term streamable is not precise enough to be used in success criteria. Many would advocate that streaming media is associated with a streaming protocol like RTSP or RTP. It will be much clearer to speak about progressive download.

b/ I disagree that progressive download compatibility is needed for the container format we design here. Progressive download, like streaming, means that a client end-user can use a media player to start listening to digital audio content before the entire file has been transmitted. We don't need this requirement for our container because Web Publications are already made for direct consumption of the Web and we don't want to confuse the two types of delivery. Plus, asking our container to be progressive download-friendly would impose the manifest to be the first file in the zip. And it's better if we can avoid requiring a file order in the container.

llemeurfr commented 5 years ago

the package file is not too big or could be split considering downloading performance.

We can't impose a size limit. Ten years ago a 1 Gb file would have been considered crazy. Today direct download of HD movies is kids routine. Nevertheless, as Hadrien said, a well written download manager software (which will use HTTP byte range as much as possible) is useful for huge files.

wareid commented 5 years ago

Success Criteria (updated), based on the comments here:

iherman commented 5 years ago

This issue was discussed in a meeting.