Loop playback with ffmpeg + ffserver -
i have ffserver multicast stream other devices , ffmpeg send input video ffserver using following command:
ffmpeg -re -y -i ~/videofile.mp4 http://192.168.2.38:8090/f.ffm
is possible loop video playback, mean after videofile.mp4 ends, ffmpeg or ffserver restarts playback beggining of file?
i couldn't find key ffmpeg loop playback, can done using shell script:
#!/bin/sh while [ 1 ] ; ffmpeg -re -y -i /path_to_videofile http://url:8090/f.ffm done
Comments
Post a Comment