Vlc.DotNet
Vlc.DotNet copied to clipboard
Setting the rate parameter in VLC URL
I have a question about Vlc.DotNet.
Generic information
- Vlc.DotNet version : (3.0.0.0)
- Vlc.DotNet project used : (Web Application)
- libvlc version : (x86)
- .net version : (4.5)
- Project language : (C#)
- Project build architecture : (x86/x64)
- Operating system : (Windows ...) (x86/x64)
Summary
I have a Url which is working fine in vlc command line vlc --rate=4 "rtsp://username:password@ipAddress:port/someUrl"
But I want to use this in my one of core c# project where I am using VLC dll.
I have tried some ways those are :
string Url= "rtsp://username:password@ipAddress:port/someUrl";
string[] options = { "--rate="+ rate };
_videoControl.Play(new Uri(Url), options);
2
string Url= "rtsp://username:password@ipAddress:port/someUrl";
string[] options = { ":rate="+ rate };
_videoControl.Play(new Uri(Url), options);
-
string Url= "rtsp://username:password@ipAddress:port/someUrl"; _videoControl.SetMedia(new Uri(Url)); PlaybackRateVal = (float)rate; _videoControl.Rate = PlaybackRateVal * 1.0f; _videoControl.Play();
I tried all these ways, but I am not able to set the rate of the video, basically, I want to do fast forward in my Playback video.
VlcMediaPlayer.Rate =... should work. Provide full logs please.
also try "--rate", "2"
also try
"--rate", "2"
I have tried this, I am not getting any error in the log, but when I play my recorded video on fast forward mode, it stopped the video. If you have any sample code, can you please share
You created the issue, so you should share your full code and your full verbose logs (even if you see no error)