سطر 2: |
سطر 2: |
| == Questions == | | == Questions == |
| * [[Pandora/What are the data structures used in pandora]]? | | * [[Pandora/What are the data structures used in pandora]]? |
| + | |
| * How to force re-upload of video files? | | * How to force re-upload of video files? |
| + | you can use pandora_client upload <oshash> or pandra_client upload <path/to/source> to reupload a video. |
| + | |
| * What is the file structure? | | * What is the file structure? |
| + | |
| * Where are the thumbnails generated? | | * Where are the thumbnails generated? |
| + | frames are extracted as need and stored in 'data/media/oshash/frame/resolution' on the server. same goes for timelines, they are extracted per file and stored in data/media/oshash/ and combined per item and sotred in data/media/item/id/ |
| + | |
| * Is textual data associated with files or video items? | | * Is textual data associated with files or video items? |
− | * What are the various things that can be applied to an Item (example; render timeline) | + | annotations are associated with items. moving files currently does not alter annotations at all, this would have to be done with a script. pandora could do more on the server here, but for tracking this is [https://wiki.0x2620.org/ticket/1489] |
| + | |
| + | * What are the various things that can be applied to an Item (example; render timeline) |
| * Really, how to debug? | | * Really, how to debug? |
| + | as admin you have a Debug menu, that contains an error log, check that for errors also from other users, |
| + | besides that Chrome console (Ctrl-J on linux) is your friend. I.e. check the Network tab for api calls. |
| + | On the server logs are in /var/log/pandora/*.log |
| + | |
| * How to use the API; dummy examples please ! | | * How to use the API; dummy examples please ! |
| + | some examples from our api session at [https://textb.org/t/adef_api/] |
| + | |
| * What is done on the client side (js)? | | * What is done on the client side (js)? |
| + | pan.do/ra makes extensive use of javascript, the entire UI is done on the client side, |
| + | and data is fetched from the server via the public api. the backend provides frames, videos, timelines, static resources and the api to access data. |
| + | |
| * fixing the issue of more than 6 files know how | | * fixing the issue of more than 6 files know how |
| + | browsers only open 6 connections to one domain, the current video player opens all videos to support seeking. This leads to browers getting stuck. the current work around is to server videos from multiple subdomains. |
| + | |
| * Changing the basic info of Items | | * Changing the basic info of Items |
− | * How flexable is the layers of info? | + | its possible to store any data with an item api.get/api.edit, To use that info |
| + | in search, sort, item keys have to be defined in /srv/pandora/pandora/client.jsonc. |
| + | the item info page is currently customized per site and needs to be edited to display additional data, |
| + | copy /srv/pandora/static/js/itemInfoView.js to /srv/pandora/static/js/itemInfoView.SITEID.js and edit it and run /srv/pandora/pandora/manage.py update_static to make your changes available outside of debug mode. |
| + | |
| + | * How flexible is the layers of info? |
| + | items can have any number of key/value data. values can be strings, arrays of strings, numbers. display is limited by what you can do in your browser with it. Timed based layers are similar, currently there are 4 types of layers. map, event, string, text. map for locations, event for events in time, string can be used for keywords, tags or other short strings. text for longer texts. adding other layer types is possible but not easy. you can define any number of layers. layers can be public or private, on private layers, users only see there own annotations. |
| + | |
| * To what objects are they connected? | | * To what objects are they connected? |
| * Show subtitles on the video! | | * Show subtitles on the video! |
| + | thats possible if you define one layer with "isSubtitles": true (i.e. indiancine.ma) |
| + | subtitle layers should not have overlapping annotations and fit on the video. |
| + | |
| * For example, if video file is not served, how to really hunt what is going on? | | * For example, if video file is not served, how to really hunt what is going on? |
| + | videos look like this: /ITEM_ID/480p3.webm 480 is resolution, must be one from config.jsonc, 3 is part 3, item must have at least 3 parts. webm is the format, format must be enabled in config.jsonc. if you get 404, |
| + | you can check in ./manage.py shell (import archive.models;archive.models.Streams.objects.filter(file__item="ITEM_ID")) if all streams are extracted, they are stored in data/media/oshash/480p.webm. |
| + | |
| * [[Pandora/How to force regeneration of video derivatives]]؟ | | * [[Pandora/How to force regeneration of video derivatives]]؟ |
| + | this needs to be done in manage.py shell right now: |
| + | {{{ |
| + | import item.models |
| + | i = item.models.Item.objects.get(itemId="ITEM_ID") |
| + | for s in i.streams(): |
| + | s.extract_derivatives(rebuild=True) |
| + | }}} |
| | | |
| == Wishlist == | | == Wishlist == |
| * Localization infrastructure | | * Localization infrastructure |
| + | [https://wiki.0x2620.org/ticket/1484] |
| + | |
| * lists of clips | | * lists of clips |
| + | This will be called edits, so far we have always pushed this back since other features where more important. [https://wiki.0x2620.org/ticket/174] |
| + | |
| * relationship to the originals if accessable | | * relationship to the originals if accessable |
| + | you can lookup an item for a file by its oshash, one way is to open /file/oshash and it will redirect to the item. |
| + | for an item you can get all files, and for files you get instances in volumes, that way you can lookup the local path. |
| + | |
| * Pad.ma Local files | | * Pad.ma Local files |
| + | one way we might implement this is using HTML5 FileSystem api [https://wiki.0x2620.org/ticket/1471] |
| + | Just fixing Pad.ma Local might be another option to allow using a local file in a video. |
| + | |
| * create a textual representaion of the clip in conjuction with the originals | | * create a textual representaion of the clip in conjuction with the originals |
| + | you can use the api to get all information for this. example to map this into a kdenlive project coming soon |
| * include annotations in the torrent | | * include annotations in the torrent |
| + | |
| * Integration with Drupal's Media module as well as with Mediawiki | | * Integration with Drupal's Media module as well as with Mediawiki |
| + | pan.do/ra supports oembed, so it might just work with existing plugins, |
| + | otherwise more specific integration could be done via api, in js or php [https://textb.org/t/adef_api/] |
| + | |
| * A mechanism to separate the video curation process to two steps: | | * A mechanism to separate the video curation process to two steps: |
| *# remotely uploading a reduced version from a large file | | *# remotely uploading a reduced version from a large file |
| *# acquiring the original via an out-of-band method then integrating it into the datastore and linking it to the film's records (suggestion: identify the original by its hash) | | *# acquiring the original via an out-of-band method then integrating it into the datastore and linking it to the film's records (suggestion: identify the original by its hash) |
| + | this should work already with Volumes and instances. We are also working on scripts to make syncing easier. |
| + | |
| * A mechanism to perform curation on one installation (like on a laptop, or a workshop) while travelling then integrate that into a master collection back home. | | * A mechanism to perform curation on one installation (like on a laptop, or a workshop) while travelling then integrate that into a master collection back home. |
| * As an implementation of arbitrary properties of an item: URL to obtain the original of a film, published somewhere on the Internet (like archive.org) | | * As an implementation of arbitrary properties of an item: URL to obtain the original of a film, published somewhere on the Internet (like archive.org) |
| + | you can set any key/value on an item, item info would need be customized to show it. |
| + | |
| * <del>ability to export metadata of an item in some standard format (suggested RDF)</del> | | * <del>ability to export metadata of an item in some standard format (suggested RDF)</del> |
| * <del>Introduce some semantic querying service point</del> | | * <del>Introduce some semantic querying service point</del> |
سطر 36: |
سطر 94: |
| * A SPARQL proxy as an external application; as a client to the Pandora API | | * A SPARQL proxy as an external application; as a client to the Pandora API |
| * Allow encoding from multiple machines | | * Allow encoding from multiple machines |
| + | pandora_client now support distributed encoding on multiple notes from one Volume |
| + | |
| * Allow sparter parsing of pathes | | * Allow sparter parsing of pathes |
| + | pandora_client now supports plugins to overwrite path parsing logic. [https://wiki.0x2620.org/wiki/pandora_client/plugins] Plugin for Mosireen at [https://wiki.0x2620.org/browser/pandora_client_mosireen] |
| + | |
| ==ironing out installations== | | ==ironing out installations== |
| * ADEF Archive | | * ADEF Archive |