Sunday, June 22, 2025

Generating a 360 Video from Still Image and 4ch Ambisonics File



Create a video from a still image. Combine the video created in the previous step with 4 channel audio. Inject the correct 360 metadata into the video created in the previous step. Requires ffmpg and spatial-media. 

Download example gradient here: 

https://universityofadelaide.box.com/s/q8g5f31kw5iabtishv4sg93zag2ltgzh 

Download short ambix wav file here: 

https://universityofadelaide.box.com/s/qrrd87dztepn4lxi3uv7m1wyj3zvgkn6 


ffmpeg -loop 1 -i [input image file] -t 8 -vf format=yuv420p -c:v libx264 [output video file 1]

ffmpeg -i [input video file 1] -i [input ambisonics audio file] -c:v copy -c:a pcm_s24le -map 0:v:0 -map 1:a:0 [output video file 2]

python spatialmedia -i -a [output video file 1] [output video file 3]

0 comments: