You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to process individual frames of a HLS video stream, similar to your VideoCapture Example.
Using VideoCapture(...) to open the HLS URL works in Play Mode on my Windows 10 machine but after
building and running on my Android Tablet, it does not work anymore, videoCapture.isOpened()returns false there.
Is it generally possible to play HLS Stream on Android Tablet using your Asset?
Do you have an idea why it might fail with my setup?:
Device: Samsung Galaxy Tab Active Pro (Modell: SM-T545)
Android: 11
Unity: 2021.3.9f1 LTS (tried with 2020 LTS same issue)
OpenCVForUnity version = opencvforunity 2.4.8 (4.6.0-dev)
In your Example it says 'Please move from “OpenCVForUnity/StreamingAssets/” to “Assets/StreamingAssets/” folder'
I did that, my Assets/Streamingassets looks like this:
Is this feature supported?
The Stream URL comes from AWS Kinesis Video GetHLSStreamingSessionURL function, if that is relevant. Thanks in advance!
The text was updated successfully, but these errors were encountered:
hellovertex
changed the title
HLS-Stream on Android using VideoCapture
VideoCapture fails on Android for HLS-URL
Sep 16, 2022
Hi,
I am trying to process individual frames of a HLS video stream, similar to your VideoCapture Example.
Using VideoCapture(...) to open the HLS URL works in Play Mode on my Windows 10 machine but after
building and running on my Android Tablet, it does not work anymore,
videoCapture.isOpened()
returns false there.Is it generally possible to play HLS Stream on Android Tablet using your Asset?
Do you have an idea why it might fail with my setup?:
Device: Samsung Galaxy Tab Active Pro (Modell: SM-T545)
Android: 11
Unity: 2021.3.9f1 LTS (tried with 2020 LTS same issue)
OpenCVForUnity version = opencvforunity 2.4.8 (4.6.0-dev)
I tried solutions from
https://forum.unity.com/threads/released-opencv-for-unity.277080/page-55#post-7427405
I copied opencv_videoio_ffmpeg460_64.dll to my project root directory
unity android arm64 failed #99 and Video feed issue on IL2CCP #43
![grafik](https://user-images.githubusercontent.com/36052404/190434815-b301d68c-9a72-4c54-8570-231117c28d44.png)
![grafik](https://user-images.githubusercontent.com/36052404/190435455-480a9da0-ed24-4bfa-a077-0f46695019a1.png)
My relevant build settings are
and
In your Example it says 'Please move from “OpenCVForUnity/StreamingAssets/” to “Assets/StreamingAssets/” folder'
![grafik](https://user-images.githubusercontent.com/36052404/190436461-7ab34541-0a8e-4573-8a0e-9cf096df388d.png)
I did that, my Assets/Streamingassets looks like this:
Is this feature supported?
The Stream URL comes from AWS Kinesis Video GetHLSStreamingSessionURL function, if that is relevant. Thanks in advance!
The text was updated successfully, but these errors were encountered: