How to play two videos, the latter in a loop?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Lukas0907
New Cone
New Cone
Posts: 2
Joined: 17 Jun 2011 09:47

How to play two videos, the latter in a loop?

Postby Lukas0907 » 17 Jun 2011 10:00

Hi,

in MPlayer i could do this:

Code: Select all

mplayer vid1.mp4 -loop 1 vid2.mp4 -loop 0
This plays the first video one time and the second video in an infinite loop. I experience random crashes with mplayer, however, and want to migrate to VLC.

How can I achieve the same effect in VLC? Starting another instance of VLC with vid2.mp4 after the first one exited is possible, the major drawback with this solution is that there is a black screen for a few seconds which is not ideal.

Lukas0907
New Cone
New Cone
Posts: 2
Joined: 17 Jun 2011 09:47

Re: How to play two videos, the latter in a loop?

Postby Lukas0907 » 17 Jun 2011 10:43

OK I just found the solution.

Code: Select all

cvlc --fullscreen vid1.mp4 vid2.mp4 :input-repeat=-1
Works like a charm!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 53 guests