Video Stabilizing Problems

cau-b wrote on 9/15/2018, 9:56 AM

Hello guys I do not write English very well ... I hope I can express myself clearly.

I'm going through a Vegas problem that's driving me crazy. I've been editing amateur videos with Vegas for many years, but I've always had bad results with stabilization. This time I needed to edit some videos that definitely can not be without stabilization, so I started searching for satisfactory results. I was editing with Vegas 13 and when I went through stabilization nothing happened to the video. After the end of the analysis of the video the result was as if I had done nothing. After breaking my head several times I decided to upgrade and start working with Vegas 16. Again the problem persists, but in a different way. The new stabilization just crop my video, but it does not stabilize. All the trembling remains in the video, but even worse, because with the croped video the feeling of shaking is even greater. I also tried adding plugins to resolve this issue. I bought ProDAD Mercalli V4. The result at first was good, but the video did not remain stabilized. Any small change I make in the project, the video starts shaking again. I need a lot of help, because I'm starting to give up editing video because of all this.

Thanks!

Comments

j-v wrote on 9/15/2018, 10:25 AM

I believe that a beginning for a solution is that you provide us with a small shaky part of such a video, so we can try and possibly give you a kind of solution with the settings for one of your stabilizers.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

cau-b wrote on 9/15/2018, 12:34 PM

I believe that a beginning for a solution is that you provide us with a small shaky part of such a video, so we can try and possibly give you a kind of solution with the settings for one of your stabilizers.

Thanks for helping, j-v.

-> Video Stabilizing

-> Normal Video

j-v wrote on 9/15/2018, 2:41 PM

Although my question about an orginal file was meant to place a link to a location for downloading that original file, you gave the file uploaded to this website.
The file is now converted by this website, but I used the download of that converted file to try stabilisation with Vegas.
Used Fx's are Mercalli 4, the old Vegas Stabilize from older versions and the Vegas Stabilization of Vegas 16 with default settings and rendered them again (bad for the quality, but that does not give a problem with the kind of stabilisation) to the following file. I also had better results with some extra settings, but publish here only the default settings of the different FX.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

cau-b wrote on 9/15/2018, 5:58 PM

I'm sorry, j-v. I had not understood that you wanted the original file. I thought I just wanted to see a little shake part and the result with some of my plugins. Did you get to see the video I already sent with the stabilizer applied? In this video only the new Vegas stabilizer is applied in the default setting as you did, but the result for me comes out completely different. I said in the previous message that the application only cut my video, without stabilizing, but sometimes when I apply the stabilizer it also brings me this result of the video I sent. Only blurry images on some of the sides are added, but no stabilization. Your results for me are already great. If I could get any of them I would be completely happy already. 😞

Kinvermark wrote on 9/15/2018, 6:23 PM

As an aside, does your camera have any stabilization? What focal length are these shots at (in full frame equivalent)?

cau-b wrote on 9/15/2018, 6:43 PM

As an aside, does your camera have any stabilization? What focal length are these shots at (in full frame equivalent)?

Thanks for trying to help, Kinvermark.

There is no stabilization in the camera. In the passage in question the recording was made with a Canon T3i with an original 50mm lens. At the beginning of the video I sent it is possible to see a snippet of another camera. This camera is a Nikon D600 also with an original 50mm lens. Both cameras are not full frame and the result of the stabilization is the same, disastrous and disappointing. I've been trying to solve this issue for months now, and I'm not getting anywhere.

I just installed Vegas 16 on my notebook. Without a video card it is difficult to work, but I will try to stabilize in another machine to see what happens.

JackW wrote on 9/15/2018, 6:48 PM

I don't intend this as an insult, but a tripod would appear to be an excellent addition to your kit. Your shot appears to be tightly zoomed in, way too close for hand-held shooting.

Kinvermark wrote on 9/15/2018, 6:57 PM

Few points:

1) Software stabilization can only do so much. Basically, it either crops or warps to get "acceptable" results. If the original footage is too shaky you won't get great results. If future, consider monopod, tripod (best), or camera with good IBIS.

2) You apply Mercalli as an EVENT fx, but as soon as you change the event it will lose the settings and require re-analysis. For this reason I always recommend render & replace workflow with MagicYUV intermediate.

3) If you want to, upload the unstabilized original file (or portion thereof) to see how well other forum members can stabilize it. Then at least you will know what is possible. (I suggest DROPBOX for this.)

cau-b wrote on 9/15/2018, 7:19 PM

I don't intend this as an insult, but a tripod would appear to be an excellent addition to your kit. Your shot appears to be tightly zoomed in, way too close for hand-held shooting.

Hello, Jack W.

Thanks for the suggestion. Understand that I'm not a videomaker or a professional photographer. I am the director of a music school and I only make simple videos of my students' presentations, with no professional intention. Anyway this is a short excerpt from the issue. The complete recording has 4 cameras: two in hands (canon t3i and nikon d600) and two in tripods (canon t5i and a nikon full frame D7000). Understand that the cameras that are in hand are being manipulated by the students themselves who take turns with each other during the presentations. I greatly encourage my students to participate in all the processes of artistic production, so it is they who manipulate the cameras themselves.
But I also believe this is not the issue. The result of my stabilization, even when doing the correct process, comes out different than expected for some reason. The result that mr. j-v posted here in the forum is completely different from my result, even using the plugin in the same way.

cau-b wrote on 9/15/2018, 8:04 PM

 

Thank you again for your help, Kinvermark.

Few points:

1) Software stabilization can only do so much. Basically, it either crops or warps to get "acceptable" results. If the original footage is too shaky you won't get great results. If future, consider monopod, tripod (best), or camera with good IBIS.

I understand that stabilization warps and crops the video. I would not worry about it if he minimally stabilized my video, despite the loss of the overall picture and quality. Notice in the video I posted that the result of my stabilization is completely unacceptable compared to the result that mr. j-v easily managed with different plugins. Definitely my plugins are not stabilizing my video the way it should.

2) You apply Mercalli as an EVENT fx, but as soon as you change the event it will lose the settings and require re-analysis. For this reason I always recommend render & replace workflow with MagicYUV intermediate.

I understood that the fact that I apply the Mercalli as an event brings me this nuisance of losing stabilization with each new event change. The problem that is happening to me is not exactly that either. I have lost the stabilization even without changing the events of the stabilized track. In short, if I stabilize for Mercalli (a process that lasts more than 30 minutes on my machine) and I need to turn off the project to go back to work on another day, the stabilization is lost. If I stabilize and change events from another track the stabilization is lost. Worst of all, this is not it. When project stabilization is lost I can only stabilize again if I start a new project. When I try to reanalyze the track to stabilize the result the program gives me is the one I describe in all my posts ... it only crops or distorts the video, but without stabilizing absolutely nothing. Exactly the way the result is showing in the video I posted here in the forum.

3) If you want to, upload the unstabilized original file (or portion thereof) to see how well other forum members can stabilize it. Then at least you will know what is possible. (I suggest DROPBOX for this.)

I already have all my files uploaded in OneDrive. I'll leave the link for one of the videos here. If it is bad to download it through OneDrive let me know that I try to upload it through Dropbox, okay?

https://1drv.ms/v/s!AuWeIlSqVsxRk-NwypPgqmicYrSNrw

 

cau-b wrote on 9/15/2018, 8:13 PM

For this reason I always recommend render & replace workflow with MagicYUV intermediate.

I do not know what MagicYUV is. Could you explain me more about this procedure?

Kinvermark wrote on 9/15/2018, 8:21 PM

OK, downloading now. Two questions: do you try to stabilize the whole thing, or smaller /shorter edited clips? What are your project settings?

cau-b wrote on 9/15/2018, 10:02 PM

 

I'm sorry. I just realized that I got confused with the cameras and I posted the video of the camera that was on the tripod. I'll post the link again with the correct camera.

https://1drv.ms/v/s!AuWeIlSqVsxRk-NvkeWimny4XPfIzg

cau-b wrote on 9/15/2018, 10:11 PM

OK, downloading now. Two questions: do you try to stabilize the whole thing, or smaller /shorter edited clips? What are your project settings?

 

I try to stabilize the entire video track. My tracks are not cut ... I make the transition from one track to another with the automation of the composite level.

My project settings:

cau-b wrote on 9/15/2018, 10:17 PM

I'm suspecting the conflict is happening because there are videos with different frame rates on the timeline. I will convert all videos to the same frame rate with VLC converter to see what happens. Does MagicYUV you mentioned also convert the videos?

j-v wrote on 9/16/2018, 6:24 AM

I downloaded your file and tried to stabilize the biggest part that you may want to use (in parts I believe) and used Vegas Stabilization of Pro 16 and Mercalli 4.
The next settings I have used

 

To get a good result is very difficult with such a long file (4 min 20 sec) because there are many big camera switches, but in parts to use those files on on track with multicam editing it must be reasonable to use.

You find the both results (with text) on my dropbox for 2 days from where you can download them:

https://www.dropbox.com/s/lanutta7ebsfq8h/Vegas%20Stab.mp4?dl=0

https://www.dropbox.com/s/y4hg9nfqvc7twtf/Mercalli.mp4?dl=0

 

Last changed by j-v on 9/16/2018, 6:29 AM, changed a total of 2 times.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

j-v wrote on 9/16/2018, 9:15 AM

And if you want to use my Veg from my best stabilized result with Mercalli 4 from that whole clip ( devided into events for partial stabilisation) you can download that Veg here:

https://www.dropbox.com/s/indub8zdeqt43sb/stabilized.veg?dl=0

when the project aske for the place of that "missing file", point to the location where you have stored it.

Last changed by j-v on 9/16/2018, 9:18 AM, changed a total of 1 times.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

Kinvermark wrote on 9/16/2018, 10:04 AM

@cau-b

Sorry, for the delay - last night's post disappeared.

1) Mercalli doesn't like mixed frame rates as you have discovered. The project frame rate and the media frame rate should match.

2) If you convert frame rates will you get audio drift?

3) MagicYUV is a lossless video codec (doesn't do anything else). My suggestion, so that you don't have to convert clip frames rates, and so that the Mercalli fx doesn't disappear, is to render a stabilized copy of each clip and then use those clips for editing in the final project (you can do a "replace media" so you don't lose you work. ) Render to something high quality to minimize quality loss (Magix YUV avi file, cineform, XAVC-intra...)

4) Overall, my stabilization results are similar to j-v. Dividing into smaller events will allow the stabilizers to work better and avoid over zooming.

5) For the future: The clips' white balance is way off (too warm). You can fix this with colour correction. Better to get it right in-camera. The levels are a little too contrasty (I think you camera shoots 0-255 instead of the correct 16-235). Camera frame rates should be matched. Some sort of improvement to the handheld stability and framing is necessary - tell the students to hold as still as possible....

BUT the singing is beautiful, and that's what counts!

 

 

cau-b wrote on 9/17/2018, 12:48 PM

Oh, my friends, I do not even know how to reward you for the help you gave me.

I downloaded your file and tried to stabilize the biggest part that you may want to use (in parts I believe) and used Vegas Stabilization of Pro 16 and Mercalli 4.
The next settings I have used

 

To get a good result is very difficult with such a long file (4 min 20 sec) because there are many big camera switches, but in parts to use those files on on track with multicam editing it must be reasonable to use.

You find the both results (with text) on my dropbox for 2 days from where you can download them:

https://www.dropbox.com/s/lanutta7ebsfq8h/Vegas%20Stab.mp4?dl=0

https://www.dropbox.com/s/y4hg9nfqvc7twtf/Mercalli.mp4?dl=0

 

Thank you very much for sending the files, j-v. It helped me a lot to be able to compare with my parameters to be absolutely sure if I was doing something wrong.

And if you want to use my Veg from my best stabilized result with Mercalli 4 from that whole clip ( devided into events for partial stabilisation) you can download that Veg here:

https://www.dropbox.com/s/indub8zdeqt43sb/stabilized.veg?dl=0

when the project aske for the place of that "missing file", point to the location where you have stored it.

I had not thought that to have better results I could split my events and do separate analyzes of each stretch. That makes a lot of sense. Thank you so so much!!! 😄

@cau-b

Sorry, for the delay - last night's post disappeared.

1) Mercalli doesn't like mixed frame rates as you have discovered. The project frame rate and the media frame rate should match.

2) If you convert frame rates will you get audio drift?

3) MagicYUV is a lossless video codec (doesn't do anything else). My suggestion, so that you don't have to convert clip frames rates, and so that the Mercalli fx doesn't disappear, is to render a stabilized copy of each clip and then use those clips for editing in the final project (you can do a "replace media" so you don't lose you work. ) Render to something high quality to minimize quality loss (Magix YUV avi file, cineform, XAVC-intra...)

4) Overall, my stabilization results are similar to j-v. Dividing into smaller events will allow the stabilizers to work better and avoid over zooming.

5) For the future: The clips' white balance is way off (too warm). You can fix this with colour correction. Better to get it right in-camera. The levels are a little too contrasty (I think you camera shoots 0-255 instead of the correct 16-235). Camera frame rates should be matched. Some sort of improvement to the handheld stability and framing is necessary - tell the students to hold as still as possible....

BUT the singing is beautiful, and that's what counts!

 

1) This also makes a lot of sense. Thanks for confirming!


2) I do not know what you mean by "audio drift". Anyway in the final result I will not use the original audio of the cameras, because the audio was captured in a separate system.


3) I downloaded the MagicYUV codec at https://www.magicyuv.com/, but it does not appear on the Vegas rendering list. This idea of ​​rendering the stabilized clips and only then editing them was what really saved me. I had already thought about it, but I did not want to lose quality in the final result because I needed to render the files twice. Anyway, I went into a second impasse at this point:
My rendering with Magix YUV avi file generates a file 14 times larger than the original. Is this right?
The file gets so heavy that I think it will be impossible to edit it later with a slight preview. XAVC-intra brings me a file a bit lighter (7 times bigger than the original), but I still believe it will bring me the same problem. Already the cineform codec I could not find in the Vegas list. I ended up opting to use the MAGIX AVC / AAC MP4 codec with the Internet HD template, because the Blu-ray template does not allow me to export the file with audio. This rendering brought me a slight loss, but noticeable to the most critical looks.
I had previously tried some lightweight and low loss conversion options and got a great result with VLC. The files came out with MP4 extension, 6 times smaller and with imperceptible losses, however Vegas unfortunately does not read the files generated by the conversion. Do you know if there is any possibility of programming it to read?


4) Testing Stabilization on Separate Projects I actually got results similar to yours. Thanks also for the tip on working with small events!


5) Yeah, the white balance really was not worked on the camera configuration. Today I already learned a little bit more about it and I would not make the same mistake. I know it is not a good one, but in this edition I will dare a little and I will try to make the result even hotter, seeking a more ethereal effect. I do not know yet what it means to shoot at 0-255 or 16-235 like you said, but I'll search to find out what it means and improve it next time. The matching of the frame rates really was an unforgivable mistake ... I only noticed this in the middle of the event, so only half of the recordings are matched with frame rates.
Nowadays we already have simple stabilizers available here in the school (shoulder rig), so we will have a little more ease in stabilization.
Thank you very much for the compliment regarding the song, for us this return is really very important! I know the pronunciation of the girls' English is not very good yet, but we are working to improve it more and more.

cau-b wrote on 9/18/2018, 3:03 AM

 

That's what I was able to do with your help.

I'm sure next time I will greatly improve the quality of the videos with the tips you gave me. Thank you!