Hello,
I’ll try keep it brief and succinct.
Techmatics are trying to develop a product for use with the herelink system that will be able to stream video from herelink as well as video record and take snapshots.
I’ve done the functionality before specifically for Android without herelink by using ffmpeg to record video and obviously it presents itself as a good tool for snapshot taking also.
This will be my first foray into doing it with Visual Studio, Xamarin and herelink.
As such I’ll just let you know my progress so far.
I’ve looked into using nuget packages with xamarin to do video recording.
Tried using:
xabe.ffmpeg
Laerdal.ffmpeg binding for xamarin.
The issues that have come up in using these:
xabe ffmpeg requires ffprobe and ffmpeg to be installed onto the herelink device. I cannot get past simply loading the programs, because required files for the tools are missing on herelink.
For laerdal.ffmpeg i can add the nuget package laerdal.ffmpeg.full however trying to add laerdal.ffmpeg.android.full cannot because netstandard2.0 framework is not supported. I’m familiar with the software that laerdal binding is based off (mobile-ffmpeg) however the standard package (laerdal.ffmpeg,full) does not have any documentation so cannot find out how to specifically get asynchronous tasks going. A quick google search found that asynchronous tasks on android are found in the laerdal.ffmpeg.Android.full package.
In my search had to find out how to transfer files to herelink via adb. though it’s not ideal, i got stuck needing to get root access so i could include a libc++_shared.so file on the herelink device.
Also have sent to the xabe ffmpeg github without reply so far. So im looking for other options at the moment.
Any help with this would be appreciated.
Firstly, is there any tool people are currently using that I’m not aware of?
Has anyone any experience using the packages that I’ve described?