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

how to play the side by side video to spatial #3

Open
code-savior opened this issue May 6, 2024 · 5 comments
Open

how to play the side by side video to spatial #3

code-savior opened this issue May 6, 2024 · 5 comments

Comments

@code-savior
Copy link

do you have any ideas, thank you:)

@mikeswanson
Copy link
Owner

Because this player is designed for MV-HEVC playback, you'd need to convert the side-by-side media to MV-HEVC before trying to play it. You can use my free spatial tool or any of the tools listed at the bottom of that page.

@makhocheung
Copy link

makhocheung commented Aug 16, 2024

I found this thread
Do you know how to let AVPlayer outputs video frames to the DrawableQueue.

@makhocheung
Copy link

I found a better solution here

@somesaba
Copy link

@makhocheung did you get SBS video to work on your side? I am trying to do the same thing.

Repository owner deleted a comment from somesaba Aug 17, 2024
@makhocheung
Copy link

makhocheung commented Aug 18, 2024

@makhocheung did you get SBS video to work on your side? I am trying to do the same thing.

Hello. After I did a research, I found a solution. As I mentioned before, we can let AVPlayer output video frames to the DrawableQueue. Before putting video frames to DrawableQueue, we need two DrawableQueues to drive video frames to left eye ShaderGraphMaterial and right eye ShaderGraphMaterial, then we can split a video frame into a left video frame and a right video frame, and then respectively put them to the left DrawableQueue and the right DrawableQueue.

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