sorbonne
Posts: 49
Joined: Thu Jan 14, 2016 10:25 am

side by side camera preview

Thu Jan 26, 2017 1:28 pm

Hi,

raspivid -3d sbs seems to only overlay one of the two camera captures when the preview is turned on. How can I enable a full side by side preview or is this just not possible?

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9864
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: side by side camera preview

Thu Jan 26, 2017 3:47 pm

viewtopic.php?f=43&t=85012

You've probably missed the line:
You will need to instruct TVService to switch your TV into a stereoscopic mode before running your camera command if you want to view the stereoscopic output. For me that is something like

Code: Select all

     tvservice --explicit="CEA_3D_TB 4"
    tvservice --explicit="CEA_3D_SBS 16"
tvservice -m CEA will give you a list of the modes your TV supports.
If you want to just view the two images side by side, then you'll need to reconfigure the mmal_connection from camera to video_render to MMAL_ENCODING_I420 instead of MMAL_ENCODING_OPAQUE. Opaque inherently includes the two channels as independent images.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Compute Module”