Page 1 of 1

Questiong about --rate option with streaming

Posted: 10 Jul 2014 09:18
by zhuchenyang
When I was saving a rtsp stream to file, I use the --rate option to accelerate the whole process.
Like this:

Code: Select all

vlc.exe -vvv rtsp://221.226.150.235:5504/realplay?devid=81151004841&channelno=0&filename=81151004841_ch01_20140710101535_20140710101721 --rate=16 --sout=file/ps:video.mpg
File was successfully saved.
However, when I playback the saved file, I found the time span was not correct, it was shorter than the original's, and the video was played as the speed of rate 16.

Question is: How can I save a stream with a quick speed and the saved file can be played in a normal speed?

Re: Questiong about --rate option with streaming

Posted: 10 Jul 2014 11:26
by zhuchenyang
I also tried:

Code: Select all

vlc.exe -I dummy rtsp://221.226.150.235:5504/realplay?devid=81151004841&channelno=0&filename=81151004841_ch01_20140710101535_20140710101721 --rate=16 --demux-dump --demuxdump-file=16x.mpg
This doesn't work at all. No file was dumped!

Re: Questiong about --rate option with streaming

Posted: 10 Jul 2014 17:43
by RĂ©mi Denis-Courmont
With RTSP, you can't.