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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -