oxd/TODO

57 lines
2.1 KiB
Plaintext

VIDEO PROFILES:
sync profiles with Firefogg, there should be base profiles for
96p, 360p, 480p, 720p, 1080p for ogv and webm
FRAME extraction:
- vlc hangs on some files, mpg but also some avis
- ffmpeg decodes full video, so it takes to long extracting frames at the end
- oxframe only support ogv and webm (adding av* as option might work)
- mplayer seams to work. might be an issue installing/bundling it
FIREFOX integration:
possible ways:
- launch oxbackend on localhost and connect to it
- way to add/configure backends + launch one localy
adding folders in remote backends is a bit complicated
beeing able to manage a backend remotely would be nice(security questions though)
also makes it a bit more complicated, than again ideal for situations with
media servers hosting the actuall videos and clients to access them
- rewrite large parts in javascript + sqlite bundled with firefox (requires js subprocess to work)
EXTENSION api:
oxff = OxFF() //is site is not allowed, ask if user wants to allow domaing to use oxff
oxff.update() //check for new files, would be nicer if that would be somehow automatic and not needed
oxff.archives() //return list of archive names
//new archive
archive = oxff.archive('name')
archive.setLocation() //opens file dialog to set location of archive
//get files
archive.files()
archive.files(since) //unixtimestamp, get new/deleted/... since
//get info
oxff.get(oshash) //retuns info
//get media
oxff.get(oshash, 'stills') //retuns stills dict or None if not extracted
oxff.get(oshash, '96p.webm') //returns video location or none if not extracted
//extract media
oxff.extract(oshash, 'stills')
oxff.extract(oshash, '96p.webm')
//questions
- how to upload media to site? somehow make use of Firefogg
- could some of those requests take to long and require callbacks?
TODO:
use api like approach as done in pand.do/ra backend code
cache location, should cache be inside of archive, home folder or whats a good default.
must be a config option in