[vlc-devel] How to trim/cut clips with VLC

Jean-Paul Saman jpsaman at videolan.org
Sun Dec 25 14:00:58 CET 2011


On Fri, Dec 23, 2011 at 7:27 PM, zhu shi song <zhushisongzhu at yahoo.com> wrote:
> I using the following command to transcode one piece of video from start-time to stop-time.
>
> vlc hzvideo.wmv --start-time=10 --stop-time=20 --sout=#transcode{vcodec=h264, venc=x264{preset=veryfast}, vb=0,scale=0,acodec=mp4a,
> ab=128,channels=2,samplerate=44100}:file{dst='11.mp4'}
>
> when reaching stop-time, the transcoding ended.  But start-time had no effect, it always started from the beginning.  What's wrong with it?
> Thanks

Both start-time and stop-time work for playback and have never been
tested with streaming or transcoding.

Kind regards,
Jean-Paul Saman



More information about the vlc-devel mailing list