peav
May 30, 2016, 2:25pm
1
Ever since the last update “version 0.12.4 build(6406)” the local preview shows an empty window. No error thrown, nothing visible in the logs. I tried reinstalling once already but the problem persists.
Build result:
Configuring (2.55s)
Compiling syntax tree (1.99s)
Generating code and data (11.26s)
Build completed in 15.92 seconds.
0 Warning(s)
0 Error(s)
# Build complete.
Output: GL_VERSION: 4.3.0 - Build 20.19.15.4331
Output: GL_VENDOR: Intel
Output: GL_RENDERER: Intel(R) HD Graphics 4400
Log for the day
2016-05-30 08:50:34,326 [10780:1] INFO Fuse - Starting Fuse with arguments ''
2016-05-30 08:50:35,511 [10780:1] INFO Fuse - Version 0.12.4.6406
2016-05-30 08:50:37,731 [7884:1] INFO Daemon - Running at 127.0.0.1 port 12122
2016-05-30 08:50:41,214 [7884:16] INFO Daemon - Client connected: Code Assistance Service
2016-05-30 08:50:41,214 [7884:15] INFO Daemon - Client connected: Local Storage Service
2016-05-30 08:50:42,463 [7884:16] INFO Daemon - Client connected: Fuse Tray
2016-05-30 08:50:47,306 [7884:16] INFO Daemon - Client connected: Fuse Dashboard
2016-05-30 08:53:02,619 [7884:16] INFO Daemon - Client connected: Sublime Text 3
2016-05-30 08:53:22,027 [7884:16] INFO Daemon - Client connected: Preview C:\Users\Pablo\Documents\Fuse\NinaCuro\NinaCuro.unoproj
2016-05-30 08:53:22,913 [7884:26] INFO Daemon - Client connected: Host preview
2016-05-30 08:53:38,011 [7884:16] INFO Daemon - Client disconnected: Host preview
2016-05-30 08:53:38,011 [7884:24] INFO Daemon - Client disconnected: Preview C:\Users\Pablo\Documents\Fuse\NinaCuro\NinaCuro.unoproj
2016-05-30 08:54:30,442 [7884:28] INFO Daemon - Client connected: Preview C:\Users\Pablo\Documents\Fuse\NinaCuro\NinaCuro.unoproj
2016-05-30 08:54:31,441 [7884:23] INFO Daemon - Client connected: Host preview
2016-05-30 08:54:33,093 [7884:24] INFO Daemon - Client disconnected: Preview C:\Users\Pablo\Documents\Fuse\NinaCuro\NinaCuro.unoproj
2016-05-30 08:54:33,910 [7884:28] INFO Daemon - Client disconnected: Host preview
2016-05-30 08:55:01,070 [7884:30] INFO Daemon - Client connected: Preview C:\Users\Pablo\Documents\Fuse\NinaCuro\NinaCuro.unoproj
2016-05-30 08:55:02,076 [7884:32] INFO Daemon - Client connected: Host preview
2016-05-30 08:58:59,896 [7884:28] INFO Daemon - Client disconnected: Host preview
2016-05-30 08:58:59,945 [7884:28] INFO Daemon - Client disconnected: Preview C:\Users\Pablo\Documents\Fuse\NinaCuro\NinaCuro.unoproj
2016-05-30 08:59:06,530 [7884:28] INFO Daemon - Client connected: Preview C:\Users\Pablo\Documents\Fuse\NinaCuro\NinaCuro.unoproj
2016-05-30 08:59:07,530 [7884:27] INFO Daemon - Client connected: Host preview
The current project I’m working: . S
<App Theme="Basic" ClearColor="#200c50">
<iOS.StatusBarConfig Style="Light" />
<DockPanel>
<Video Layer="Background" File="assets/FONDO.mp4" IsLooping="true" AutoPlay="true" StretchMode="UniformToFill" ContentAlignment="Center" Opacity="0.3" Padding="-10">
<Blur Radius="3.31" />
</Video>
</DockPanel>
</App>
It’s the same for older projects and examples.
Just to be clear, this isn’t just an issue with your video, but also happens if you replace the Video
tag with for instance <Text Value="I render"/>
?
Can you please see if you have the samme issue when you do:
fuse create example MyExample
cd MyExample
fuse build -r -tdotnetexe
peav
May 31, 2016, 9:55pm
3
Hey, replacing the Video
tag with <Text Value="I render"/>
showed the text. So I changed the video tag into <Video Layer="Background" File="assets/FONDO.mp4" IsLooping="true" AutoPlay="true" StretchMode="UniformToFill" ContentAlignment="Center" />
and it is playing correctly on the local preview. Which is ok since the blur wasn’t necesary. But the video wont play on an android device, I’ve tried with a preview and building an .apk
Currently tested it on an Samsung galaxy tab 3 and S3 mini
peav
June 1, 2016, 6:44am
4
Getting this
E/Fuse.Video( 3223): setDataSourceFD failed.: status=0x80000000
V/MediaPlayer( 3223): setVideoSurfaceTexture
V/MediaPlayer( 3223): prepareAsync
E/MediaPlayer( 3223): prepareAsync called in state 1
W/System.err( 3223): java.lang.IllegalStateException
W/System.err( 3223): at android.media.MediaPlayer.prepareAsync(Native Method)
W/System.err( 3223): at com.foreign.Fuse.Video.Graphics.Android.MediaPlayer.LoadAsyncUrl48(MediaPlayer.java:159)
W/System.err( 3223): at com.Bindings.ExternedBlockHost.LoadAsyncUrl48(ExternedBlockHost.java:265)
W/System.err( 3223): at com.Bindings.Binding_Fuse_App_FrameCallback.__n_doFrame(Native Method)
W/System.err( 3223): at com.Bindings.Binding_Fuse_App_FrameCallback.doFrame(Binding_Fuse_App_FrameCallback.java:14)
W/System.err( 3223): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:811)
W/System.err( 3223): at android.view.Choreographer.doCallbacks(Choreographer.java:613)
W/System.err( 3223): at android.view.Choreographer.doFrame(Choreographer.java:582)
W/System.err( 3223): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
W/System.err( 3223): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 3223): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 3223): at android.os.Looper.loop(Looper.java:146)
W/System.err( 3223): at android.app.ActivityThread.main(ActivityThread.java:5598)
W/System.err( 3223): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 3223): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 3223): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
W/System.err( 3223): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
W/System.err( 3223): at dalvik.system.NativeStart.main(Native Method)
V/MediaPlayerService( 119): Client(97) destructor pid = 3223
V/MediaPlayerService( 119): disconnect(97) from pid 3223
V/MediaPlayer-JNI( 3223): native_setup
V/MediaPlayer( 3223): constructor
V/MediaPlayer( 3223): setListener
V/MediaPlayer-JNI( 3223): setAudioStreamType: 3
V/MediaPlayer( 3223): MediaPlayer::setAudioStreamType
V/MediaPlayer( 3223): setVideoSurfaceTexture
V/MediaPlayer-JNI( 3223): reset
V/MediaPlayer( 3223): reset
V/MediaPlayer-JNI( 3223): setDataSourceFD: fd 60
V/MediaPlayer( 3223): setDataSource(60, 0, 576460752303423487)
V/MediaPlayerService( 119): Create new client(98) from pid 3223, uid 10216,
V/MediaPlayer( 3223): message received msg=8, ext1=0, ext2=0
V/MediaPlayer( 3223): notify(8, 0, 0) callback on disconnected mediaplayer
E/MediaPlayer( 3223): Unable to create media player
Hi!
Thanks for reporting, I have added a ticket for improving the error reporting from <Video />
.
E/Fuse.Video( 3223): setDataSourceFD failed.: status=0x80000000
It basically says that it failed to set the data source. Have you tried other video files or even urls? When I test your code (with my own .mp4) it works without problems