Rickaym / manim-sideview

A Manim utility extension for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=Rickaym.manim-sideview
MIT License
99 stars 11 forks source link

Predicted file does not exist at... #45

Closed HaldyBear closed 1 year ago

HaldyBear commented 1 year ago

I'm sure you've probably seen this issue before, but my internet searches aren't helping as much as I'd like. The sideview will render for a the first two scenes I've added, but won't for the third. It is looking for the video in the 1080p60 folder, while the video file ends up in the 480p30 folder. How do I go about fixing this issue. Thanks!

Rickaym commented 1 year ago

Hi, Where have you set the video resolution to 480p30?

HaldyBear commented 1 year ago

I haven't to my knowledge. I just installed sideview via vscode and haven't touched the settings.

thingsc commented 1 year ago

I encountered the same question. I set the Command Line Args as --format gif --quality l. Looking forward to your early reply! thx advance.

Rickaym commented 1 year ago

@thingsc does it happen if you remove --format gif?

Rickaym commented 1 year ago

I haven't to my knowledge. I just installed sideview via vscode and haven't touched the settings.

Hard to say what the issue is. Can you please paste your code for the third scene?

Indian-otaku commented 1 year ago

How to write custom command line argument in manim-sideview settings? I'm having the same problem where the file manim-sideview tries to fetch is inside 1080p60 folder whereas i usually render in low quality 480p30. It just feels like a big waste of time and resource to do 1080p60 for just previewing. @Rickaym @HaldyBear @thingsc

Rickaym commented 1 year ago

How to write custom command line argument in manim-sideview settings? I'm having the same problem where the file manim-sideview tries to fetch is inside 1080p60 folder whereas i usually render in low quality 480p30. It just feels like a big waste of time and resource to do 1080p60 for just previewing. @Rickaym @HaldyBear @thingsc

Where have you set the quality to 480p30? @Indian-otaku

A quick and easy way to resolve this is to set this explicitly via creating a manim.cfg file in the same directory as the code file.

[CLI]
quality = low_quality
Indian-otaku commented 1 year ago

Well i didn't set 480p30 anywhere i just use -ql everytime when i run manim render command normally. Thanks for that manim.cfg command it works as intended now.

Is there any specific reason why the command prompt keeps popping up everytime I run the sideview? Its not really affecting the workflow or anything like that, just a minor inconvenience.

Indian-otaku commented 1 year ago

That was stupid mb. I only put that option and totally forgot about it. This one: image

Thanks for all the help @Rickaym

Rickaym commented 1 year ago

That was stupid mb. I only put that option and totally forgot about it. This one: image

Thanks for all the help @Rickaym

No problem, glad it is resolved.

a-fakhri commented 1 year ago

@Indian-otaku @Rickaym I have the same issue and it is not clear how it was resolved here.

@Indian-otaku can you please tell me what you put in the Terminal Command cell in the extension settings to make it look for the rendered video file in the 480p folder?

Edit: For anyone else stumbling on this, the easy fix is to create a new manim.cfg file in same folder as your python file as mentioned above (https://github.com/Rickaym/manim-sideview/issues/45#issuecomment-1514059795).