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

Simple usage and setup tips #1

Open
Tiago-Ling opened this issue Jan 14, 2015 · 5 comments
Open

Simple usage and setup tips #1

Tiago-Ling opened this issue Jan 14, 2015 · 5 comments

Comments

@Tiago-Ling
Copy link

Hi,

While looking for ways to play video in desktop and mobile targets i came across this library, which seems to be the only one available for this task in Haxe.

I was wondering if you could post a readme.md containing a description of the typical usage and maybe some tips on what to avoid and/or how to setup the lib.

I'm currently trying the following without success (using OpenFL with windows target):

        var mpeg:FFMPEG = new FFMPEG();
        mpeg.openAndPlay('assets/video_test.mpeg', onVideoComplete, onVideoFrame);

Trying to run openAndPlay crashes the application, giving this output (i'm using an empty openfl application with just the code above):

[mpegvideo @ 038A3420] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegvideo, from 'assets/video_test.mpeg':
  Duration: 00:00:00.05, bitrate: 104856 kb/s
    Stream #0:0: Video: mpeg1video, yuv420p(tv), 320x200 [SAR 1:1 DAR 8:5], 1048
57 kb/s, 23.98 fps, 23.98 tbr, 1200k tbn, 23.98 tbc

Thanks a lot!

@ianharrigan
Copy link

I would also be interested in the status of this lib. It seems pretty interesting.

Cheers,
Ian

@Tiago-Ling
Copy link
Author

@soywiz Could you please help me with this? I'm in dire need of video playback - any information to make it run will be extremely valuable. Thanks!

@soywiz
Copy link
Member

soywiz commented Oct 14, 2015

Hello. I don't update this library for a while. Indeed I don't have the build environment required for building this again. I don't remember the status of this project, but probably was on early steps.

If you can use any video format I think I put some more work on this one: https://github.com/soywiz/haxe-openfl-webm

But again, I don't have the build environment for that, and I don't have too much time for setting it up again and testing. But you can try if it still works.

Since I'm not going to update it anymore, maybe openfl could absorb this and/or the other project so the community or the openfl team could update it. @jgranick What do you think about this? Also, it is possible to transfer a project ownership with haxelib?

@Tiago-Ling
Copy link
Author

@soywiz Thanks for the reply!

I'm also trying your webm extension - this one seems to almost work, i get to see the first video frame but it crashes. I created an issue with details there: soywiz-archive/haxe-openfl-webm#7

@Celsyum
Copy link

Celsyum commented Jan 2, 2019

I wish this project be still alive in 2019. Is it possible to have this renewed for latest lime and openfl version ?

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

4 participants