DEV Community

Discussion on: How To Setup Nginx For HLS Video Streaming On Centos 7

terrancio profile image

"ffmpeg -i /path/to/video -c:v h264 -c:a aac -strict -2 -f flv rtmp://server_ip:1935/app/unique_stream_name #the name of the stream has to be unique "

When it says /Path/To/Video what exactly should I put there? because I chose a directory thinking it's where I was gonna save video files, but after I pressed Enter it appeared in Red "It is a directory" so... may you help me, please?