/libchiaki_cython

Experimental attempt to learn Cython by creating libchiaki bindings

Primary LanguageCython

Python bindings for libchiaki using Cython

WARNING: This is primarily a project for the purposes of learning Cython. Use at your own risk.

So far I am building a very limited version of Chiaki since I am primarily planning on using it for controller I/O and have no need for video/audio

cmake -DCHIAKI_ENABLE_GUI=Off -DCHIAKI_LIB_ENABLE_OPUS=Off -DCHIAKI_ENABLE_FFMPEG_DECODER=Off -DCHIAKI_ENABLE_PI_DECODER=Off -DCHIAKI_ENABLE_CLI=On ..

Chiaki can be found at https://git.sr.ht/~thestr4ng3r/chiaki

The motivation for this project is twofold:

  • Develop a way to control a PS5 Remote Play instance using Python. pyremoteplay is abandonware and I have not been able to figure out how to solve the desync-seizure-after-a-few-minutes problem, and the author will not even respond as to why they abandoned the project/whether they encounted this issue or not
  • Learn Cython, oddly inspired partly by the author of pyremoteplay's work, also the great work of PyTurboJPEG and cgohlke's imagecodecs package

Other notes: Showing header dependency trees of Chiaki headers:

for j in chiaki/*.h; do echo $j; gcc -c -I. -H $j 2> >(grep chiaki); done >headertrees_raw.txt