Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full metadata example with browser guidelines #346

Open
techtonik opened this issue Apr 26, 2017 · 5 comments
Open

Full metadata example with browser guidelines #346

techtonik opened this issue Apr 26, 2017 · 5 comments

Comments

@techtonik
Copy link

I am looking to create video processing pipeline in browser, and I need to pass pre- and post- processing metadata along with the video stream. WebVTT mentions metadata text, but doesn't provide any usage examples. Guidelines how browsers should threat metadata streams (if there are subscribers and no subscribers) would also be nice.

@silviapfeiffer
Copy link
Member

Here's an example that might be useful using GeoJSON: http://wiki.webmproject.org/webm-metadata/temporal-metadata/webvtt-metadata

@silviapfeiffer
Copy link
Member

Here's another example I found: https://github.com/caraya/vtt-demos/blob/master/video_captioning.md#metadata-tracks

@silviapfeiffer
Copy link
Member

Or something a bit more involved: https://gist.github.com/jajarvin/149ea6a41f053c727147 - hopefully these help you for now

@techtonik
Copy link
Author

Thanks. That's very helpful for the start.

Here's an example that might be useful using GeoJSON: http://wiki.webmproject.org/webm-metadata/temporal-metadata/webvtt-metadata

So metadata block attached to one time tag can not have spaces, right?

Here's another example I found: https://github.com/caraya/vtt-demos/blob/master/video_captioning.md#metadata-tracks

Here it is not clear how this stream is different from subtitle stream for a program. Previous example used VTTKind: metadata header, but I could not find any references to it in https://w3c.github.io/webvtt/

Spec still badly need examples - it is hard to read and reconstruct possible content variant from Syntax chapter.

@zcorpan
Copy link
Member

zcorpan commented Apr 28, 2017

VTTKind: metadata is not mentioned because it is non-standard.

I agree more examples are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants