polybiusproxy / hxCodec

Haxe library for native video playback on HaxeFlixel and OpenFL.
https://lib.haxe.org/p/hxCodec
Mozilla Public License 2.0
109 stars 71 forks source link

Error #281

Closed TheoDevelops closed 1 year ago

TheoDevelops commented 1 year ago

Hi, im coding in haxeflixel, i made this

public function startVideo(name:String)
{
      FlxG.sound.music.stop();

      camStage.alpha = 0;
      camObjects.alpha = 0;

      var video:FlxVideo = new FlxVideo();
      video.onEndReached.add(video.dispose);
      video.onEndReached.add(onVideoEnd);
      video.play(Asset.video(name));
}
public function onVideoEnd():Void
{
      camStage.alpha = 1;
      camObjects.alpha = 1;

      FlxG.sound.playMusic(Asset.music('mainMenu'), 1);
}

and i get this in the console [0000023e406da3c0] mmdevice audio output error: cannot initialize COM (error 0x80010106) [0000023e4eddcbb0] main vout display error: Failed to set on top [0000023e4ec24200] main vout display error: Failed to set on top

is my first time using this lib, i imported the lib also it sound, but does not show the video, just the audio

(also is not the alpha of cameras)

can some one help?

MAJigsaw77 commented 1 year ago

Update to 3.0.2 as the previous had a little issue

TheoDevelops commented 1 year ago

Update to 3.0.2 as the previous had a little issue

also im updated it and [000001d001339420] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001d028c92f80] main vout display error: Failed to set on top [000001d028cb17c0] main vout display error: Failed to set on top

same error

im using 3.0.2, also, audio starts but, doesnt show the video and, onEndReached doesnt work

polybiusproxy commented 1 year ago

Update to 3.0.2 as the previous had a little issue

also im updated it and [000001d001339420] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001d028c92f80] main vout display error: Failed to set on top [000001d028cb17c0] main vout display error: Failed to set on top

same error

im using 3.0.2, also, audio starts but, doesnt show the video and, onEndReached doesnt work

Hello,

What platform are you in? You may be missing some plugins. Are you sure you're importing the library correctly?

TheoDevelops commented 1 year ago

Update to 3.0.2 as the previous had a little issue

also im updated it and [000001d001339420] mmdevice audio output error: cannot initialize COM (error 0x80010106) [000001d028c92f80] main vout display error: Failed to set on top [000001d028cb17c0] main vout display error: Failed to set on top same error im using 3.0.2, also, audio starts but, doesnt show the video and, onEndReached doesnt work

Hello,

What platform are you in? You may be missing some plugins. Are you sure you're importing the library correctly?

im in windows 10, and, yes, i think, im only installed hxcodec and, im imported it from hxcodec.flixel.FlxVideo

polybiusproxy commented 1 year ago

Do you have a plugins folder on the same folder as your executable's?

TheoDevelops commented 1 year ago

Do you have a plugins folder on the same folder as your executable's?

yep, in plugins folder contains

polybiusproxy commented 1 year ago

I'm not sure about the cause of the issue. Try deleting hxCodec from your PC, then reinstall the library. If that doesn't work, I don't know what could fix it.