Avidemux Forum

Avidemux => MacOSX => Topic started by: versluis on May 17, 2017, 09:58:06 PM

Title: How to process the job queue on Mac?
Post by: versluis on May 17, 2017, 09:58:06 PM
Hello folks,

I've been using Avidemux on Windows for the last few days, all working well there. I've now installed it on my Mac, started editing and added jobs to the queue... but I can't figure out how to LAUNCH the queue. See, on Windows I have a second icon I can click - but on my Mac I only have one, namely to launch the main Avidemux app.

I've read somewhere to launch "avidemux3_jobs" on the command line, but I haven't got a clue where that's located, so don't know the full path to it. It's not inside the main bundle, I've checked there.

Any help is much appreciated!
Title: Re: How to process the job queue on Mac?
Post by: Jan Gruuthuse on May 18, 2017, 05:44:47 AM
If you're looking for command line: http://www.wikihow.com/Get-to-the-Command-Line-on-a-Mac
Title: Re: How to process the job queue on Mac?
Post by: mean on May 18, 2017, 06:11:11 AM
The bundling makes it difficult to package it on mac
Title: Re: How to process the job queue on Mac?
Post by: versluis on May 18, 2017, 06:16:40 PM
Thanks Jan, I know how to get to the command line. What I don't know is how to process the job queue on Mac (I thought the subject was self explanatory).

Or is processing the queue not possible on Mac? In which case, why can I submit jobs to the queue but then not process it?
Title: Re: How to process the job queue on Mac?
Post by: eumagga0x2a on May 18, 2017, 07:19:11 PM
If Avidemux is installed to /Applications (which happens when you drag the app extracted from the disk image to "Applications" in Finder), you should be able to try to run avidemux_jobs as

cd /Applications/Avidemux2.7.app/Contents/Ressources/bin
./avidemux_jobs


Unfortunately, avidemux_jobs fails to start on my system:

This application failed to start because it could not find or load the Qt platform plugin "cocoa" in "".

I'm completely new to macOS, so I'm not in a good position to contribute to a fix.
Title: Re: How to process the job queue on Mac?
Post by: mean on May 18, 2017, 07:41:14 PM
if my memory is correct, LD_LIBRARY_PATH must point to the  folder with the libs
Title: Re: How to process the job queue on Mac?
Post by: eumagga0x2a on May 18, 2017, 08:17:36 PM
Unless I've misunderstood you, setting LD_LIBRARY_PATH to /Applications/Avidemux2.7.app/Contents/plugins/platforms which contains libqcocoa.dylib doesn't help.
Title: Re: How to process the job queue on Mac?
Post by: mean on May 19, 2017, 05:04:59 AM
xxx/MacOs/Resources/lib or sthing like that
Title: Re: How to process the job queue on Mac?
Post by: versluis on May 19, 2017, 02:31:03 PM
No luck here with $LD_LIBRARY_PATH set to either of these:
Title: Re: How to process the job queue on Mac?
Post by: mean on May 20, 2017, 07:48:25 AM
fixed
Title: Re: How to process the job queue on Mac?
Post by: versluis on May 20, 2017, 04:23:33 PM
Thanks, mean!!! Works like a charm  ;D

For completion, here are the steps to run the jobs queue on macOS Sierra:

Title: Re: How to process the job queue on Mac?
Post by: eumagga0x2a on May 20, 2017, 05:38:54 PM
The step 2 is not required. It is also not needed with my private builds which contain the fix.

Edit: You're right, sorry. The step is not required if I launch avidemux_jobs from the folder where it is installed during compilation. Installing the app globally makes setting LD_LIBRARY_PATH necessary when launching avidemux_jobs or avidemux from the terminal.
Title: Re: How to process the job queue on Mac?
Post by: versluis on May 20, 2017, 08:16:20 PM
So the job queue GUI comes up, but when I run the queue, the job fails with the following error message:

sh: avidemux3_cli: command not found
Title: Re: How to process the job queue on Mac?
Post by: mean on May 20, 2017, 08:21:54 PM
ooops
Title: Re: How to process the job queue on Mac?
Post by: mean on May 21, 2017, 06:27:23 AM
should be okay now
Title: Re: How to process the job queue on Mac?
Post by: versluis on May 23, 2017, 01:06:39 PM
Thanks mean, it works indeed!

I've used the earlier build from the 21st of May (ending in 0c5b), the later two don't seem to open on my system. I get the usual "but it's from the internet" warning, select "Open Anyway" and then nothing happens. Just thought I'd let you know.

The build that opens works as expected: Jobs GUI opens, and the queue can be processed - however it only works if I select the Qt4 version. With that box unticked (Qt 5 I assume?) the queue fails with the following errors:

[spawnChild] 13:05:05-627  Spawning successfull
[waitForConnect] 13:05:11-628  Select failed
[runOneJob] 13:05:11-628  No connect
*
[refreshList] 13:05:11-631  Found 1 jobs
[runOneJob] 13:05:11-632  Running job id = 6
[~jobProgress] 13:05:11-632  Deleting progress..


Thank you so much for your efforts on this, mean!
Title: Re: How to process the job queue on Mac?
Post by: belgardandy on September 22, 2019, 06:58:18 PM
I'm having this same problem. I'm using avidemux 2.7.4, and /Applications/Avidemux2.7.app/Contents/Resources/bin/avidemux_jobs does not exist.
Title: Re: How to process the job queue on Mac?
Post by: eumagga0x2a on September 22, 2019, 07:51:15 PM
The correct path is /Applications/Avidemux_2.7.4.app/Contents/MacOS/avidemux_jobs