The Panther Dynamics Blog

Ultimate Glory

I give glory to, acknowledge and remember God for this website. He enabled me to do all this and this website belongs to Him. Thank You!

Uploading 3DSBS content to YouTube

Posted by Marius Oberholster on Friday, September 22, 2017 Under: Tutorials
Hey all!

Without ado, here is the video! (Below for more details on why this way)

GOD is so great!

For more on Exodus 7-12, KJV:
BibleAnimations blog
Production Vlog playlist

3D content comes in various forms and like audio, for stereo, comes in 2 streams or more. YouTube supports
- 3D Side By Side
- 3D Top and Bottom
- 360'
- VR (2 streams of 360 - for Google Glass or other headmounted VR gear)

The old way of making YouTube videos 3D:

For most of the above, there is a very neat little tool you can download from GitHub that YouTube recommends (Mac and Windows - download the appropriate zip on the page if you have a 64-bit version or follow the python instructions for 32-bit) to inject the special metadata needed for YouTube to recognize the 3D type of the content you are uploading:

This fantastic little tool is so user friendly you'll totally understand it within the moment you open it, hahaha. Because I am on Windows, I downloaded that and ta-da:


Now, if your video does contain spatial audio in one of those formats, remember to tick that box as well. For VR videos, you are going to have to tick both video boxes:
 - My video is spherical (360)
 - My video is stereoscopic 3D (top/bottom layout)

If you have done spacial audio, again, remember to tick that box too.

The big issue here is that Side-by-side 50% isn't listed here, so YouTube's help pages leaves us one of the following options:

 - Don't do YouTube 3D at all
 - Render out your videos as Top-and-Bottom instead
 - Inject metadata using FFMPEG (a commandline video processor) or a video editor that has the capability of adding the special metadata upon export.

Number 1 isn't gonna fly, because I have an assignment to produce Exodus in 60fps 3D 4K. Bypassing YouTube's 3D settings by using Anaglyph (Red/Cyan) has too many video colorspace ghosting problems, so that in of itself isn't gonna work.

Number 2 isn't gonna work because a lot of the footage is already rendered at SBS and I don't have the depthmaps for a large majority of it (without going and rendering them), so reconversion ain't gonna happen.

Number 3 has a few catches in that the video editors recommended either are totally out of budget or don't produce the result I am looking for. That leaves us with:

FFMPEG - it's free and can skip the processing stage in adding the metadata

Now, YouTube give us the following code for FFMPEG:

For H.264 encoded video in .mov or .mp4 container:

ffmpeg -i input_file.mkv -vcodec libx264 -x264opts \    "frame-packing=3:frame-packing-interpret=1:frame-packing-quincunx=0:frame-packing-grid=0,0,0,0" output_file.mp4

And for Matroska and WebM video

ffmpeg -i input_file.mkv -c copy -metadata:s:v:0 stereo_mode=1 output_file.mkv

Now do remember that these are about the containers, not the codecs within the containers. You can almost think of the container as a coffee can with your video and audio and metadata inside. You can chuck a VHS, DVD, Blu-ray, etc in there with a CD, tape, A-Track tape, music box wheel and with all that, a set of instructions to how whoever wants to use them, should understand their array to get the right result.
That set of instructions and how it's handled is particular to the coffee can, not the info inside it. So the info has to be right for the coffee can you use.

That brings us to our coffee can processor FFCuppacino! hahaha.

I want to share with you a few things first:

The given code on the website ( is wrong for the first one. It will spit out "Invalid Argument" every single time, because it is an invalid argument. For H.264 in an MPEG-4 container, it's supposed to be:

ffmpeg -i input_file.mp4 -vcodec libx264 -x264opts frame-packing=3 output_file.mp4

And not:
ffmpeg -i input_file.mkv -vcodec libx264 -x264opts \    "frame-packing=3:frame-packing-interpret=1:frame-packing-quincunx=0:frame-packing-grid=0,0,0,0" output_file.mp4

I've don't know if just removing the quotes and the slash is all that is needed, but I have read on YouTube's developer blog that Frame packing 3 is all that YouTube is looking for for regular SBS 3D video (and it works). GOD gave me that solution as I was prepping for this video!

Do not fear, both of these will copy your audio verbatim. This video's scope is for normal SBS3D and there you don't have spatial audio, so it's irrelevant.

And with that, let's do a practical example!

First, you need to download FFMPEG and unzip it to a folder. I recommend you use the Static linking (it just means that each FFMPEG tool is it's own EXE in the Lib folder where you unzip it). Whether you use 64-bit or 32-bit doesn't matter for metadata. I'll be using the 32-bit version already unzipped, just because I already have an input video in that folder (I have a few versions on my PC in suspicion that the version was the problem for MP4, hahaha).

The best is to copy your video to the same folder as your FFMPEG.exe file, which is the one we're in now (and make sure it's named the same as the input video section of the FFMPEG code).

Now, press Ctrl+Shift and right-click in an open space. You'll see it says Open Command Window here. This means that you can simply copy and paste the code (from the description), into the command window and hit enter.
Once that is done, like now, you'll see you have a copy of the video and it's named Output (or whatever you changed it to) and that is the file you upload like you would any other video. Custom thumbnails, description, video title, etc. The 3D part is handled by YouTube under the hood.

GOD is so great!

And that's it!

I hope you guys found this super helpful and that you don't feel like this anymore! haha.

Now get out there and load those coffee cans with the right instructions! hahaha.

Biggest thanx to GOD for helping me with this. Without HIM, none of this would be possible! :D

Know JESUS yet? GOD is reaching out to you through these videos. HE loves you more than you can imagine and wants you to know HIM. Not because HE's lonely, but because HE loves you and paid a heavy price to enable you to go to Heaven, where HE is. See, we all have sinned in some way shape or form. That makes us guilty before GOD. If you have ever said that you hated someone, in GOD's standard, you have committed murder (James 4). If you've ever looked on a person with lustful thinking, you've already committed fornication with them in your heart and you are then guilty of sexual impurity. If you were to face GOD on judgement day, saying: "I was a good person" will be a void argument, just like it would be before a human judge. GOD knew that we would have to pay that penalty and that we could not pay it, even if we tried, but sent JESUS to pay the price for us. Your sins were put on HIM and the forgiveness that is there for you was by no means cheap - the cross was not padded and comfortable, neither was the death.
But, HE was raised up on the third day (after being crucified) and finished the work so that we may enter through HIM paying the penalty we were supposed to pay, but it is only valid for you, if you accept it and live for HIM.
If that is you today, please, follow this prayer:
"JESUS, I believe that YOU are real and I believe YOU died for me and was raised on the third day for me. Please forgive me for my many sins. I make YOU the LORD of my life, full time and to fill me with YOUR HOLY SPIRIT. Teach me how to live for YOU, help me become what YOU have made me to be, in JESUS' Name! Amen!"

To find out more, you can check out this link:
It gives you access to free Bible translations, free teaching videos and more. Remember, this is a decision with eternal consequence, choose life, choose JESUS. :D

Have a great one!!!

Thank YOU!!!!!!

In : Tutorials 

Tags: god  jesus  holy spirit  blender  anime  progress  3d  exodus  kjv  moses  metadata  uploading  3d video  side by side  how to  tutorial 

"For I testify unto every man that heareth the words of the prophecy of this book, If any man shall add unto these things, God shall add unto him the plagues that are written in this book:
And if any man shall take away from the words of the book of this prophecy, God shall take away his part out of the book of life, and out of the holy city, and from the things which are written in this book.
He which testifieth these things saith, Surely I come quickly. Amen. Even so, come, Lord Jesus.
The grace of our Lord Jesus Christ be with you all. Amen." Revelation 22:18-21

"Add thou not unto his words, lest he reprove thee, and thou be found a liar." Proverbs 30:6

King James Version, Public Domain

About Me

Marius Oberholster Hey! I've been doing this full-time since July of 2011. It has been an incredible learning experience, not only learning how Blender works (still learning), but also about Open-Source and the incredible software available. ----------- This Blog will be a way to stay up to date on all things Panther Dynamics as well as some personal stuff as well.

LivingWaters movies:

The Living Waters ministry kindly allow people to post these, so you too may benefit from them! :D
GOD Bless you! Please share these!

Wanna see more, check out the portfolio:

Make a free website with Yola