1 (edited by anverd 05-07-2023 05:43:45)

Topic: Slight cropping of stereoscopic 360 videos in non standard resolutions

Hey, I'm trying to transcode some stereoscopic 360 videos from youtube, which caps the vertical resolution to 4320 pixels max, resulting in some non standard resolutions like 7680x4320. Even though cropping is disabled in SVP, the transcoded videos come out as 7680x4288. A video at 6000x4320 comes out as 5984x4288, etc. This is a big problem for 360 videos, because it messes up the stitch line. The problem only occurs with stereoscopic videos, monoscopic come out uncropped regardless of original resolution. Any ideas?

Edit: I'm on the latest version, transcoding using RIFE to NVENC

Re: Slight cropping of stereoscopic 360 videos in non standard resolutions

Look to your transcoding log.
What is the resolution of video at input to encoder?

Re: Slight cropping of stereoscopic 360 videos in non standard resolutions

07:32:51.974: (+) Video --vid=1 (*) (av1 7680x4320 29.970fps)
07:32:51.974: Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
07:32:52.133: vstrt: TensorRT version mismatch, built with 2135 but loaded with 2136; continue but fingers crossed...
07:32:52.617: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
07:32:52.790: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
07:32:52.991: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
07:32:53.159: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
07:32:59.243: VO: [lavc] 7680x4288 => 15360x4288 yuv420p

Also, if I remove the stereoscopic tag from the file, it transcodes without cropping, so I guess that solves the problem...

Re: Slight cropping of stereoscopic 360 videos in non standard resolutions

> remove the stereoscopic tag from the file
Are you talking about file name?

Looks like it is SVP. It reads stereo-tags from file names and does some crop to both views of stereo.
Then, you can adjust SVP settings: frc.frame.align and frc.frame.valign
SVP menu Application settings > Additional options > All settings...

You can experiment with the values and check how they works.

Re: Slight cropping of stereoscopic 360 videos in non standard resolutions

Yes, remove the stereoscopic tag from the file name. I'll try to see if the align settings change something.