Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insta-crash on current Haxe + OpenFL + windows #7

Open
Tiago-Ling opened this issue Oct 13, 2015 · 2 comments
Open

Insta-crash on current Haxe + OpenFL + windows #7

Tiago-Ling opened this issue Oct 13, 2015 · 2 comments

Comments

@Tiago-Ling
Copy link

Hi,

I'm trying to get the extension to work but so far i had no luck. I'm using the simple example you posted on the readme file and running it on Windows 10 x64:

  • Haxe 3.2.0
  • OpenFL 3.3.8
  • Lime 2.6.8
  • Hxcpp 3.2.180

Compiling the ndll works with no errors but when i run the test application it crashes automatically
on this method call (WebmPlayer.hx line 117):

hx_webm_decoder_step(decoder, decodeVideoFrame, outputAudioFrame);

Additional info (console output):

                            EBML Header
                EBML Version            : 1
                EBML MaxIDLength        : 4
                EBML MaxSizeLength      : 8
                Doc Type                : webm
                Pos                     : 43

                           Segment Info
                TimeCodeScale           : 1000000
                Duration                : 5568000000
                Duration(secs)          :   5.568
                Track Name              : NULL
                Muxing App              : Lavf53.17.0
                Writing App             : Lavf53.17.0
                Position(Segment)       : 55
                Size(Segment)           : 229400

                           Track Info
                ------------------------
                Track Type              : 1
                Track Number            : 1
                Track Uid               : 1
                Track Name              : NULL
                Codec Id                : V_VP8
                Codec Name              : NULL
                Video Width             : 560
                Video Height            : 320
                Video Rate              : 0.000000
                ------------------------
                Track Type              : 2
                Track Number            : 2
                Track Uid               : 2
                Track Name              : NULL
                Codec Id                : A_VORBIS
                Codec Name              : NULL
                Audio Channels          : 1
                Audio BitDepth          : 16
                Audio Sample Rate       : 48000.000
                Audio Private Data      : 00772860, 4152
Vorbis: version:0, channels:1, rate:48000

It is possible to see the first video frame drawn to the screen, but nothing else happens.

How can i help to solve this?

Thanks

@ianharrigan
Copy link

Interesting, i will try this too and let you know what happens.

@Tiago-Ling
Copy link
Author

@soywiz if could comment on the issue - just your guesses on why this might be happening - it would be great, since you made this work at one point.

With a probable cause and maybe some tips i think i can make this work much faster than if i have to analyze the code blindly.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants