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
If you know the start-time and the end-time you can compute the record time. You can afterward use the --run-time option to get what you want, like this: cvlc --run-time 60 --start-time 1260 /Path/to/your/file.ts vlc://quit
--run-time
cvlc --run-time 60 --start-time 1260 /Path/to/your/file.ts vlc://quit