This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
project:stereoscopy [2018/10/17 08:41] – dp | project:stereoscopy [2018/10/17 10:00] – dp | ||
---|---|---|---|
Line 79: | Line 79: | ||
< | < | ||
ffmpeg -i LEFT.mp4 -i RIGHT.mp4 -filter_complex [0: | ffmpeg -i LEFT.mp4 -i RIGHT.mp4 -filter_complex [0: | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Convert views into a top-above-bottom format: | ||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | ffmpeg -i LEFT.mp4 -i RIGHT.mp4 -filter_complex framepack=tab OUTPUT_TAB.mp4 | ||
</ | </ | ||
</ | </ | ||
Line 91: | Line 98: | ||
===== Metadata for Youtube video uploads ===== | ===== Metadata for Youtube video uploads ===== | ||
- | Unfortunately none of the below recommended metadata work and Youtube is breaking things constantly. It might recognize stereoscopic/ | + | Unfortunately none of the below recommended metadata work and Youtube is breaking things constantly. It might recognize stereoscopic/ |
MPEG4 (with re-encoding): | MPEG4 (with re-encoding): | ||
Line 110: | Line 117: | ||
< | < | ||
ffmpeg -i input_file.mkv -c copy -metadata: | ffmpeg -i input_file.mkv -c copy -metadata: | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | There is Google' | ||
+ | https:// | ||
+ | This fork is less strict and allows more operations: https:// | ||
+ | |||
+ | Add left-right (SBS) metadata: | ||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | python spatialmedia -i --stereo=left-right INPUT.mp4 OUTPUT.mp4 | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Print spatial media metadata contained in the file: | ||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | python spatialmedia FILE | ||
</ | </ | ||
</ | </ |