nginx-rtmp-module
nginx-rtmp-module copied to clipboard
exec_record_done not working
env
nginx: 1.7.6, nginx-rtmp-module: master
config
application record {
live on;
record all;
record_path /data/video/recordStreams;
record_unique on;
record_interval 30s;
exec_record_done ffmpeg -i $path -c copy $dirname/$basename.mp4;
}
debug log
2014/11/29 23:01:43 [info] 56972#0: *2 exec: starting unmanaged child 'ffmpeg', client: 127.0.0.1, server: 0.0.0.0:1935
2014/11/29 23:01:43 [debug] 56972#0: *2 exec: child 'ffmpeg' started pid=56987
...
2014/11/29 23:01:43 [debug] 56972#0: kevent timer: 59714, changes: 0
2014/11/29 23:01:43 [notice] 56972#0: signal 20 (SIGCHLD) received
2014/11/29 23:01:43 [notice] 56972#0: unknown process 56987 exited with code 1
2014/11/29 23:01:43 [debug] 56972#0: shmtx forced unlock
2014/11/29 23:01:43 [debug] 56972#0: kevent events: -1
2014/11/29 23:01:43 [info] 56972#0: kevent() failed (4: Interrupted system call)
Although I don't yet have a debug log, but I am facing similar issue where exec_record_done doesn't invoke the given command Any updates?
@jordzhang @Sheikh-Aman I'm also experiencing this – exec_record_done
works if I call ffmpeg
, but not a .sh
script that works manually... Any solution?
Facing this issue again, any solution?
@jordzhang @Sheikh-Aman I'm also experiencing this –
exec_record_done
works if I callffmpeg
, but not a.sh
script that works manually... Any solution?
same here
Found the solution : don't create your scripts on windows but on the terminal !
Found the solution : don't create your scripts on windows but on the terminal !
what does this mean?