Stereo Equirectangular Projection Live Stream
Posted: Mon May 06, 2019 12:21 am
This is just documenting some success for others.
I've managed to get my local gstreamer install to decode and modify the stereopi udp stream into a side-by-side stereo equirectangular projection.
I used the following article to build gst-plugins-vr with a fork of fixes for OSX.
https://medium.com/@yofujimo/how-to-mak ... fcab0bc020
Here is the command with a test viewer.
And here is the command to forward the stream to another udp stream viewer
I've managed to get my local gstreamer install to decode and modify the stereopi udp stream into a side-by-side stereo equirectangular projection.
I used the following article to build gst-plugins-vr with a fork of fixes for OSX.
https://medium.com/@yofujimo/how-to-mak ... fcab0bc020
Here is the command with a test viewer.
Code: Select all
gst-launch-1.0 -mv udpsrc port=3000 buffer-size=300000 ! h264parse ! avdec_h264 ! glupload ! glcolorconvert ! hmdwarp ! gldownload ! videoconvert ! video/x-raw, width=1920, height=1080 ! autovideosink
And here is the command to forward the stream to another udp stream viewer
Code: Select all
gst-launch-1.0 -mv udpsrc port=3000 buffer-size=300000 ! h264parse ! avdec_h264 ! glupload ! glcolorconvert ! hmdwarp ! gldownload ! videoconvert ! video/x-raw, width=1920, height=1080 ! x264enc ! rndbuffersize max=6500 ! udpsink host=DESTINATION_IP port=3000