Anyone know how to run VIC on a Mac?

I have a lib lock and it won’t release the storage until it can run vic.

/opt/Autodesk/io/bin/vic -af

2 Likes

Use VIC to find and remove unreferenced frames

It’s possible that there may be unreferenced media on your storage using up space. Unreferenced media can be video or audio frames which exist on your media storage that are not referenced by any clip or project, yet they still exist on the media storage and are therefore still taking up space.

The following steps cover the process of identifying and removing unreferenced media:

  1. Run the following command from a shell to identify your stone&wire partition:
    /opt/Autodesk/sw/sw_df

You will get some output in your shell similar to the following:

Partition Free Total %use iFree iTotal %use
7 1834810 1926635 5 N/A N/A N/A

In this example we can see the active partition is Partition 7
2. We can now use VIC (Volume Integrity Check) to check partition 7 to see if there is any unreferenced media. Run the following command:
/opt/Autodesk/io/bin/vic -v stonefs7

You will see the VIC output in the shell, if you have any unreferenced media you will see something similar to the following near the bottom of the output:

     Verifying audio stonefs frames ...
        Verified 1 active audio frames                                                     
     VIC: Found 25000 active video frames having wire ref count too high                  
     VIC: Found 1 active audio frame having wire ref count too high                        
  Recovering lost frames ...                                                               
  Recovered 0 lost frames ...                                                              
     Processing unreferenced (leaked) media on volume stonefs7...:                         
     {                                                                                     
        Resolution "VIDEO_1920x1080_143": 25000 frame files.                               
        Resolution "AUDIO_1": 1 sound files.                                             
     }                               
  Integrity check successful in 0.388295 sec                                               

Unlocking volume stonefs7 …
Closing volume stonefs7…
Uninitialising thread manager.

  1. The text highlighted in red in the output above shows that there are 25,000 unreferenced video frames and 1 unreferenced audio frame. We can use VIC again with the -f option to remove this unreferenced media and free up the storage space it is using.
    WARNING: using VIC with the -f option is destructive, if you are unsure about deleting unreferenced media skip to step 5

If you are sure you can safely delete the unreferenced media run the following command:

/opt/Autodesk/io/bin/vic -v stonefs7 -f

You will see the VIC output in the shell, near the bottom of the output you will see something similar to the following:

     VIC: Found 25000 active video frames having wire ref count too high
     VIC: Found 1 active audio frame having wire ref count too high
  Recovering lost frames ...
  Recovered 0 lost frames ...
     Removing unreferenced (leaked) media on volume stonefs7...:    
     {
        Resolution "VIDEO_1920x1080_143": 25000 frame files.
        Resolution "AUDIO_1": 1 sound files.
     }
  Integrity check successful in 0.330049 sec

Unlocking volume stonefs7 …
Closing volume stonefs7…
Uninitialising thread manager.

  1. The text highlighted in red in the output above shows the unreferenced media being removed. Run VIC again to ensure there is no more unreferenced media in your partition:
    /opt/Autodesk/io/bin/vic -v stonefs7

You will see the VIC output in the shell, near the bottom of the output you should now see something similar to the following:

  Recovering lost frames ...
  Recovered 0 lost frames ...
           Processing unreferenced (leaked) media on volume stonefs7...:    
           {
           }
        Integrity check successful in 0.0289726 sec
     Unlocking volume stonefs7 ...
  Closing volume stonefs7...

Uninitialising thread manager.

You can see in the output above that there is no longer any unreferenced media in this partition.

  1. If your VIC output from step 2 shows that you have unreferenced media in your stone&wire partition, but you’re not sure if you can safely delete it, you can run VIC with the -p option to dump any unreferenced media into a new library in an already existing project, so that you can then go into that project and check if the media can be safely deleted.

Launch Flame and create a new project which can be used to dump the unreferenced media in to, in this example a project called ‘test’ was created. When the new project is created quit back out of Flame.
6. Run VIC with the following options to dump all of the unreferenced media into the ‘test’ project:
/opt/Autodesk/io/bin/vic -v stonefs7 -p test

You will see the VIC output in the shell, near the bottom of the output you should see something similar to the following:
Recovering lost frames …
Recovered 0 lost frames …
Processing unreferenced (leaked) media on volume stonefs7…:
{
Resolution “VIDEO_1920x1080_143”: 25002 frame files.
Creating new library “Recovered_Media_flame2018_2_users”
Adding 25002 frames to library …
Resolution “AUDIO_1”: 3 sound files.
Appending to library “Recovered_Media_flame2018_2_users”
Adding 3 audio segments to library …
}
Integrity check successful in 1.7352 sec
Unlocking volume stonefs7 …
Uninitialising thread manager.

The red text in the output above shows that the unreferenced video and audio has been moved to a library called ‘Recovered_Media_flame2018_2_users’ within the test project.
7. Launch Flame and go into the test project, then browse through the Recovered Media library to determine if any of the media needs to be saved, or can be safely deleted. Important: all of the video frames will appear in one large clip, so you will need to scroll through the whole clip to be sure there is nothing important which might be in the middle or at the end of the clip.
8. If you’re happy that the recovered media can be deleted, you can delete the entire ‘test’ project using the method outlined at the start of this article.

Source: How to free up space on Flame media storage | Flame Products | Autodesk Knowledge Network

5 Likes

Thank you!!

Thakt alot!!! This save my day!
Had to Recover my System. Thanks to Neat Video installtion.
But now its up and running again.
Best regards
Sebastian