nununoisy / gb-presenter-rs

GBS/LSDj visualizer based on SameBoy and FFmpeg
MIT License
59 stars 1 forks source link

[Bug] FFmpeg acting weird? #2

Closed N-SPC700 closed 1 year ago

N-SPC700 commented 1 year ago

Because the GUI exhibited odd behavior in a previous post I decided to go the command line route. After some fiddling with command line arguments I managed to get it to render: image

That should be the end of it, right? Except I put in the wrong GBS song in the track specifier on accident. Trying to run the command again but with the different (correct) track number produced this: image To ensure the track command itself wasn't buggy I did the original set of commands again (The ones that did render a file) but I unfortunately was met with the same error again: image I'm not sure what is wrong but it seems FFmpeg doesn't like something.

(Side note: The command arguments specified in the repo's readme don't actually match up with the arguments needing to be passed into the program)

I also want to apologize by slamming you with a bunch of issues all of a sudden.

N-SPC700 commented 1 year ago

Couple extra things to note:

nununoisy commented 1 year ago

First off, I appreciate the prompt reporting on issues. I expect many issues for any first release as people always find usecases I don't consider and bugs/edge-cases pop up.

The "Permission denied" error on Windows is sometimes misleading, since it can also sometimes be thrown when a file is already open in another program. Try deleting the file from Windows Explorer and see if it lets you - if something else has it open chances are you'll be told what program that is. If that's not the case, then I'll have to do a bit more investigation as I can't reproduce this.

nununoisy commented 1 year ago

Also, the short flags in the README should work. I'll test and make sure.

N-SPC700 commented 1 year ago

Alright, cool. I did find the file issue. I had it open in a video program, which is really just my own fault. Closing it since this is just a silly oversight on my end.