Closed lingkang1988 closed 8 years ago
Hi, can we replace ExoPlayer with other player, such as ijkplayer?
I didn't dig it in. At least you got to rewrite a VrVideoPlayerInternal by yourself.
VR Video View does not currently support spatial audio as part of the movie payload. However, the SDK includes APIs for spatial audio as well as examples for how to use them. You can combine these with a Video View.
Thanks, nathanmartz. I know the SDK includes APIs for spatial audio, however the APIs only accept audio files instead of video files. So if I use google sdk to enable spatial audio when playing video, I need to prepare a separate audio file which is not that accepted.
So I have the following two questions:
The Google VR SDK on Android supports the decoding and binaural rendering of an ambisonic soundfile. You could separately trigger spatial audio playback together with the video playback, but then the synchronization of both media streams will be quite challenging. Android's Exoplayer and the spatial audio engine have very different buffering schemes and signal paths, so unfortunately I don't think this is easily possible. However, I agree that this is an interesting feature which is worth considering in a future release.
👍
Yes, we also need this feature!!!! Can we use the left and right audio channel to create the spatial audio effects?
VrVideo using ExoPlayer library. So it depends on the codec capability and extractor in ExoPlayer.