A->B looping from the command line, and command line in general

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
phillord
New Cone
New Cone
Posts: 2
Joined: 28 Nov 2019 15:57

A->B looping from the command line, and command line in general

Postby phillord » 28 Nov 2019 16:40

I would like to be able to loop a segment of a video from the command line; I'm trying to learn some music and having it loop incessantly for hours is the way to go. I need to be able to control the start and the end precisely (i.e. 50ms or so), because when looped I would like the music to keep time. The best I have come up with so far is this:

Code: Select all

vlc --start-time=85.390 \ --stop-time=103.547 \ --repeat \ blah.mp3
This allows me to control the start/stop time accurately, but fails of its purpose because `--repeat` is not the same as the A->B looper as far as I can tell. I think VLC is reloading the entire video, rather than just jumping within the video. The repeat point is very choppy, unlike the A->B looper where it just jumps and restarts playing nicely.

So, two questions:

1) Is there a way to start the A-B looper for a specific segment from and command line
2) How to work this out? If I know how to do something on the command line, is there a more general way of find out the equivalent command line option?

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests