frankandrobot / glwallpapervideodemo Goto Github PK
View Code? Open in Web Editor NEWLive wallpaper with video (thanks to FFmpeg)
Home Page: http://ikaruga2.wordpress.com/2011/06/15/video-live-wallpaper-part-1/
Live wallpaper with video (thanks to FFmpeg)
Home Page: http://ikaruga2.wordpress.com/2011/06/15/video-live-wallpaper-part-1/
Hi
Frankandrobot
Thank you very much for sharing your code FFvideoLiveWallpaper. I want to rename application package name. I have followed the instructions on your website and recompiled everything. I have updated every function call in video.c with my package name to follow the JNI style and clean the ndk-build and then recompile. But still I am not able to call Native Method and my application crashes. Log cat gives me the following problems:
java.lang.UnsatisfiedLinkError: initVideo at
com.danielcotton.tabletlwp.NativeCalls.initVideo(Native Method).
And I want to span the video on whole screens but video is spanning only on two or three screens. Please tell me how to span the video on whole screens.
I’ll be really thankful, if you would help me in this.
Thanks and regards
Vinay
Hi again, sorry however I have found another issue, on SGS2 the video width and height is grabbed however the texture is not rendered. I have been through the logcats and I cannot see any issues. If you could help shed some light I would be much appreciating! Thank you,
Hi Uriel,
First, great jobs with this project and thanks for share it with the comunity.
Second I have been working with this and some times, almost very time, I get this error ( A/libc(20447): Fatal signal 11 (SIGSEGV) at 0x00003260 (code=1), thread 20770 (Thread-9505) ) when I touch over "Set Wallpaper" button.
I search about this and it looks like someone inside C code working with null reference at draw point.
Is that happened to you ?
Thanks for your help.
hello,
I use your sample and i successfully run it. Video play as live wallpaper but without media sound. How to play sound with it ??
I get this error, even after I try to update all that's possible to update:
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:3: error: package net.rbgrn.android.glwallpaperservice does not exist
import net.rbgrn.android.glwallpaperservice.;
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:44: error: cannot find symbol
public class GLWallpaperVideoDemo extends GLWallpaperService {
^
symbol: class GLWallpaperService
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:125: error: cannot find symbol
class VideoEngine extends GLEngine {
^
symbol: class GLEngine
location: class GLWallpaperVideoDemo
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:119: error: cannot find symbol
public Engine onCreateEngine() {
^
symbol: class Engine
location: class GLWallpaperVideoDemo
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\VideoRenderer.java:11: error: package net.rbgrn.android.glwallpaperservice does not exist
import net.rbgrn.android.glwallpaperservice.;
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\VideoRenderer.java:38: error: package GLWallpaperService does not exist
public class VideoRenderer implements GLWallpaperService.Renderer {
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:57: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:60: error: cannot find symbol
super.onCreate();
^
symbol: variable super
location: class GLWallpaperVideoDemo
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:79: error: cannot find symbol
AssetManager assetManager = getAssets();
^
symbol: method getAssets()
location: class GLWallpaperVideoDemo
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:109: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:112: error: cannot find symbol
super.onDestroy();
^
symbol: variable super
location: class GLWallpaperVideoDemo
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:118: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:134: error: cannot find symbol
setRenderer(renderer);
^
symbol: method setRenderer(VideoRenderer)
location: class GLWallpaperVideoDemo.VideoEngine
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:136: error: cannot find symbol
setRenderMode(RENDERMODE_CONTINUOUSLY);
^
symbol: variable RENDERMODE_CONTINUOUSLY
location: class GLWallpaperVideoDemo.VideoEngine
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:141: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:144: error: cannot find symbol
super.onCreate(surfaceHolder);
^
symbol: variable super
location: class GLWallpaperVideoDemo.VideoEngine
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:147: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:150: error: cannot find symbol
super.onDestroy();
^
symbol: variable super
location: class GLWallpaperVideoDemo.VideoEngine
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:157: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:161: error: cannot find symbol
super.onSurfaceChanged(holder, format, w, h);
^
symbol: variable super
location: class GLWallpaperVideoDemo.VideoEngine
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:164: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:167: error: cannot find symbol
super.onSurfaceCreated(holder);
^
symbol: variable super
location: class GLWallpaperVideoDemo.VideoEngine
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:170: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:173: error: cannot find symbol
super.onSurfaceDestroyed(holder);
^
symbol: variable super
location: class GLWallpaperVideoDemo.VideoEngine
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:176: error: method does not override or implement a method from a supertype
@OverRide
^
C:\Users\user\Desktop\GLWallpaperVideoDemo-master1\app\src\main\java\frankandrobot\glwallpapervideodemo\com\GLWallpaperVideoDemo.java:179: error: cannot find symbol
super.onVisibilityChanged(visible);
^
symbol: variable super
location: class GLWallpaperVideoDemo.VideoEngine
26 errors
:app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
14 actionable tasks: 14 executed
Thank you very much for sharing your code! When opening/building in eclipse the wallpaper loads onto the emulator and then crashes, with a not responding error, The logcat shows the issue to be 'could not load avcore: find library returned null' however everything seems normal
Many Thanks for your help
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.