-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Which version of recognize are you using?
8.20
Enabled Modes
Object recognition, Face recognition, Video recognition
TensorFlow mode
Normal mode
Downstream App
Memories App
Which Nextcloud version do you have installed?
30.0.6
Which Operating system do you have installed?
Ubuntu 24.04
Which database are you running Nextcloud on?
MariaDB 10.5
Which Docker container are you using to run Nextcloud? (if applicable)
No response
How much RAM does your server have?
8GB
What processor Architecture does your CPU have?
x86_64
Describe the Bug
When running a command line "occ recognize:classify" this error appears for all video files. This error started appearing (as far as I can tell) following the latest upgrade to version 30.0.6 (with upgrade of recognize app to 8.20.
By looking at the command string below, it appears that there is an incomplete command being sent from the app to ffmpeg. THere appears to be a missing parameter at the end of the command string
Starting transcoding
Result for /henry/files/nas_videos/Creek-001.avi(oc_tmp_ZM0HOz-.avi) = []
Classifier process output: Error: Command failed with EACCES: /var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg -t 30 -i /tmp/oc_tmp_ZM0HOz-.avi -s 176x176 -vf fps=2 -c:v mjpeg -f image2pipe -
spawn /var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg EACCES
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -13,
code: 'EACCES',
syscall: 'spawn /var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg',
path: '/var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg',
spawnargs: [
'-t',
'30',
'-i',
'/tmp/oc_tmp_ZM0HOz-.avi',
'-s',
'176x176',
'-vf',
'fps=2',
'-c:v',
'mjpeg',
'-f',
'image2pipe',
'-'
],
originalMessage: 'spawn /var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg EACCES',
shortMessage: 'Command failed with EACCES: /var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg -t 30 -i /tmp/oc_tmp_ZM0HOz-.avi -s 176x176 -vf fps=2 -c:v mjpeg -f image2pipe -\n' +
'spawn /var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg EACCES',
command: '/var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg -t 30 -i /tmp/oc_tmp_ZM0HOz-.avi -s 176x176 -vf fps=2 -c:v mjpeg -f image2pipe -',
escapedCommand: '"/var/www/html/nextcloud/apps/recognize/node_modules/ffmpeg-static/ffmpeg" -t 30 -i "/tmp/oc_tmp_ZM0HOz-.avi" -s 176x176 -vf "fps=2" "-c:v" mjpeg -f image2pipe -',
exitCode: undefined,
signal: undefined,
signalDescription: undefined,
stdout: ,
stderr: ,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
Expected Behavior
Successful completion of transcoding
To Reproduce
Run a occ recognize:classify command from the terminal
Debug log
No response