polybiusproxy / hxCodec

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

hxCodec 3.0 rewrite (video controls, LibVLC 4.0, and more) #236

Closed EliteMasterEric closed 1 year ago

EliteMasterEric commented 1 year ago

This version is a full rewrite by EliteMasterEric, based on the old codebase, with new features and improvements.

Added

MAJigsaw77 commented 1 year ago

I think we must make Mac, Linux, Android and iOS functional before pushing

EliteMasterEric commented 1 year ago

I think we must make Mac, Linux, Android and iOS functional before pushing

I can do some work on Linux and Android but I'm kind of busy. Mac I can't do the work for as I don't have a Mac.

iOS is complicated and might need to be pushed off until later, because it requires using vlcKit and also I've never worked with iOS before and also I don't own a Mac

ghost commented 1 year ago

wouldn't it be necessary to mark this PR as a draft for the time being? to avoid accidental merges and such

mayo78 commented 1 year ago

this compiles fine, but when opening the exported exe it gives the error "[exe name] - Entry Point Not Found" "The procedure entry point libvlc_media_get_parsed_status could not be located in the dynamic link library [path of exe]"

EliteMasterEric commented 1 year ago

this compiles fine, but when opening the exported exe it gives the error "[exe name] - Entry Point Not Found" "The procedure entry point libvlc_media_get_parsed_status could not be located in the dynamic link library [path of exe]"

Which operating system is this

Nvm its windows

JonnycatMeow commented 1 year ago

gonna make ios fixes and i am gonna test it

Raltyro commented 1 year ago

wwait, does stuff actually works in other platforms?

TheRealJake12 commented 1 year ago

wwait, does stuff actually works in other platforms?

no (I have been told it doesn't.)

polybiusproxy commented 1 year ago

wwait, does stuff actually works in other platforms?

no (I have been told it doesn't.)

Support is there but it has yet to be tested.

mayo78 commented 1 year ago

Support is there but it has yet to be tested.

tested on mac, didn't work

ACrazyTown commented 1 year ago

I'm having an issue where a FlxVideoSprite just doesn't render if it's cameras is set to a camera different than FlxG.camera

EliteMasterEric commented 1 year ago

I'm having an issue where a FlxVideoSprite just doesn't render if it's cameras is set to a camera different than FlxG.camera

Does this issue happen on the old version of hxCodec?

I think this might be related to a similar issue where videos don't work on substates.

The most stable thing to do right now is to use FlxVideoState or FlxCutsceneState (which uses FlxVideoState).

BombasticTom commented 1 year ago

umm why does it have branch conflicts?

kinoko87 commented 1 year ago

Is it possible to make a video restartable with this version? Once a video ends it seems I'm unable to set back the time to 0. Looping does not work as I'm implementing a video component in my program that can pause/restart

kinoko87 commented 1 year ago

Is it possible to make a video restartable with this version? Once a video ends it seems I'm unable to set back the time to 0. Looping does not work as I'm implementing a video component in my program that can pause/restart

So far my only succesfully implementation of this was just running playVideo() again.

MAJigsaw77 commented 1 year ago

Is it possible to make a video restartable with this version? Once a video ends it seems I'm unable to set back the time to 0. Looping does not work as I'm implementing a video component in my program that can pause/restart

which platform are you using?

EliteMasterEric commented 1 year ago

Is it possible to make a video restartable with this version?

I will look into this later if I have the time. Still working on getting Linux working.

EliteMasterEric commented 1 year ago

Updates on the status of this repo:

JonnycatMeow commented 1 year ago

bruh i did test the mac but i did not test the ios

BombasticTom commented 1 year ago

I have an android but dunno how to test it

JonnycatMeow commented 1 year ago

damn

EliteMasterEric commented 1 year ago

This was closed due to Git tomfuckery, I might need to make another PR but this is still in active development.

ACrazyTown commented 1 year ago

Btw, is there any way to make this work with hmm? As it requires me to have a copy of the repostiory in my global haxelib because of the Build.xml file: Error: Could not find include file "C:/HaxeToolkit/haxe/lib/hxcodec/git/project/Build.xml