Questiong about --rate option with streaming

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
zhuchenyang
New Cone
New Cone
Posts: 8
Joined: 28 Nov 2013 01:57

Questiong about --rate option with streaming

Postby zhuchenyang » 10 Jul 2014 09:18

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?

zhuchenyang
New Cone
New Cone
Posts: 8
Joined: 28 Nov 2013 01:57

Re: Questiong about --rate option with streaming

Postby zhuchenyang » 10 Jul 2014 11:26

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!

Rémi Denis-Courmont
Developer
Developer
Posts: 15248
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Questiong about --rate option with streaming

Postby Rémi Denis-Courmont » 10 Jul 2014 17:43

With RTSP, you can't.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests