Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

I want to know how to play Rtsp Media #49

Closed
dandanyouxiang opened this issue Apr 28, 2015 · 7 comments
Closed

I want to know how to play Rtsp Media #49

dandanyouxiang opened this issue Apr 28, 2015 · 7 comments

Comments

@dandanyouxiang
Copy link

I want to know how to play Rtsp Media,Thank you

@Jhfelectric
Copy link

VlcControl1.Play(New Uri("rtsp://192.168.0.50:8554/unicast")) works for me !
The Uri I use is from a raspberry pi, using http://raspberrypi.stackexchange.com/questions/23182/how-to-stream-video-from-raspberry-pi-camera-and-watch-it-live

@dandanyouxiang
Copy link
Author

In WPF
I tried, but no,
this is Demo,
myControl.MediaPlayer.Play(new Uri("http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi"));
But I want to know how to play Rtsp Media

Like this "myControl.MediaPlayer.Play(new Uri("rtsp://192.168.0.16:554/live1.sdp"));" it is can not play

@RafalNiewinski
Copy link
Contributor

You should compile your application for x86 architecture not for AnyCPU nor x64.

@yetmorestuff
Copy link

I have a similar issue (in my WPF x86 application). If I try to play a H.264 rtsp stream, such as:

vlc.MediaPlayer.Play(new Uri("rtsp://jblive.videocdn.scaleengine.net/jb-live/play/jblive.stream"));

...I get a System.IO.DirectoryNotFound exception - "Attempted to access a path that is not on the disk."

If instead, I try the code from the sample in my app:

vlc.MediaPlayer.Play(new Uri("http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi"));

...I get the same exception. Same if I download the avi and try to play locally...

Any ideas what is wrong?

@RafalNiewinski
Copy link
Contributor

Check what I wrote for you in #56 and try again :-)

@dandanyouxiang
Copy link
Author

@RafalNiewinski
I wondered if he was not supported X64 architecture?Why?when I compile my application for x86 architecture ,it is ok

@cyryl2004
Copy link

It is work for x64 if you copy dlls and plugin folder from vlc site ver win64 to lib/x64 folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants