360 degree video support & reorientation

wpw007 wrote on 6/4/2016, 5:34 AM
Does anyone know how to offset an equirectangular video to change the focal point for 360 degree video? There's an offset effect in Premier Pro but I can't find an equivalent in Vegas. I.e. when you move the image horizontally the columns of pixels that move out of the viewing area are added back to the opposite side.

Comments

cold ones wrote on 12/29/2016, 12:19 PM

Nudging this---can anyone help me avoid using Premiere to offset a 360° movie? I'd like to move the "center" of a movie like this:

RedRob-CandlelightProdctns wrote on 12/29/2016, 1:29 PM

AFAIK, there is no "shift" equivalent effect in Vegas. That said, you could accomplish this fairly quickly by:

  1. Duplicate the track with the video clip(s) on it
  2. Use Track Motion on one track (lock the vertical) to shift the track horizontally so your desired center-point is center
  3. Use Track Motion on the other track to shift it the opposite direction and "fill in the black/blank area".

If you want to be able to manipulate those two tracks as a single entity in addition, you can nest those two tracks under a parent track and move/treat them as one.

Note: You could accomplish the same thing as above using EVENT Pan/Crop and two tracks

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

cold ones wrote on 12/29/2016, 1:58 PM

Thanks RedRob, that works nicely!

My second issue is a bit more granular---I'm using ActionDirector to stitch together a Samsung Gear 360's movie. The Gear's HEVC movie is saved out as an MP4, which plays nicely in Premiere and VLC. But the audio in the stitched MP4 won't play in Vegas (when the movie is imported, the audio track doesn't even show up, only the video). Here's the MediaInfo on the original and the stitched:

https://dl.dropboxusercontent.com/u/64768954/360test.JPG

ActionDirector gives no settings. Fortunately I can get the audio from the original HEVC movie, but I'm wondering what makes the audio fail in Vegas??

RedRob-CandlelightProdctns wrote on 12/29/2016, 3:58 PM

Alas, I don't know.

I'm curious though.. you have two files in that MediaInfo snapshot, and both have different video formats.

TEST360.MP4 -- Video: HEVC
TEST360_Stitch_YHC.MP4 -- Video: AVC

Maybe one is the original file off the camera, and the "stitch" version is exported from t heir tool?

Does either open in Vegas OK, with Audio?

Not that it's ideal, but if you're in a pinch you can try running them through FFMPEG to produce another format that Vegas might handle nicer.

 

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

cold ones wrote on 12/29/2016, 4:08 PM

The HEVC file (original off the Gear 360 camera) opens in Vegas 14 with audio. The stitched file (exported from ActionDirector, Samsung's editing tool) opens in Vegas 14 but without audio. So the video is OK in the stitched file, but the audio won't play.

The only difference that I can see is:

ORIGINAL: English, 48.0 kHz, 2 channels, AAC (LC)

STITCHED: English, 128 kb/s, 48.0 kHz, 2 channels, AAC (LC)

Guess the devil is in the details. Until I can find a better solution I'm forced to use the audio from the original HEVC movie.

RedRob-CandlelightProdctns wrote on 12/29/2016, 10:00 PM

Yup.. That's what I'd do.. use the audio from the original and the video from the 2nd... OR use FFMPEG to fix it. Seriously worth a try...

You can use the option to "COPY" the video channel from the 2nd file (not re-encode = NO quality loss) and replace the target audio channel with either the one copied from the original, or just have it reencode the audio in the target. Either way, with "COPY" it'll be super fast and likely would fix the problem.

ffmpeg -i TEST360_Stitch_YHC.MP4 -i TEST360.MP4 -map 0:v -map 1:a -vcodec copy -acodec aac -strict experimental -b:a 128k -threads 0 TEST_StitchedNewAudio.mp4

The above command would copy the video from the Stitched file (no transcoding, a copy), and reencode the audio from the source file TEST360, mashing them together to create the output file TEST_StitchedNewAudio.mp4

 

Last changed by RedRob-CandlelightProdctns on 12/29/2016, 10:30 PM, changed a total of 1 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

cold ones wrote on 12/30/2016, 10:21 AM

Thanks, that worked! And very fast, as you noted.

RedRob-CandlelightProdctns wrote on 12/30/2016, 12:28 PM

Thanks, that worked! And very fast, as you noted.

You're very welcome! I've come to depend on FFMPEG to help with a bunch of situations... welcome aboard the FFMPEG train! 😏 Hey... I'm not sure if there's any real reason to do so as I'm pretty new to this forum, but if I was helpful, could you click the "thanks" button on one of my posts which solved the problem? I think doing so might mark that as the "solution" to your question, and make it quicker for others to find if they have similar situations.

Now.. for anyone from the VEGAS Enhancements team who might be listening.... I think that's be a neat new FILTER... "Image Shift", that shifts an image and rolls the pixels which went off the edge of the frame to the opposite side of the frame.

Last changed by RedRob-CandlelightProdctns on 12/30/2016, 12:31 PM, changed a total of 1 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio