Page 1 of 1

how to get vlc to start at a specific time in a media file ?

Posted: 14 Mar 2015 17:02
by shirish
Hi all,
How do I get vlc to start at a specific time in a media file. I can do it easily in mplayer2, mpv but not vlc. Let's say the media file is named abc.avi (file format,container not important for this example.) Also the running time is around 2+ hrs. In mplayer2 and mpv I can simply do :-

Code: Select all

$mpv abc.avi --start=00:59:00
And it will start running at that point in time.

In vlc, it also seems to have something at :-

Code: Select all

[$] vlc --advanced --help ...... ...... Playback control: --input-repeat <integer [-2147483648 .. 2147483647]> Input repetitions --start-time <float> Start time
Now I don't understand what the <float> bit. I tried :-

Code: Select all

$vlc abc.avi --start-time=00:59:00
but that didn't work. It's possible that it might be a bug, then again I might not have done it correctly. Can somebody tell if I'm doing it correctly or I should be doing something else ?

I am on Debian Testing/Jessie and running VLC version 2.2.0-rc2 Weatherwax (2.2.0-rc1-118-g22fda39)

Re: how to get vlc to start at a specific time in a media file ?

Posted: 14 Mar 2015 17:18
by Jean-Baptiste Kempf
--start-time=3540 (seconds)

Re: how to get vlc to start at a specific time in a media file ?

Posted: 14 Mar 2015 17:25
by shirish
@Jean-Baptiste Kempf thank you. Is there a wishlist bug/ticket to get it to start at minutes things instead of calculating at seconds? Something that can be followed ?

If not, do you think it would be a good idea (and accepted) such a wishlist feature ?

Re: how to get vlc to start at a specific time in a media file ?

Posted: 14 Mar 2015 17:53
by Jean-Baptiste Kempf
yes, add it.

Re: how to get vlc to start at a specific time in a media file ?

Posted: 14 Mar 2015 18:25
by shirish
Just did, please see https://trac.videolan.org/vlc/ticket/14157#ticket . I have no idea which component to file it under, would it come under QT or something else so left it out, have put it as 2.2.1 but changing any of those values is upto you, I am just a reporter :)

Re: how to get vlc to start at a specific time in a media file ?

Posted: 16 Mar 2015 11:59
by Jean-Baptiste Kempf
THanks.