Closed drkamine closed 5 years ago
What program are you using to streamming? Are you using nginx-rtmp?
i use nginx-rtmp in centos 7 . i install it with this script https://github.com/hoangdh/ghichep-StreamingVideo/blob/master/nginx-rtmp/nginx-centos-7.sh
i can't push a viedo to rtmp by this command ffmpeg -i 04-Utiliser\ Hyper-V.mp4 -threads 1 -vcodec flv -acodec copy -s 1280x720 -f flv rtmp://192.168.1.84:1935/live/amine but i can't access by http
You can use OBS, Wirecat,... or ffmpeg to push your server. With FFMpeg example:
ffmpeg -re -i video.mp4 -c copy -f flv rtmp://192.168.1.84:1935/live/amine
video.mp4
has been downloaded from YouTube.Or see more about FFMPEG's guide: https://trac.ffmpeg.org/wiki/StreamingGuide
thank you very much is work good , can please tell me haw i can see it in http://192.168.1.84/hls/amine/index.m3u8 , but i see only a download file named index.m3u8 with VLC
hello i can't push a mp4 viedo . can please provied the step by step haw to push viedo and play it