Open jclement46 opened 4 years ago
The rationale of the current behavior is that names could be arbitrary, and might include (wrong) 3d suffices unintentionally. Therefore, metadata encoding within file itself has higher priority. Content creators are expected to put proper information into file or do not put it at all. Of course, in case when file has been encoded with incorrect information, inability to workaround it via file suffix is pitiful, but questionable.
but I do not know if they set them to indicate the order
All video codecs/containers providing stereoscopic layout information, also support inversion flag. So that applications encoding this information should expose this option.
YouTube does not suggest a tag for the ordering of the L/R views
I believe that without proper tags, YouTube will display content incorrectly. They have removed ability to display stereopair in anaglyph format directly in web-player, but at least VR180 still should be supported by YuoTube applications for HMDs.
I understand your point of view, however I have a video that has a problem, actually 2 possible problems. I have put the relevant video into a box at: https://1drv.ms/u/s!AgEkZSUlkAcx3H4y-R4pWn52fpn8?e=rkyhvD
The only one that displays properly is the one with suffix -lrq. The others do not display properly. I created the "Concerto In 3D-RLQ" using Magix Movie edit pro with R/L output anamorphic. The other one was created with L/R. The Concerto is one which I downloaded. Since I created the HannahLee ones from the same L/R source using the same program I would have expected that the tags would be correct for display. I am wondering if sView might be assuming L/R for 3D tagged videos.
I cannot verify what the tags are because my metadata reader does not seem to show them. It was downloaded from: https://mediaarea.net/en/MediaInfo
Perhaps you have a suggestion for a better metadata reader.
John
The current workflow in sView:
Input.mkv
↓
Suffix within File Name ↝ [.pns, .jps, -half-ou, -halfou, -hou, -abq, -ab, -ba, -halfsbs, -half-sbs, -hsbs, -lrq, -rlq, -sbs, -lr, -rl, -2d
]
↓↓
String Metadata within Container (for entire file or specific stream) ↝ STEREO_MODE or StereoscopicLayout key with values [mono, right_left, left_right, bottom_top, top_bottom, row_interleaved_rl, row_interleaved_lr, col_interleaved_rl, col_interleaved_lr, block_lr, block_rl, anaglyph_cyan_red, anaglyph_green_magenta, SideBySideRF, SideBySideLF, OverUnderLT, OverUnderRT
]
↓↓↓
Container Tags for Video Stream ↝ MKV has one
↓↓↓↓
Video codec per-frame or stream tags ↝ MP4 has SEI messages
This is top-down structure with lower level overriding value retrieved from higher level. It should be noted that video codecs *allow changes of stereoscopic format within the stream, which kind of a feature for live streaming (e.g. if TV broadcasts mixed 2D and 3D content).
Would you be willing to check the MP4 SEI messages to see if the incorrect display videos really do specify LR when they are formatted RL? If so, I will go back to the software vendor, or the person who created the video and request correct tags. It is quite likely that the 3D order was tagged incorrectly, and I cannot check this. Apparently both Cyberlink and Magix add the necessary messages to mark it 3D, but I can only verify it with how your program works. Perhaps an enhancement to add the tag/message info into the file information would be very helpful.
I do have a tag generator for JPG/JPS, but I do not have one for MP4 videos. If you could provide instructions on how to add the necessary MP4 metadata, that would be very useful.
I have a downloaded MP4 video that has the 3D tag set. It is in side by side RL format. I have set the option to assume 3D videos as LR so it displays incorrectly. I can get it to display correctly by clicking on the reverse R/L button. I tried putting the suffix -RLQ on the video, but that did nothing.
Since the suffix is easily changed by the user, but the 3D tag in a video is not easily changed, the suffix should always take priority over other indications. Youtube 3D videos are supposed to be tagged, but YouTube does not suggest a tag for the ordering of the L/R views, so they could be either way. Magix and Cyberlink video editors also set tags for 3D, but I do not know if they set them to indicate the order. They certainly do not set tags for anamorphic.