lossless1024 / StreaMonitor

Adult live stream downloader for advanced people. I could have chosen a better name.
GNU General Public License v3.0
177 stars 44 forks source link

how to play StripChat VR #30

Open rzx55hgp opened 1 year ago

rzx55hgp commented 1 year ago

I played the saved file with SKYBOX VR PLAYER, but there is a difference in the display when streaming on the web. Is there any other way to play it?

DerBunteBall commented 1 year ago

You could try VLC Player (https://www.videolan.org).

Best Regards

rzx55hgp commented 1 year ago

I'm using Meta Quest 2. Even if you connect it to the desktop and play the video with VLC Player, it will only display a split 2D screen. I would like to know in detail how to display in 3D.

DerBunteBall commented 1 year ago

Do you only experience this when you play the StripChat VR Videos produced by Streamonitor or also with other videos?

I think it's possible that SBS 3D Metadata is missing. So the player/device interpretes this as a two stream 2D video without doing 3D magic.

Could you try this on a video and try to play the MKV:

ffmpeg -i in.mp4 -map 0 -c copy -metadata:s:v stereo_mode=left_right out.mkv

To get a MP$ from that MKV:

ffmpeg -i out.mkv -map 0 -c copy -strict -1 out.mp4

I have no 3D Device so I can't test stuff. It's possible that the WSS output gives back the two videos and some step is doen between the WSS output and the video output on JavaScript Level. The ffmpeg command just copies stuff into a mp4 file. Because of the fact that the WSS tempfile could also be one this can also be a NOOP.

So StreaMonitor does something like this:

ffmpeg -i tempfile -ignore_editlist 1 -codec copy output.mp4

That's nearly writing TMP-File to MP4 container file. Eventually it results in a file with two video streams without the needed metadata.

Also check this: https://superuser.com/questions/1337508/how-to-use-ffmpeg-to-add-3d-metadata-to-a-sbs-full-frame-video-without-reencodin

The above commands are mentioned and discussed there also. But metadata seems to be needed for the player to recognize that it is a 3D video and the used 3D technology.

Best Regards

rzx55hgp commented 1 year ago

Thank you for your detailed explanation. I think the VR video itself is probably output correctly, but I'm worried that there is no player that can bend the square Side by Side video up and down and play it back.

DerBunteBall commented 1 year ago

How shold a browser be able to do this when no player can do this with the same data?

The only reason would be that information is lost which is needed.

rzx55hgp commented 1 year ago

https://vrplayer.io/ On this site, if you play it with [Screen] > [SBS], it will be displayed well, so isn't it possible to specify the playback method from the browser side? It would be perfect if I could bend it on this site and move it back and forth...

DerBunteBall commented 1 year ago

Did you test the conversion I posted?

If this player can do this, another should also be able. Keep in mind that you specify explicitly how the player should act on the video file. Depending on the player it might orient on metadata. A 3D video is just a video with two video streams. The most other stuff is calculation and inform the device correctly (the §D glasses)

xAstroBoy commented 1 year ago

use fish view

rzx55hgp commented 1 year ago

The fish view looks similar, but it's a little different from what you see on the web.