VLC to play random segments of random videos

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
lovecraft22
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Sep 2009 16:29

VLC to play random segments of random videos

Postby lovecraft22 » 17 May 2015 10:04

Dear all,
I would like to play random segments of random videos that can be found within a certain folder. From what I could understand reading here and there, the main problems come from playing random segments. For this reason I'm writing a bash script in order to pass the videos I want to play to VLC.

Here's some questions:

1.

Code: Select all

VCL video1.avi --start-time 10 --stop-time 15 video2.avi --start-time 30 --stop-time 32
This doesn't do the trick since only the last start and stop time are applied to each videos. using :start-time doesn't work either. Is there any way to make --start-time and --stop-time item-specific?

2. Since I couldn't get the line at step 1 to work, I will probably re-launch VLC with each video file. This is not ideal since it takes time between a video and the following to re-start VLC. Besides, the final result is not continuos. Here comes another problem though: I cannot set VLC to fullscreen manually after the command in bash because, as I said, it will be restarted after each video. Now, using the -f flag results in the movie playing fullscreen with the shadow of the VLC playlist window on top of it… is there any workaround for this?

Thanks a lot

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: VLC to play random segments of random videos

Postby mederi » 17 May 2015 15:22


lovecraft22
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Sep 2009 16:29

Re: VLC to play random segments of random videos

Postby lovecraft22 » 17 May 2015 16:21

Thanks.
This seems exactly what I needed.

On the other hand, I'd like to keep working on my script so if anyone could answer my questions that would be great!

Thanks again

lovecraft22
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Sep 2009 16:29

Re: VLC to play random segments of random videos

Postby lovecraft22 » 17 May 2015 18:15

Actually, it does NOT work. It plays the same segment from every movie and not a random part even if Random Position is checked.

Anybody managed to make it work the way I would like it to? If yes, could you please post the workflow?

Thanks


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests