Zend certified PHP/Magento developer

how can I encode ou metadata for 3D videos to upload to YouTube using ffmpeg

I’ve been using

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

But not been having any luck with everything I’ve found so far.
Thanks !