robertkwild
New Member
hi all,
atm i have this line
exec /usr/bin/ffmpeg -i rtmp://localhost/live/$name -threads 2 -c:v libx264 -profile:v baseline -b:v 4000K -s 1280x720 -f flv -c:a aac -ac 1 -strict -2 -b:a 128k rtmp://localhost/hls/$name;
but trouble with this is when someone changes the settings on the encoder box of the live stream it breaks my hls stream as i need to then reconfigure the video/audio bitrate and size
could i change it with this line
exec /usr/bin/ffmpeg -i rtmp://localhost/live/$name -threads 2 -c:v libx264 -profile:v baseline -f flv -c:a aac -ac 1 -strict -2 rtmp://localhost/hls/$name;
thanks,
rob
atm i have this line
exec /usr/bin/ffmpeg -i rtmp://localhost/live/$name -threads 2 -c:v libx264 -profile:v baseline -b:v 4000K -s 1280x720 -f flv -c:a aac -ac 1 -strict -2 -b:a 128k rtmp://localhost/hls/$name;
but trouble with this is when someone changes the settings on the encoder box of the live stream it breaks my hls stream as i need to then reconfigure the video/audio bitrate and size
could i change it with this line
exec /usr/bin/ffmpeg -i rtmp://localhost/live/$name -threads 2 -c:v libx264 -profile:v baseline -f flv -c:a aac -ac 1 -strict -2 rtmp://localhost/hls/$name;
thanks,
rob