Comments (8)
Hi,
If I'm not mistaken by "or simply the current executing path" you mean you want to have VLC libraries in the executable file directory. That's the case when you download the source files. You can copy VLC libraries in the executable path and provide that directory to VLCMediaPlayer.
from vlc.dotnet.
But the need to have them embedded within an executable is impossible I assume, since the plugins folder needs to be copied as well?
In my use case I only need them embedded.
from vlc.dotnet.
I don't know if the libraries can be used directly from memory, but one way around would be to embed the files in the executable and offload them to a temporary location ...
Also pay attention to each library and plugin's license.
from vlc.dotnet.
Thanks! This will sadly be a little bit too time-intensive and resource intensive (users will click very quickly between different video sources and only then my code gets initialised). Besides that I haven't been able to get Vlc.DotNet to work with an RTSP stream (either directly or a version streamed to disk). Weird use case and now I'll have to hunt for a good in-code decoder.
Wrong place to ask perhaps but do you or anyone else know a good resource?
https://github.com/soywiz/cscodec does the job but with a lot of artefacts compared to VLC and we haven't been able to find something comparable.
from vlc.dotnet.
I don't know about RTSP, but I've successfully built an "Online TV" app playing RTMP streams using the old version of VideoLan Dot Net available at https://vlcdotnet.codeplex.com/
It may be worth trying. (Although you'll still need VLC library files)
As a side note I highly recommend playing m3u8 playlists if available instead of directly playing the RTMP stream. VLC supports them too.
from vlc.dotnet.
Interesting, thanks for your thoughts.
In this case I'll be reading RTSP streams from a live source that is not under my control (a NVR having up to 64 cameras connected). Quite a limited environment.
As far as I know RTMP and RTSP are just two different ways of achieving the same thing, streaming media. RTSP uses RTP as it's underlying protocol and adds a little layer (very much like http) where certain information can be gained and commands can be executed, like discovering which codec streams are available at a certain endpoint and setting which one your application prefers for example.
Just out of curiosity and to broaden my understanding of this subject, why do you say you'd recommend m3u8 over directly playing RTMP?
from vlc.dotnet.
RTSP seems interesting!
I recommend m3u8 not for technical reasons (actually I don't have deep understanding in this matter) but because of VLC's behavior. When you directly play RTMP streams in VLC Media Player (which uses the same VideoLan libraries), stopping the stream, freezes the media player for a shot time (at least in version 2.1 and earlier). I've seen better performance and more stable behavior with m3u8 playlists in VLC.
from vlc.dotnet.
Thanks, nice practical insight!
from vlc.dotnet.
Related Issues (20)
- scaletempo_pitch filter not working HOT 1
- how to split or cut a video? HOT 1
- "Direct Show Device Fails to Open" If it Contains a Failed Device in a List of Capture Devices HOT 14
- How to use LibVLCSharp make a Video Provider like VlcVideoSourceProvider.cs !! HOT 1
- How to install the Vlc.DotNet.Wpf.to a WPF .Net Framework using VB HOT 1
- two player play at the same time HOT 6
- VlcControl.Dispose never ends after trying to open Blu-ray disk without licensing or after ejecting the disc HOT 1
- (re-edit)Can vlc.dotnet play RTP over TCP(RFC 4751) H.264 video stream? HOT 6
- Can't set VlcLibDirectory HOT 10
- I want to develop UI in raspberry pi. Is there any way? HOT 13
- TakeSnapShot with stream parameter? HOT 1
- How to support Chinese directories? HOT 2
- My program was frozen during the setmedia operation HOT 2
- Playing some videos on any platform will get stuck HOT 6
- How can I to get frame data? HOT 1
- Is it possible to start player for fixed time. Assume I want to satrt my player for 5 minutes. HOT 2
- Visualization custom modification HOT 2
- how to change the audioDevice ?i can't let the code effective
- Hiding the console log window is not work HOT 1
- How do i simply play a video and get past the barrage of error messages. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vlc.dotnet.