exec ffmpeg -i rtmp://localhost/live/stream -c:v libx264 -c:a aac -ac 1 -strict -2 -crf 16 -profile:v baseline -maxrate 10000k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 /tmp/live/stream.m3u8
It works fine on the command line but not using exec
Why won't this work
exec ffmpeg -i rtmp://localhost/live/stream -c:v libx264 -c:a aac -ac 1 -strict -2 -crf 16 -profile:v baseline -maxrate 10000k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 /tmp/live/stream.m3u8
It works fine on the command line but not using exec