Cutting video with VLC

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
nour
Blank Cone
Blank Cone
Posts: 28
Joined: 19 Apr 2011 11:39

Cutting video with VLC

Postby nour » 18 Jul 2012 15:41

hi there,

I use the following command to cut a mpg file:
vlc my.mpg --start-time 580 --stop-time 660 :sout=#transcode{}:file{dst=d:\tvmonitor\mynew.mpg} vlc://quit

it is working fine just one problem the mynew.mpg file start with the fisrt 2 sec with from the start of the orginal file.

I think the problem is that time that cost vlc to load the orginal file.

my question how can i instruct vlc to:

1. load the file first

2 jump to postion 580

3 start playing/transcoding

Please your reply

Nour

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Cutting video with VLC

Postby edwardw » 14 Aug 2012 23:31

This should cut, starting at 580 seconds and ending at 660 seconds:

Code: Select all

vlc my.mpg --start-time 580 --stop-time 660 --sout-keep --sout=#file{dst=d:\tvmonitor\mynew.mpg} vlc://quit

nour
Blank Cone
Blank Cone
Posts: 28
Joined: 19 Apr 2011 11:39

Re: Cutting video with VLC

Postby nour » 15 Nov 2012 11:00

tried that the same problem the first 2 sec of the orginal file are saved ! then jump to the postion 580

nour
Blank Cone
Blank Cone
Posts: 28
Joined: 19 Apr 2011 11:39

Re: Cutting video with VLC

Postby nour » 15 Nov 2012 11:00

tried that the same problem the first 2 sec of the orginal file are saved ! then jump to the postion 580


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 55 guests