Capture video from vlc command line with a stop time
问题 I'm trying to capture a video from an RPT stream to my pc (Ubuntu 12-04 LTS). I'm using vlc from command line as below: cvlc -vvv rtp://address:port --start-time=00 --stop-time=300 --sout file/ts:test.ts but vlc ignores the command --stop-time and it continues to download video even more than 300 seconds as specified. Does anyone know the reason for this? and a possible solution? Thanks 回答1: If you know the start-time and the end-time you can compute the record time. You can afterward use the