Closed Mohib1992 closed 7 years ago
What is your target platform, do you compile for Flash web player? (its only there where this file is needed).
Also, where exactly lives the file. Check again the path, and paste here where the 'load' points to(for example):
myEncoder.load("../../lib/FlashPlayer/mp4/");
To make sure, try to copy the SWFBridge file into the same folder like the example fla and just use:
myEncoder.load();
It should work in case it was an issue with path...
I got stuck at this point:
Got status
[FlashyWrappers] It is recommended your video dimensions are multiplies of 16. On some platforms, like iOS, other dimensions might cause issues.
[FlashyWrappers] Figuring out microphone permissions
[FlashyWrappers] Returned true
[FlashyWrappers] Calling init
Got status
[FlashyWrappers] Initializing...
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at global/com.fw_flascc::F_thr_new()
at global/com.fw_flascc::F__pthread_create()
at global/com.fw_flascc::F__ZN16FW_ffmpeg_encode11ffmpeg_initEPhS0_S0_iiiiiiiiiimii()
at global/com.fw_ffmpeg::ffmpeg_init()
at Function/FWVideoEncoder.as$1:anonymous()
at com.rainbowcreatures::FWVideoEncoder/askMicPermission()
at com.rainbowcreatures::FWVideoEncoder/start()
at com.rainbowcreatures.swf::FWVideoEncoder/start()
at airwrite_flashy_fla::MainTimeline/onStatus()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.rainbowcreatures.swf::FWVideoEncoder/onEncoderLoaded()
I have a feeling I saw this happening in the latest version. Are you using OGV or MP4 as target?
I tried both OGV and MP4, same result.
Ok, I'd need a code to reproduce this. Did you try exampleCamera or something on your own?
I strongly suspect it has to do with changes in FW2.6, as a workaround you might also try this older version of FW - most of the changes I've made did not affect the Flash version anyway (except for breaking it as it seems):
When i'm open helloworld.fla and start compiling this error happening.I check the dir FW_SWFBridge_ffmpeg.swf was there.