sebible / cordova-videosnapshot Goto Github PK
View Code? Open in Web Editor NEWA cordova plugin for generating video snapshots
A cordova plugin for generating video snapshots
video snap shot @0.2.7 ios 8.1 xcode 6 osx 10.9.5
meteor 1.0
installed by meteor add cordova:cordova:[email protected]
2014-11-07 16:45:21.527 snapshot[1515:114145] Finished load of: http://meteor.local/
2014-11-07 16:45:24.507 snapshot[1515:114145] Trying to open undefined
2014-11-07 16:45:24.507 snapshot[1515:114145] In plugin. Options:
2014-11-07 16:45:24.507 snapshot[1515:114145] -[NSNull objectForKey:]: unrecognized selector sent to instance 0x19813a6e0
2014-11-07 16:45:24.508 snapshot[1515:114145] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: -[NSNull objectForKey:]: unrecognized selector sent to instance 0x19813a6e0
Template.test.events
'click #test': (e, t) ->
e.preventDefault()
if window.sebible?
window.sebible.videosnapshot.snapshot (data) ->
alert data
($ '#debug').html EJSON.stringify data
, (err) ->
alert err
, {}
else
console.log 'i can not do this.'
console.log 'clicked.'
Hi there,
Great looking plugin, i'd love to use it, trouble is i'm getting an error message:
Plugin failed. Error: Unable to load video (duration == 0)
Wondering if there might be a fix, i'm running on IOS, and haven't been able to get this little guy live. I've tried .mp4 and .mov files with no luck.
Stats if it helps:
Node Version: v0.12.0
Cordova CLI: 4.2.0
Xcode version: Xcode 6.1.1 Build version 6A2008a
ios-sim version: 3.1.1
function snapSuccess(result) { if (result && result.result) { $scope.thumbnails = result.snapshots } } var snapOptions = { source : "img/testmovie.mp4" } sebible.videosnapshot.snapshot(snapSuccess, errorCB, snapOptions);
Any help would be much appreciated!
i'm currently using the snapshot for displaying a thumbnail in my application, but the snapshot is always returning a rotation data of 90 in the snapshot.
Is there a way to avoid this rotation like a flag or an argument? because i read all the information in the README.md and i didn't have any luck there
can't seem to find it...
I am trying to get 3-4 images per second. But i cant get more than 1.
I tried count: 1000, countPerMinuite:1000
My video is of 3 seconds. I am getting 3 or 4 images.
Tried on iphone 6 9.3.1 and two android phones with crosswalk
I have a mp4 movie only 5 seconds in Android 4.0.3
issue 1
no mater I set
count: 3,
or
countPerMinute: 3,
when I use "count" method,every time it will always cut 3 pieces of "same" timeStamp pic
00:00:01
00:00:03
00:00:04
when I use "countPerMinute" method,every time it will always cut 1 piece of "same "timeStamp pic
00:00:02
issue 2
no mater I set "timeStamp" to true or false
timeStamp: true,
timeStamp: false,
it still print a timestamp at the lower-right corner
Question 1
when I use the ios 7 native camera to Shooting a video,so...
what is the video location address ?
like that ?
/var/mobile/Media/iphone video Recorder/XXX.mp4?
Question 2
what is the property "textSize" use method ?
like that ? like the microsoft word ?
textSize: 48,
textSize: 16,
textSize: 12,
Hi. Thanks for the plugin! Can this be "rigged" to select a particular time/frame for the snapshot, instead of taking random shots? For example, the following works beautifully, but sadly won't work on an Android browser.
http://www.html5multimedia.com/code/ch9/video-canvas-screenshot.html
because of the use way is too simple
window.sebible.videosnapshot.snapshot(success, fail, options)
none....
colud you give us a full sample code to test your plugin?
such like
function success()
{
...
}
function fail()
{
...
}
var options ={...}
tks~
Hello everyone,
I am getting this error while running on X-code debugger: "ERROR: Plugin 'VideoSnapshot' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml".
I think i have added all the plugin filed to there appropriate place.
I have added:
Js files on www/plugins/com.sebible.videosnapshot/www/VideoSnapshot.js
IOS package file on config.xml
IOS plugin file on plugins/com.sebible.videosnapshot/VideoSnapshot.h and VideoSnapshot.m
Someone please help me, i don't know what to do? :)
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.