media-autobuild_suite icon indicating copy to clipboard operation
media-autobuild_suite copied to clipboard

Can't set local path of ffmpeg on my computer as choice ffmpeg to use for compiling?

Open Usulyre opened this issue 1 year ago • 8 comments

HI, I've tried setting local ffmpeg path in media-autobuild_suite.ini that's already on my computer.

Doesn't seem to work.

If the path to my ffmpeg folder is "C:\fm\ffmpegnvoffruc"

How do I put that in media-autobuild_suite.ini next to ffmpegPath so it gets recognized as such instead of having it ignore it and trying to download ffmpeg?

Usulyre avatar Mar 24 '25 05:03 Usulyre

Just to clarify, how does it look within your .ini file? My guess is that your issue is with your \ since it needs to be in a form that can be passed to bash and be recognized by bash/git as a proper path.

1480c1 avatar Mar 24 '25 05:03 1480c1

Just to clarify, how does it look within your .ini file? My guess is that your issue is with your \ since it needs to be in a form that can be passed to bash and be recognized by bash/git as a proper path.

Hi, thanks for your reply. I tried the below:

Image Image

Usulyre avatar Mar 24 '25 06:03 Usulyre

Is your path a git checkout? It needs to at least be recognizable as a git repo for git to clone it.

1480c1 avatar Mar 24 '25 15:03 1480c1

Is your path a git checkout? It needs to at least be recognizable as a git repo for git to clone it.

Oh i thought one can choose a local path meaning my disk drive on my computer as well besides a git repository?

Is that not possible?

If not, I'm having trouble for git clone, getting a specific branch to be cloned as well.

https://github.com/philipl/FFmpeg/tree/nvoffruc

ffmpegPath=https://github.com/philipl/FFmpeg.git#branch=nvoffruc

This isn't working either unless i am doing something wrong.

Usulyre avatar Mar 24 '25 15:03 Usulyre

Oh i thought one can choose a local path meaning my disk drive on my computer as well besides a git repository?

Is that not possible?

It would be infeasible to make it possible.

Could you see if you have a file called last_run or last_successful_run inside the build folder and upload it?

1480c1 avatar Mar 24 '25 16:03 1480c1

Oh i thought one can choose a local path meaning my disk drive on my computer as well besides a git repository? Is that not possible?

It would be infeasible to make it possible.

Could you see if you have a file called last_run or last_successful_run inside the build folder and upload it?

I will look for that file.

What does a "local repository" mean by the way?

ffmpegPath=../myrepos/ffmpeg

Isn't that just a downloaded one from github on my local disk drive?

Usulyre avatar Mar 24 '25 16:03 Usulyre

What does a "local repository" mean by the way?

"local repository" here means a local git clone. Example, if you run git clone https://github.com/m-ab-s/media-autobuild_suite.git from your C:\ drive, it will create C:\media-autobuild_suite which is a local git checkout that is detached, for the most part, from mabs. You are free to modify, add, remove from it, and you can pull commits from m-ab-s, but your modifications to it will not affect m-ab-s. That's why it's "local" to your machine.

ffmpegPath=../myrepos/ffmpeg Isn't that just a downloaded one from github on my local disk drive?

This depends on how you got it from github. If you used git clone, then it's fine, but if you used the "Download ZIP" option, then no. This is because git has no way of knowing if your folder is a git repository which it can get commit history and clone from, versus a plain old folder full of a bunch of stuff.

1480c1 avatar Mar 24 '25 16:03 1480c1

Oh i thought one can choose a local path meaning my disk drive on my computer as well besides a git repository? Is that not possible?

It would be infeasible to make it possible.

Could you see if you have a file called last_run or last_successful_run inside the build folder and upload it?

last_successful_run.txt

Usulyre avatar Mar 24 '25 18:03 Usulyre