What asset path is C9 looking for?

  • 1
  • Question
  • Updated 10 months ago
When I open a C9 project file, I get broken links to the image assets.

Yes, I did move the assets at some point it seems.

Yes, I know I can Update the images on an individual basis. 

Yes, I know I can export a zip file and keep the assets together. But it's too late for that in this case.

So, if I knew where C9 was looking for the image assets, I could probably move the assets to that expected directory folder so C9 could find and load the assets.

Is there any way to discover the path C9 is looking for and not finding, so I can move the assets to the expected location?

Thank you.
Photo of pobox606

pobox606

  • 22 Posts
  • 10 Reply Likes

Posted 1 year ago

  • 1
Photo of Rick Stone

Rick Stone

  • 4474 Posts
  • 1995 Reply Likes
Hi there

Have you tried opening the Media Bin, right-clicking the asset and choosing Details?


Cheers... Rick :)
Photo of pobox606

pobox606

  • 22 Posts
  • 10 Reply Likes
Thanks Rick, but that doesn't work.

When you do that on a missing image, the Details are blank.

It would be nice if that told you the path where it was unsuccessfully looking for the missing image, but it doesn't.
Photo of Dubie

Dubie

  • 948 Posts
  • 725 Reply Likes
It looks for the image from where ever  you imported it or drag and dropped it from.
There is no specific folder or location.

So if you used a image from the desktop, it looks for that image on the desktop.
If you move the image off the desktop to a folder or different location than Camtasia can not find it.

Thats why as you stated it is good practice to export zip your project or  make a folder with all the assests you use  in a project and back it up.

Sorry but I no of no way other than to update the media and search for those images to get them back.

:)
(Edited)
Photo of Rick Stone

Rick Stone

  • 4474 Posts
  • 1995 Reply Likes
Okay, I've been experimenting with my Camtasia 9 and I think I've perhaps got you some info.

I had a project and I closed it and deleted a couple of image assets. And upon re-opening, it quibbled at me and said it was unable to locate the assets. So it posted the names of the missing assets.



And the timeline shows they are missing:



But if I do as instructed in the dialog where I am instructed to right-click and "Update Media", the folder where the media is expected to be found seems to be the folder that opens. (I tested by adding images from two completely different folders)

So it seems this is fairly easily solved by just noting the image file name, then make sure the image is copied to that folder that opens when you choose to Update.

Hope this helps a smidge... Rick :)
Photo of Rick Stone

Rick Stone

  • 4474 Posts
  • 1995 Reply Likes
As an aside, unless you have rendered the video, there is no way I'm aware of to remotely know what the images or whatever actually should look like. ;)
Photo of pobox606

pobox606

  • 22 Posts
  • 10 Reply Likes
Yes Dubie, I did state that. I'm sure you thought your reminder was somehow helpful.

But, of course, it did not offer a helpful solution to my present situation. Woulda, coulda, shoulda.

If anyone has positive input about how to determine the broken path C9 is looking for--the issue at hand--I'd be grateful.
Photo of pobox606

pobox606

  • 22 Posts
  • 10 Reply Likes
Thanks Rick!  Sometimes complex things have easy answers. :-)

But that gets you to the right location so you can input images manually (have done 156 that way so far!), but any idea how to tell C9 to look in that folder so you don't have to do them manually?

It seems the path might be hard-coded into the project file so you can't point it to the images folder once you find it.  Wonder if there is a work-around that eliminates the need to add broken images manually.
Photo of Rick Stone

Rick Stone

  • 4474 Posts
  • 1995 Reply Likes
I may be being a bit thick headed at the moment, so please bear with me.

As I understand it, the issue arises because the asset isn't in the expected location. From what I've seen of my testing, Camtasia does know the exact folder where the asset was originally placed. And that's why it issues the warning. And when choosing to update, it remembers that folder and opens it to allow you to restore the image.

What you stated in your reply seems to suggest you think there may be a way to just tell Camtasia that's the folder?

What confuses me is that it already knows that folder. But the asset isn't there.

Or are you maybe saying instead that you have now managed to identify the location, but once you "fix" one of the images you decided to copy swarms of others to hopefully fix them all at once? But somehow you do that and Camtasia seems to ignore it and still show them as missing?

If that's the case, I might suggest just closing the project, then re-opening it. Maybe it would then recognize that all the assets were back.

Cheers... Rick :)
Photo of pobox606

pobox606

  • 22 Posts
  • 10 Reply Likes
Hey Rick, You're not alone... this has confused me too.  Thanks for your willingness to think through the issue with me.

It looks like two things are going on:

1. C9 can't find the image folder and thus returns a broken link.

2. In a separate function, you can find it manually. 

As I suggested, it looks like the path to images is hard coded into the project file. That may account for the discrepancy in how C9 finds data files.

I just noticed that Dubie opened a project file and there is a path there. That might be the answer, but I'd want to test it.
Photo of Dubie

Dubie

  • 948 Posts
  • 725 Reply Likes
Try this maybe it will be positive.

Open the .tscproj file in notepad.

It will have all the assets listed.
Thats where Cmatasia got it from.

If the image is no longer there than you have to find it. Period



and ya I did think my reminder was helpful.

Backup!!!
(Edited)
Photo of pobox606

pobox606

  • 22 Posts
  • 10 Reply Likes
Yes, I suggested to Rick that the path was probably hard-coded in an earlier post here. Thank you for opening the file and confirming that.

Dubie, "backup" is a helpful rule even though off-topic.

But here's another one you may want to take on-board.  "Don't be an irritating jerk." 

Hope that helps.
Photo of Dubie

Dubie

  • 948 Posts
  • 725 Reply Likes
Sorry. Didn't know my trying to help was irritating and my first post rubbed you wrong and wasn't your solution. My bad

I don't know your expertise with Camtasia and was just stating some facts

After digging into this I could suggest how to fix the missing assests in a heartbeat
but you have slammed me twice now so... Good Luck
(Edited)
Photo of Rick Stone

Rick Stone

  • 4474 Posts
  • 1995 Reply Likes
My bad, missed the intermediate comments. ;)
Photo of pobox606

pobox606

  • 22 Posts
  • 10 Reply Likes
No bad on your part, Rick. You spoke to the issue and I appreciate that.

Your comments were helpful.
Photo of Charles Welford

Charles Welford

  • 143 Posts
  • 47 Reply Likes
Picking up on what Dubie said:
You can open the .tscproj file in Notepad or any text editor.
Use the Find\Replace feature of the text editor to find each instance of the old/incorrect folder  or path name where the images used to be and replace with the new/correct folder or path name where they are currently located. Then save the file. (make a backup copy first in case anything goes wrong). This is much faster than manually changing each image using Update Media inside Camtasia individually.

For example, replace instances like:
"src": "C:\OldFolder\MyImage1.png"

with
"src": "C:\NewFolder\MyImage1.png"
Photo of Soph Marx

Soph Marx

  • 31 Posts
  • 17 Reply Likes
Similar issue. I organize my projects in folders by project then with images, recordings, etc for each. I created an "image" folder and moved the images there. I get this message below that I have to locate EACH image separately and redirect it. 

A simple solution would be to ask for a NEW location for all the images. Sure, some still might not be in there, but then give me an error for the few that might not be in there.

I'm not sure how UPDATE MEDIA works, but I'm assuming I'd have to do that for each image that it can't find?

Are you saying the only way is to go to the project in notepad and search and replace? There's gotta be a better way.