Hello there, I'm having trouble to execute simple comands using server tasks.
The task convertMp4-stream2 is returning Permission Denied. What shold i do to solve this kind of trouble. Tried to change permission of user nimble as root but still getting the same problem.
Here folows my two tasks:
[
{
"alias": "convertMp4-stream2",
"autorestart": true,
"command": "ffmpeg -i http://127.0.0.1:8081/live/stream2.stream/playlist_dvr.m3u8 -codec copy -an /var/cache/nimble/dvr/live/stream2.stream.mp4",
"restart_if_no_output": true,
"restart_if_no_output_interval": 5,
"restart_interval": 2
},
{
"restart_interval": 15,
"restart_if_no_output_interval": 10,
"autorestart": true,
"restart_if_no_output": true,
"command": "aws s3 sync ./var/cache/nimble/dvr/live/* s3://streamsvod/vod",
"alias": "syncAWS-S3"
}
]
I'm looking forward for your help.
Thanks!