Google has been steadily rolling out features for YouTube 3D. “Early this year, they announced support for the LG Optimus 3D and NVIDIA 3D Vision, and now they announced a support for Samsung 3D TVs, informed Jonathan Huang, YouTube 3D Product Manager.
Responding to users question about how to upload content — Huang said “3D uploads to YouTube will work across all supported devices, from red/blue glasses to the latest 3D televisions.” He suggests that there are two ways to upload content to YouTube in 3D:
“If you’re just uploading one or two videos, upload content in any supported format and then edit the video settings to tell us that it’s 3D. From a video’s watch page, select “edit info”, then “3D Video”. This will only work on videos you’ve uploaded yourself.”
“If you’re using the API to upload 3D videos, you’ll want to format your video in a certain way. YouTube supports automatic detection of 3D content with certain file formats. If you upload with a format that supports automatic detection, we’ll automatically set the correct settings so that your video shows up automatically in 3D and shows up properly on phones, TVs, and PCs,” explained Huang.
He said in both cases, YouTube requires that content be uploaded in Side by Side L/R with each frame squashed 50% and preferably with a 16:9 aspect ratio. The following formats are automatically detected when uploaded:
- WebM with the StereoMode setting set to
STEREOMODE_TYPE_LEFT_RIGHT. Note that other modes, including alternate track, are not supported.
- H264 AVC with Supplementary Enhancement Information, Frame Packing Arrangement set. If you are using x264, the argument
--frame-packing=3will set this correctly. In Handbrake you can set this in “x264 Advanced Option String”.
Check out the 3D Mars footage from 1979 restored from the Viking landers in the video below: