Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when importing video #1132

Closed
Marirarius89 opened this issue Feb 9, 2023 · 14 comments · Fixed by #1139
Closed

Crash when importing video #1132

Marirarius89 opened this issue Feb 9, 2023 · 14 comments · Fixed by #1139
Labels
bug Something isn't working crash

Comments

@Marirarius89
Copy link

Bug Description

The software crashes when I try to import a video for reference while rotoscoping. I imported a regular mp4 video.

Steps to reproduce

I tried in several different projects and the bug appeared every time.

Relevant logs/screenshots

No response

Software Version

1.3

Software Version Information

No response

Operating System

Windows 11

Graphics Card

3080 mobile

Drawing Tablet

No response

@Marirarius89 Marirarius89 added the bug Something isn't working label Feb 9, 2023
@manongjohn
Copy link
Collaborator

Are you able to provide the mp4, either here or privately if preferred, so we can see what might be causing it?

If there is a crash log/dump file that might have been created would be useful as well.

@Marirarius89
Copy link
Author

Thank you for replying so quickly. I do not know how to retrieve the dump file. The error message said something about it not being able to write memory. How do I share the video with you? I just recorded a walk cycle on YouTube with OBS. Regular screen recording. Edited it a little in KDenlive and exported as mp4 1920x1080 resolution.

@artisteacher
Copy link
Contributor

Does it actually crash or does it just hang? The processing capabilities of the computer seem to have a big impact on video loading into T2D. Some computers definitely handle it better than others.

On the old computers at work (which were replaced), there could be a significant delay when loading video into T2D. The video always loaded eventually - if I was willing to wait long enough. Sometimes the wait was crazy long. The newer computers have better processing so this hasn't really been an issue recently.

@Marirarius89
Copy link
Author

Marirarius89 commented Feb 15, 2023 via email

@manongjohn
Copy link
Collaborator

How do I share the video with you?

If you dont have an issue sharing it publically, you can post it in a comment in this thread. May need to zip it up. If cant upload here, you can provide a link to download it from somewhere. If you need to share privately, you can always hop onto the Tahoma2D Discord and DM me the video or a link to it.

@manongjohn
Copy link
Collaborator

Oh...you can find the crashdump file in the following location: C:\Users\yourusername\AppData\Local\Tahoma2D\Tahoma2D\cache\crashrpt\xxxx\crashdump.dmp

@Marirarius89
Copy link
Author

@Marirarius89
Copy link
Author

Marirarius89 commented Feb 15, 2023 via email

@manongjohn
Copy link
Collaborator

Ok...I don't know the exact cause yet, but using "Load" works fine but crashes when I try "Import". Likely because the file is being copied first to the Project\extras folder, T2D may be trying to access it when it hasn't been fully released by the OS.

Once it's in the extras folder, you can use Load Level to load the mp4 without a problem.

There was a change to the way ffmpeg runs in v1.3 that I believe might be causing this. I can "Import" the file in v1.2 without issue, though it is slower. I'll need to figure out why it's doing this.

@Marirarius89
Copy link
Author

I see. Thank you. I did try load, but then the bug appeared next time I tried to open the project with the mp4. The project would not load for me at all after that.

@artisteacher
Copy link
Contributor

For now, you could try loading the level and then merge it with a blank raster level with the same number of frames. Then delete the video from the timeline & "remove unused levels" from the scene cast.

@Marirarius89
Copy link
Author

Marirarius89 commented Feb 16, 2023

I have been doing some more testing and I am sorry to say that the program always crashes when I try to open a scene where I imported an mp4.

@artisteacher
Copy link
Contributor

That's why I'm suggesting merging the mp4 with a raster level (after you load the mp4) & then completely removing the mp4 from the scene. As long as you can merge without a crash and remove the mp4 from both timeline and scene cast, you should be able to reopen the scene without issue.

@Marirarius89
Copy link
Author

That worked. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants