| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > VirtualDub Filters and Filter Development > Why Donīt Deshaker Work With Mode 3? |
| Posted by: asaleo Nov 4 2011, 11:44 AM |
| I have .mp4 files with mpeg4, avc1 and h.264 compression which I deshake with Deshaker. My settings in the Quicktime.ini file were: Color space: 1 (32 bit RGB) Video decoder mode: 2 Decode sequence Audio decoder mode: 1 You reach the Quicktime.ini settings by clicking in the box in the lower left corner of the file opening window. I discovered that these saved settings had changed to standard settings like: Color space: -1 (Auto) Video decoder mode: -1 (Auto) Audio decoder mode: 1 Reading the Quicktime.txt files told me that for my format I should chose mode 3 ICMDecompress I chosed Color space 1 and tested different settings for "Video decoder mode" I could open my .mp4 file and save it to .avi with 4 different values for "Video decoder mode" -1, 0, 2, and 3. Value 4 did not work. (Mode 0 should not be used for avc1 and h.264 acc. to Tateau but it worked for me) After these tests I chosed Mode 3. When I started to use Deshaker again I got very bad results from the stabilization. No matter what settings I used, the result was bad. What has happend? Is this video different? I really got fed up with stabilization. As a last trial I chosed a different setting at opening of the file. I chosed Video decoder mode 2. What a relief to see that the stabilization got perfect with that mode! I then tested the other modes and the result is following: Video decoder mode: -1 (Auto) should not be chosen for videos which are going to be deshaked. Video decoder mode: 0 Movies task works but should not be chosen acc. to Tateau for my type of file. Video decoder mode: 2 (Decode sequence) works Video decoder mode: 3 (ICM Decompress) do not work I will now check the quicktime.ini settings everytime I open a file for deshaking. Can anyone explain why Deshaker is sensitive for above settings? |
| Posted by: evropej Nov 4 2011, 01:29 PM |
| I use ICM decomp and it works perfectly with the same media format. The one thing that does not work is seeking, you have to start the video at the begging of the clip otherwise deshaker loses track. I contacted the developer of deshaker in regards to this issue and he said its plugin related. When I use the experimental plugin in this directory for mov files, I dont see the same issue. Try the experimental mov plugin |
| Posted by: asaleo Nov 5 2011, 09:41 AM |
| Thanks for the rapid answer. Good to know that Deshaker would behave in another way if I had started deshaking from the beginning. Then most of my deshaked videos will be OK. In my last videos however I wanted to remove the first part and thus started deshaking from frame 600 or so. Since the result was no good I continued to test Deshaker settings on a small part of the video which appearently do not work with ICM Decomp. When I checked the logfiles for these runnings I could see that Deshaker had problems keeping track of frame numbers. Logfiles for Mode 0 and 2 were identical and gave good deshaking. Thanks for your information Regards |
| Posted by: asaleo Nov 6 2011, 05:56 PM |
| More on modes in quicktime by Tateau I have compared logfiles for Mode 2 and Mode 3 in quicktime.ini for deshaking starting from the beginning of the file with frame 0 Logfiles are not identical. I can see that frame numbers for Mode 3 is one frame ahead compared to mode 2. Same frame movement but different frame number. I have also seen different values in the beginning of the file. Stabilization seems similar however. When you choose File-File information you can see what mode your quicktime movie is opened with. When you chose -1 Auto for a mp4 file, quicktime.ini selects mode 3 for that file. I just want to share this information. I will continue to use Mode 2 for deshaking because I sometimes have long videos which will take to long to deshake in one running. Regards |