Render Virtual Reality Videos with Cinema 4D: Upload 360° and VR Rendered Video to Facebook

Photo of Rick Barrett

Instructor Rick Barrett

Share this video
  • Duration: 09:19
  • Views: 12202
  • Made with Release: 17
  • Works with Release: 17 and greater

Inject Metadata and share VR Video in a Facebook News Feed

Learn how to compile an image sequence in After Effects and render an mp4 via Adobe Media Encoder. Next, you'll use YouTube's 360 Video Metadata App to inject metadata that identifies the video as an equirectangular 360° stereo image. Finally upload the image to Facebook and review the final video in the browser.

show less

Transcript

- In this tutorial, we'll explore how to output 360 degree or virtual reality videos from Cinema 4D using the Octane Render engine. Here I have the same simple scene that we used in the Cinema 4D demo. We're going to go ahead and start with the simple scene and then go to something more interesting once again. When outputting for Octane, the C4DVR cam plugin is not strictly necessary however it can still be helpful in bringing in the camera rig so that you can get a view of your safe zones. We'll go ahead and load the camera ring from the CVVR cam plugin. Rendering an equal rectangular projection from Octane is really pretty and easy. All you need to do is add an Octane camera tag to your camera and change the camera type to panoramic and then in the panoramic tab, we'll go ahead and make sure that the FOV X is 360 degrees and the FOV Y should be 180 degrees because we want a full top to bottom projection. Now, we just want to do a 360 degree video, that's really all there is to it. If we open up the render settings and make sure we're outputting Octane in 3840 by 2160 resolution, I don't need the CVVR cam plugin here so we will turn that off and I'll also turn off Save and we'll just render out to the picture viewer and I'm going to go ahead and fit that to screen and there you can see our equirectangular projection ready to upload as a YouTube 360 or Facebook 360 video. Now it does get slightly more complicated when we want to go to stereo and for that what we need to do is go back to the camera tab and into the stereo tab and set the stereo output to side by side. Now Octane doesn't have an option to do a side by side with the left eye on top of the right eye on bottom. What we need to do is actually render out the left and the right eye separately and we'll merge them. You could actually choose the left or the right options and render two separate renders. What I choose to do is render the side by side option. Now, once again, you'll need to pay attention to your eye distance here and do note that the eye distance now in Octane is in meters. 0.065 meters is the same as 6.5 centimeters. I rendered this out side by side and because I can't go top to bottom what I do is simply set the width twice as wide so that we can get both eyes full 4k resolution in a single image and then I'll just remerge them once I get into After Effects. Now let's go ahead and render that out and take a look at what that looks like. Here you can see that we're getting a full perspective of the left eye and then the right eye and so once we get into After Effects, we'll merge those together. Again, this scene is not particularly interesting so I'm going to go ahead and close this up and we will switch over to something more interesting. And when I thought about interesting environments that we can render in VR and when I thought about artists that were doing great work in Octane, the first person who came to mind is Beeple. Beeple has been creating artwork every day, for I don't know how long, and he uses Octane extensively in his artwork, and even best of all, he provides many of his scene files so that we can tear them apart and really do whatever we want with them which is incredibly gracious of him. We're going to go ahead and pop open Beeple's website and he recently released a short film called Zero Day, which is outstanding. I highly recommend that you check it out. Here on his website, he actually has provided all of the project files that he used in creating Zero Day, all created in Cinema 4D and rendered with Octane. I grabbed his project file for measure one here and I thought it'd be interesting to try and create a VR environment from it. We'll go ahead and open up that in Cinema 4D. Here you can see what is a very cool environment and we will scrub through this. One thing you'll notice, the camera kind of tilts back and forth. He has got a separate camera here with a vibrate tag that has those dips on them and I don't think that's going to be all that comfortable in VR so we're not going to use that camera. Instead we're just going to use this other one that he's already animated that goes straight. Also, I believe this camera is set up with linear key frames, but let's just double check. We'll just go to show F curve and yes, you can see that the animation here on this camera is completely linear. This will work pretty well in VR. On the panoramic tab, we want to make sure that it is set to a spherical mode with a 360 by 180 degree field of view. And in the stereo tab, we want to go ahead and output a side by side image. Here we want to go ahead and make sure that the eye distance is set appropriately. It looks like it's already been adjusted, so let's just go ahead and render this out. We'll go into the render settings, and once again, we want to start with a frame that is 3840 by 2160. And we're going to go ahead and multiply the width by two so that we're getting a double wide image to accommodate both eyes side by side. So we're going to get a full 4k resolution for each eye and we're going to adjust it in After Effects. We'll go ahead and say that we want to save this and we need to overwrite the path that's in there right now. I'm going to go ahead and use the relative path names in R17 to put this in a render subfolder. And we'll just called this, "measure_one_test" and we can go output to a 16 bit per channel TIFF, that's fine. Finally, we want to just output a single frame. I always recommend to just output a current frame first and test that in Youtube VR or your intended output just to make sure everything's working before you commit to the full animation. Now we'll just go ahead and render that out. Now Octane is a great choice for 360 degree NVR videos because again, resolution is so important and we have to render files that are for 4k or in this case, 8k. Octane actually can chew through those fairly quickly if you've got some nice graphics cards on board. I just have two GeForce 780s, so not the greatest Octane rig but something that can certainly accomplish the task much faster in many cases and for many scenes, than the cpu-based render engine can. Now despite its relative speed, Octane does still take some time to process and especially initially to send the scene over to the graphics cards. We're going to let this render and we're going to jump back when it has completed. This file does take about 15 minutes to render in Octane which does still seem slow, but you got to remember that it's rendering a full 8k resolution. Once we have this rendered, what we need to do is jump into After Effects and remerge that as a top/bottom image. To do that, what I do is go ahead and grab that file and bring it into After Effects and I drop it into a comp immediately. The main reason I do this is that here I can do any compositing on my entire file and one thing I like to do, especially because this render is still pretty noisy is, for instance, use Red Giant's denoiser to clean it up. From there, what I'm going to do is go ahead and create another new composition. I'm going to make sure the output for this is 3840 by 2160 with my desired frame rate and duration. Hit OK and I'm going to go ahead and rename that "Octane_TopBottom." Now we'll drag our other comp into this new comp and I'm going to go ahead and set the scale. I'm going to first unlink the scale and set it to 50% and then I'm going to hit P to go into position and I'm going to move this over to 3840 and up to 540. You can see that I've got the left side of the image here in the top half of my new comp. I'm going to go ahead and duplicate this and in the duplicate what we'll do is go ahead and set this to 0 and the height should be 1080 plus 540. We're basically getting the midpoint. It's going to be 1620. Now, we can see that we have our left eye here and the image is extending off to the right. We have our right eye here and the image extends off to the left. And we're ready to render this out. Go ahead and select the master comp here and go ahead and add this to the Adobe Media Encoder queue. We're going to render that out just like we did with the C4D version as an H.264 and the bit rate that is appropriate for our case...in this case, we probably want to go ahead and increase this to something like 20, and the maximum bit rate, something like 40. We'll go ahead and render that file out. Once that render is complete, we're going to inject the metadata and upload it to YouTube or Facebook just like we did with the C4D file. Review the videos on that if you need a refresher.
이 튜토리알에서는 Cinema 4D로부터 렌더링된 360도 전방향 스테레오 렌더를 Facebook에 업로드하는 방법을 알아보겠습니다. 이번 시리즈에서는 그동안 360도 및 VR 비디오를 YouTube와 관련하여 살펴보았는데, Facebook 또한 동일한 테크놀로지와 동일한 포맷을 지원합니다. 따라서, 우리는 Cinema 4D에서 출력한 정방형 프로젝션된 왼쪽 눈과 오른쪽 눈을 위한 두개의 뷰들이 서로 잇달아 쌓인 동일한 파일을 그대로 사용할 수 있습니다. 그런 다음, 이를 YouTube에서처럼 After Effects로 가져와서 이를 Adobe media encoder queue에서의 설정대로 MP4로 출력합니다. 이 파일에 대한 인코딩에 대해서는, Facebook에서 가이드라인을 제공하고 있습니다. 이에 대해서는 360video.fb.com에서 상세한 것들을 보실 수 있으며, 여기에는 학습을 위한 링크들과 최선의 리소스들과 360도 비디오 생성을 위한 가이드가 제공됩니다. 이 가이드를 보면, Facebook은 업로드되는 파일이 1.75GB 이하이고 길이가 10분을 넘지 않아야 합니다. 또한 포맷은 MPEG-4이고 H.264 인코딩이어야 합니다. 또한 맥시멈은 60fps인데, 30fps 모노 영상에 대해서는 초당 20 Megabit, 60fps 모노 영상에서는 30 Megabit를 추천합니다. 우리는 30fps로 작업하고 있으며, 스테레오 영상이지만, 지금은 그냥 권고한 대로 초당 20 Megabit로 아웃풋하겠습니다. 이 가이드라인에는 오디오 코덱에 대한 정보도 나와있으며, 해상도는 최대 4K 여기서는 4096 x 2048입니다. 따라서, Facebook에서는 YouTube보다 약간 큰 비디오가 됩니다. 그러나 우리는 이전에 준비된 파일을 그대로 사용하겠습니다. 따라서 우리가 할 일은 이 파일을 인코딩하는 것입니다. 인코딩한 파일은 C4D 폴더에 저장하고 파일 이름을 aquahall_Beeple_Facebook으로 하겠습니다. 또한 비트 레이트가Facebook 이 권장하는 것과 일치하는지도 다시 확인합니다. 우리는 4K 해상도에 30fps로 출력하며 비트 레이트는 초당 10Megabit입니다. 따라서, 우리는 이 값을 20으로 올리면 우리는 Facebook에서 권장하는 최대 비트 레이트의 이득을 볼 수 있습니다. 이제 OK를 클릭하고 렌더링합니다. 렌더링되는 동안 Facebook 360도 비디오와 YouTube VR 사이의 주요 차이점을 말씀 드릴 것인데, 이는 바로 현재로서는 Facebook이 카드 보드에서는 VR을 지원하지 않는다는 것입니다. Facebook은 그러나 삼성 기어 VR에서는 VR과 스테레오 뷰를 지원합니다. 그러나 삼성 기어 VR이 없고 카드 보드만을 가질 수 밖에 없다면 여러분은 360도 이미지만을 보실 수 있습니다. 물론 마우스로 데스크 탑 이미지 주변을 이동시키거나 폰을 움직이는 모바일 디바이스로 씬의 다른 장면을 볼 수 있다는 자체로도 정말 대단한 것입니다. 하지만 삼성 기어에서는 Facebook이 VR 비디오를 지원하고, YouTube에서는 구글 카드보드를 지원하는 디바이스들에서 VR을 지원합니다. 이들은 모두 3D VR 디바이스가 없다면 스테레오 이미지를 취하여 여러분이 볼 수 있는 2D 형식으로 제공합니다. 렌더링이 끝나길 기다리는 동안 YouTube의 support 섹션으로 가보겠습니다. YouTube 비디오 처럼 최종 MP4에 메타데이타를 넣어 Facebook이 이 파일이 구형 360도 비디오라는 것을 인식시켜야 합니다. 이를 위하여 YouTube에서 제공되었던 동일한 메타데이타 툴을 사용합니다. 이를 다운로드하지 않았다면, 튜토리알 설명에 링크된 이 페이지에서 다운로드할 수 있습니다. 여기서 360도 비디오 메타데이타 앱을 운영 체제에 맞게 다운로드할 수 있습니다. 다운로드 링크로 가서 다운로드하고 압축 해제한 다음 앱을 오픈합니다. 이제 After Effects로 되돌아가서 media encode를 보면 렌더링이 끝났다는 것을 알 수 있습니다. 이제 메타 데이타를 삽입할 것입니다. 앱이 열려있으니, Open 버튼을 눌러 방금 생성한 Facebook 비디오 파일을 오픈합니다. 이 비디오는 Spherical MP4이므로 이를 체크하고, 3D Top-bottom도 체크한 다음, Save As를 클릭합니다. 그리고 이를 _injected라는 이름을 뒤에 붙여 저장합니다. 이 -injected를 그대로 둔 이유는 어느 버젼의 파일이 Facebook 또는 YouTube로 포스팅될 것인지를 쉽게 알 수 있기 때문입니다. 이제 Save를 누르면 새로운 버젼의 MP4가 저장됩니다. 이제 브라우져로 전환합니다. 그런 다음 Cineversity Facebook 페이지로 갑니다. 이 비디오를 업로드 하려면, 여러분의 개인 Facebook 페이지나 회사 Facebook 페이지로 가서 여기 이 status 박스에서 Photo/Video로 전환하고 upload a photo or video를 선택합니다. 이제 우리가 준비한 메타데이타가 삽입된 파일을 선택합니다. 그런 다음 Open을 선택하면 업로드가 시작됩니다. 업로드 되는 동안 Say something about the video란에 설명을 입력합니다. 필요하면 링크도 추가하고 비디오 타이틀도 입력합니다. 그런 다음 Add Custom Thumbnail로 가서 썸 네일을 추가합니다. 같은 씬에 대한 스탠다드 렌더링된 이미지가 있으므로 이를 썸네일로 추가하면 됩니다. 여기서 우리가 주의해야할 것은 Advanced 탭에 This video was recorded in 360 degree format이라는 옵션이 있습니다. 경험에 의하면 여러분이 스테레오 VR을 업로드하는 경우에는, 이 체크박스는 선택되지않은 상태로 두어 Facebook이 메타 데이타 자체를 분석하도록 합니다. VR 비디오는 매우 생소한 부분이고 사이트들도 어느 것이 최선인지를 학습해가고 있는 상황이기 때문에 이는 추후 변경될 수도 있습니다. 하지만 이를 체크하면, 파일에 이미 설정해 놓은 메타데이타를 덮어 쓰기 때문에 Facebook이 이 비디오를 스테레오로 보지 않는 것 같습니다. 대신 360도 비디오로 보기 때문에 양쪽 눈으로 볼 수는 있습니다. 이제 모두 업로드 되었으니, 이를 Draft로 저장합니다. 최종적으로 공개하기 전에 미리 확인 해볼 수 있기 때문입니다. 만일 이를 여러분 개인 페이지에 포스팅한다면, 최종적으로 모두에게 보여지기 전에 초기에 여러분에게만 공유될 것입니다. 이러한 이유로 Save Draft를 선택합니다. Facebook은 비디오에 어떤 프로세싱을 하고 있으며 이 프로세싱이 끝나면 알려주겠다는 메시지를 보여줍니다 이 메시지를 닫고 프로세싱이 끝났다는 통지를 기다립니다. 경험상 약 5분 정도 소요되면 Facebook의 프로세싱이 끝납니다. 이 프로세싱이 끝나면 곧바로 알 수 있으며, 이 페이지를 리프레시하면 드래프트가 준비된 것을 보실 수 있습니다. 이제 드래프트로 가서 이를 보도록 하겠습니다. 여기 포스트를 보면 360도 비디오가 있습니다. 이 포스트를 오픈하면 00:08:50.130 --> 00:08:55.440 이에 대한 프리뷰를 보실 수 있습니다. Play 버튼을 누르면 새로운 창에서 이를 재생할 것입니다. 그러면 우리가 YouTube에서처럼 내비게이션할 수 있는 360도 비디오를 보실 수 있습니다. 삼성 기어 VR이 있다면 여러분은 완전한 스테레오 VR을 보실 수 있습니다 이제까지 Cinema 4D에서 360도 비디오 및 VR을 생성하는 과정을 살펴보았습니다. 원하신다면 여러분이 작업하신 내용을 Cineversity에 올려도 좋습니다.
En este tutorial vamos a ver cómo preparar y cargar un render de Cinema 4D estéreo omnidireccional en Facebook. Hemos hablado mucho en ya esta serie sobre vídeos 360 grados NVR con relación a YouTube, pero Facebook realmente apoya la misma tecnología y de hecho en el mismo formatos. Así que podemos tomar el mismo archivo que tenemos de salida Cinema 4D, que es una proyección rectangular y está dos puntos de vista atracado en la parte superior de uno al otro para el ojo izquierdo y el ojo derecho. Y entonces podemos ponerla en After Effects como lo hicimos para YouTube y simplemente exportar esto como un MP4 estableciéndola a los medios de Adobe cola de codificador. Ahora, cuando se trata de la codificación de este archivo, Facebook tiene algunas pautas que nos proporcionó. Y se puede aprender más sobre esto en 360video.fb.com, y hay un enlace de aprender, y hay algunos recursos aquí en la práctica y también guían para la creación de videos 360. Y si nos fijamos en la guía guía, verá que Facebook recomienda cargar archivos que no más grandes a 1,75 gigabytes, no más de 10 minutos de duración. Tienen que ser MPEG-4 y tienen que estar en el H.264 de codificación. Tenemos aquí un máximo de 60 fps, y recomendó 20 Megabits por segundo durante 30 fps de imágenes mono y 30 megabits por segundo para 60 fps de mono material de archivo. Estamos trabajando a 30 fps, pero tienen material de archivo de música, pero por ahora sólo vamos a continuar y de salida en los mismos 20 Megabits por segundo que se recomiendan. Hay información aquí en el códec de audio, y nota aquí que ellos dicen que la resolución debe ser lo más alta posible, con un máximo de 4 K, y definen 4K, 4096 para el 2048, porque puede ir un poco más grande el vídeo con Facebook de lo que puede con el vídeo de YouTube, pero por ahora sólo vamos a utilizar los mismos archivos que hemos preparado. Entonces, qué vamos a hacer?, continuar y codificar este archivo. voy a guardarlo en la carpeta de C4D y vamos a llamar a esto como “Aquahall_Beeple_Facebook." y vamos a corroborar que nuestra tasa de bits coincide con lo que Facebook recomienda allí. Estamos en la salida a 4K 30 FPS, y aquí estamos en la salida de un VBR de 10 megabits por segundo. Así que vamos a continuar y aumentar esto a 20, y de esa manera nos estamos tomando ventaja de la velocidad de bits total que Facebook recomienda. Vamos a continuar y hacer clic en OK y vamos a renderizar esa salida Mientras esperamos esto para renderizar, voy a señalar una diferencia clave entre Facebook y YouTube 360 vídeos VR, y que es eso que Facebook no es compatible con VR en cardboard actualmente, se admite VR o ver estéreo de la imagen de 360 grados en el Samsung Gear VR parece, pero si no son propietarios de un Samsung Gear VR, que es un poco más difícil de mantener una Cardboard, que sólo será capaz de ver la imagen en 360 grados. Ahora, por supuesto que sigue siendo una gran experiencia poder desplazar el ratón a través de ya sea el de escritorio, o un dispositivo móvil pudiendo simplemente mover el teléfono de un lado, y obtener una visión diferente de la escena. Pero ten en cuenta que Facebook es compatible con vídeos en VR, el Samsung Gear VR, mientras que YouTube los apoya en los dispositivos que admiten Google Cardboard, ambos de ellos toman la imagen estéreo y presentes en una forma 2D que puede ver si usted no tiene la experiencia en 3D VR disponible ahora también, mientras que termina el render, vamos a continuar y saltar a de YouTube en su sección de soporte y al igual que con vídeos de YouTube, tenemos que inyectar el MP4 final con algunos metadatos que dice Facebook que este archivo es un esférica 360 de vídeo. Y para que sólo vamos a utilizar la misma herramienta de metadatos que se proporciona por YouTube. Así que si usted no lo ha descargado ya, lo puede conseguir en esta página, que está vinculada en el tutorial Y vas a querer descargar la aplicación de metadatos de vídeo para 360, ya sea Mac o Windows. Así que sólo voy a continuar y haga clic en ese enlace de descarga, descomprimirlo y abrir la aplicación. Vamos a regresar y comprobamos en nuestra codificación de los medios de comunicación, y también puede ver que está completo, por lo que vamos a continuar e inyectamos los metadatos ahora, ya tengo la aplicación abierta, por lo que sólo tendremos que continuar, haga clic en el botón de apertura y elegirá el vídeo de Facebook que acabamos de crear. Y vamos a continuar y abrir. Y de nuevo tenemos que comprobar que se trata de un MP4 esférico y también que representa 3D arriba y abajo, y vamos a continuar y damos en Guardar como. Vamos a continuar y guardar esto con el _injected. De hecho, dejo que el sufijo de inyectado allí, porque hace que sea muy claro para mí qué versión del archivo está listo para su publicación en Facebook o YouTube. Así que voy a continuar y pulsa en Guardar, y que va a guardar una nueva versión del MP4. Y ahora podemos continuar y volver a al navegador. Y voy a cambiar a la página de Facebook - Cineversity. Para cargar este vídeo, simplemente vaya a su página Facebook, ya sea su página personal o una de empresa o marca, y en el cuadro de estado aquí que nos conectaremos con Foto / Vídeo y elija para cargar una foto o un vídeo. Y aquí vamos a continuar y elegir el archivo que hemos preparado, que es este de aquí que ha sido inyectado con los metadatos. Y voy a continuar y haga clic en Abrir, y comenzará a cargar. Y aunque es subir, podemos continuar y decir algo sobre el vídeo. Voy a decir: "Compruebe video 360 de Aquahall de Beeple". Más información sobre cómo crear este y otros 360 grados VR vídeos en Cineversity.com , y lo añadiremos! Algunos enlaces y otras cosas más tarde. También voy a continuar con un título de vídeo, "Aquahall por Beeple," y voy a añadir una miniatura personalizada. Y tengo una norma render aquí de la misma escena que está listo para ir a la miniatura. Ahora una cosa clave a destacar es que en la pestaña opciones avanzadas, no es una opción aquí para decir que este vídeo fue grabado en formato de 360 grados. En mi experiencia, si está cargando un archivo de música VR, quiere ir más delante y dejar la casilla sin marcar, y permitir que Facebook analice los metadatos por sí mismo. Esto es algo que podría cambiar. Los vídeos VR todavía son muy nuevos, y los sitios todavía están aprendiendo a mejor la forma de procesarla. Pero me parece que marcar esta casilla, se neutralizará el metadatos que ya ha establecido en el de archivos, y en este caso Facebook no verá el vídeo como un archivo de música, sino que en vez ver estrictamente como un archivo de 360 grados, por lo que verá los dos ojos. Y ahora que esto es todo lo subido, me voy a ir adelante y optar por guardar esto como un proyecto porque voy a querer continuar y mirarlo antes de compartir a todo el mundo. Si usted está enviando esto en su página personal, es posible que desee continuar y simplemente compartirlo sólo para un inicio hasta que se tenga la oportunidad de echar un vistazo a él. Así que voy a elegir guardar el proyecto. Facebook me va a dejar saber que todavía está haciendo algún tipo de procesamiento en el video y voy para obtener una notificación cuando esté hecho. Así que voy a continuar cerrar esa y habrá que esperar para recibir la notificación. En mi experiencia, se tarda unos cinco minutos de Facebook para terminar de procesar el vídeo. Pero tan pronto como lo hace, como prometen, verá una notificación. Y si volver a cargar esta página, podemos ver que ahora tenemos un proyecto listo para funcionar. Así que vamos a continuar y consideramos el proyecto. Y aquí tienen nuestro video 360. Así que voy a continuar y abrir el post. Tenemos una bonita vista previa de lo que esto va a parecer. Y si hago click al botón de reproducción, vemos que abre en una nueva ventana, y aquí se puede ver que tenemos un vídeo de 360 grados que puede navegar alrededor al igual que podamos en YouTube. Y yo no tengo un Samsung Gear VR, pero si lo hace, tal vez usted puede ver esto en realidad virtual estéreo. espero que disfrute esta creación de 360 grados y vídeos de realidad virtual utilizando Cinema 4D. Y si lo hace, por favor asegúrese para compartir sus creaciones con nosotros en Cineversity.
Resume Auto-Scroll?