Mpv - Play video repeatly forever

By xngo on June 12, 2019

mpv is a cross-platform media player. It can be used to play video repeatly forever. Here is how you run the command to loop your video forever.

# inf means infinite.
mpv --loop=inf videofile.avi
 
# You can also enter the number of times you want the video to loop. 
#   Simply enter a number, e.g. 7.
mpv --loop=7 videofile.avi

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.