I uninstall minim and install it again, using ./setup.
there is no minim.service file in /usr/lib/systemd/system/
The correct path on Debian 10 seem to be :
/run/systemd/generator.late/minimserver.service
But in fact this file is created at each boot and modify it don't remain between..
What can be cool is the possibility to input this string in ffmpeg location :
taskset -cp 3 /usr/bin/ffmpeg
rather than
/usr/bin/ffmpeg
Anyway, thank Simon for your support
You could create a script (also named ffmpeg) that does this (passing all the script arguments to /usr/bin/ffmpeg), then put the full path to your script in the stream.converter property.
Thank, but this is far beyond my current knowledge.
I create this script :
Code:
#!/bin/bash
taskset -cp 3 /usr/bin/ffmpeg $@
But when I try to enter :
/home/ffmpeg
In Mininserver stream.converter property, when I click Apply button i get an error :
converter not installed; correct highlighted value and retry.
You need -c instead of -cp and "$@" instead of $@.
-cp is more immediate than -p and ran too ;-)
But even with the mods you indicate, the result is the same at Minimserver properties settings... Converter not installed
I also tried to move the script to
~/minimsever/opt/bin
and just input "ffmpeg" to stream.converter property, but system ran the ffmpeg in is path (/usr/bin/ffmpeg).
Did you tried the trick ?
The real script *may* be :
Code:
#!/bin/bash
taskset 3 /usr/bin/ffmpeg "$@"
exit
$@ and "$@" seem to operate the same.
no -p or -cp in the command. -p or -cp is for change the CPU of an existing PID
But there is 2 running ffmpeg for the same files with this trick.
One behave to Minimserver (PPID = Minimserver PID)
the other behave to the one created per Minimser (PPID = FFMPEG previous PID).
Well, it's late. Have to go. Maybe a good night can light up some lights
Code:
root 3273 477 0 1681 3068 1 18:54 ? 00:00:00 /bin/bash /home/minimserver/opt/bin/ffmpeg -v 0 -analyzeduration 0 -f aiff -request_sample_fmt flt -i /home/manu/musiques/Asaf Avidan
root 3276 3273 3 73315 39556 0 18:54 ? 00:00:00 /usr/bin/ffmpeg -v 0 -analyzeduration 0 -f aiff -request_sample_fmt flt -i /home/manu/musiques/Asaf Avidan/The Study On Falling/01-08