openframeproject / openframe-video Goto Github PK
View Code? Open in Web Editor NEWAn Openframe format extension which enables display of videos via omxplayer.
An Openframe format extension which enables display of videos via omxplayer.
When video loops timestamp seek text is displayed. omxplayer --loop video.mp4
doesn't do this by default.
Just read this and wanted to leave a note here.
https://www.raspberrypi.org/documentation/usage/video/
On the Pi 4, hardware support for MPEG2 and VC-1 codecs has been removed, so we recommend the use of the VLC application, which supports these formats in software. In addition, VLC has hardware support for H264 and the new HEVC codec.
Could that be an indicator for decreasing support for omxplayer in the future?
This doesn't seem to affect Pi 1 (not tested on 2), but on the Pi 3 videos consistently freeze after some period of time (1 hr?). Console shows OMX_EmptyThisBuffer
error.
Related issue, maybe a firmware update will fix it? (rpi-update
)
As requested in OpenframeProject/Openframe#82 it seems like a good idea to make those default options editable.
I suggest a similar approach to what has been done in the slideshow extension โ prioritising settings like this: per artwork > frame settings > coded defaults
https://github.com/jmwohl/Openframe-Slideshow/blob/master/extension.js
function getDuration(frameState, artwork) {
var duration;
if (artwork.settings && artwork.settings[pjson.name] && artwork.settings[pjson.name].duration) {
duration = minToMillis(artwork.settings[pjson.name].duration);
} else if (frameState.settings && frameState.settings[pjson.name] && frameState.settings[pjson.name].duration) {
duration = minToMillis(frameState.settings[pjson.name].duration);
} else {
duration = minToMillis(DEFAULT_DURATION);
}
return duration;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.