Open 64BitAsura opened 8 years ago
That would involve in implementing OSX version of frame capture., using OSX api's
I dough deep, found that you are using ffmpeg to capture linux screen using X11grab, also I found OS X screen can be captured using Avfoundation, Please point me out where exactly I need to do modification in your source, since I am new CPP, please help me out :)
@anshulrouthu Are you talking about POSIX thread api? or something else? :)
You are using Raspberry Pi, OpenMax api to stream media directly to pi's kernel, right?
I am using OpenMax api on the raspberry pi to decode and render the video frames
I do have a working in progress patch that uses AVFoundation on OSX to capture the frames, the video output is not optimal but works as good starting point, I get an overlay of orangish yellow color on the captured video. I will push that to a branch and you can start from there. I do not have a lot of free time recently hence no progress has been done for this project for along time
@anshulrouthu please push it to branch, I can take it from here :) Thank you
@sambathl I have pushed my partial mac port to this branch https://github.com/anshulrouthu/RPiCast/tree/macbookpro-port
@anshulrouthu Thank you so much, but when I used xtools cross-tool chain from http://www.jaredwolff.com/toolchains/ I get
In file included from source/porting_layers/components/demux.h:27:0, from source/porting_layers/components/demux.cpp:24: ./source/framework/utils.h:27:19: fatal error: stdio.h: No such file or directory
^
I do tried build my own tool chain and changing lib path, can't fix it :(
@sambathl I am not sure about thaterror, stdio.h is the basic io header file it should be present a toolchain. Something could be wrong with your toolchain
@anshulrouthu can you please share your xtools toolchain? :)
@sambathl If you run the setup.sh script from the root of the project it will pull the toolchain and the staging directory for you.
@anshulrouthu toolchain checked out from shell script, doesn't contain toolchain for Mac OS X. I am using RPi3 ARM 8 arch as tool chain, it only support the GCC version of 4.9, but rpi staging checked out supports GCC 4.8, running into linking problem :(
That is a problem, I am not sure how to handle it since I do not have rpi3. I guess the sdk needs to be update.
What it would take to support OS X and Windows 10?