dfaker / VR-reversal

VR-Reversal - Player for conversion of 3D video to 2D with optional saving of head tracking data and rendering out of 2D copies.
The Unlicense
288 stars 23 forks source link

Strech the width on SBS video but keep same height #20

Closed daitj closed 1 year ago

daitj commented 2 years ago

How can I strech the width of the video in SBS mode.

I tried to play around with MPV's video-scale-* (x/y) but this streches whole output not each sides?

I tried to change sarOutput but this changes the height, which is not useful.

What value do I need to pass to ffmpeg to acheive this?

dfaker commented 2 years ago

Do none of the modes with the P key work?

If you're using ffmpeg directly you can try passing through https://ffmpeg.org/ffmpeg-filters.html#stereo3d there's a few output modes there for half and full width outputs.

daitj commented 2 years ago

I am specifically talking about sbs-hw mode (using P key), I have a weird need where I need to stretch width for it to look good enough, but I cannot seem to find a way to do it.

It is okay if you do no want to spend your time with this or do not know about this enough. I will try to do some more research myself.

dfaker commented 2 years ago

Do we have a screenshot of a representative frame from the initial video before any processing?

I'll see how the modes under the P key could be extended to accommodate it.

daitj commented 7 months ago

Sorry to reopen this old thread, I came back with a video (180 degree SBS 3D VR)

This is screenshot of the video without VR-reversal: video

Currently it looks like this on "SBS half width mode" using VR-reversal, The horizontal view(width) each side is squeezed, when you look this through VR googles (cardboard vr).
vr-reversal

This is how I want it to look like, which is the default implementation in this project linux-vr-player

Video from the example