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

*nix specific usage questions
shirish
Blank Cone
Blank Cone
Posts: 20
Joined: 10 May 2007 08:17
VLC version: 2.2.0-rc2 Weatherwax
Operating System: Linux

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

Postby shirish » 14 Mar 2015 17:02

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)
--
Shirish Agarwal
This post is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
VLC player 2.2.rc2-Weathermax, Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), Debian Jessie
GNUPG 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 14 Mar 2015 17:18

--start-time=3540 (seconds)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shirish
Blank Cone
Blank Cone
Posts: 20
Joined: 10 May 2007 08:17
VLC version: 2.2.0-rc2 Weatherwax
Operating System: Linux

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

Postby shirish » 14 Mar 2015 17:25

@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 ?
--
Shirish Agarwal
This post is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
VLC player 2.2.rc2-Weathermax, Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), Debian Jessie
GNUPG 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 14 Mar 2015 17:53

yes, add it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shirish
Blank Cone
Blank Cone
Posts: 20
Joined: 10 May 2007 08:17
VLC version: 2.2.0-rc2 Weatherwax
Operating System: Linux

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

Postby shirish » 14 Mar 2015 18:25

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 :)
--
Shirish Agarwal
This post is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
VLC player 2.2.rc2-Weathermax, Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), Debian Jessie
GNUPG 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 16 Mar 2015 11:59

THanks.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests