How to play ip camera video via RTSP in c++(winapi)?

This forum is about all development around libVLC.
abcdwell
New Cone
New Cone
Posts: 1
Joined: 01 Apr 2016 10:51

How to play ip camera video via RTSP in c++(winapi)?

Postby abcdwell » 01 Apr 2016 11:20

Hello, dears.

So nice to find here VLC family.

Currently, I'm bothering by play ip camera video/stream via RTSP a lot.

Let me try to describe my ideas as below:

Hardware: IP camera(H264 codec)
Software: window7 + VLC 2.2.1 + visual studio 2008(VC++), actually I'm using C++ and winapi for coding, no MFC.

#1. what I already did: I can using VLC-->Media-->Open Network Stream--> Enter RTSP://192.168....../rtsp_tunnel,
then the camera video can be played smoothly;
[img]D:\VLC_RTSP.PNG[/img]

#2. my question is:
2.1) is there any command to support me to do the same operation as above #1?
I run the "vlc --H" under cmd.exe, looking for the help.txt, unfortunately no this command;

2.2) can I implement same function similar with 2.1 in my C++ code to play the ip camera stream? to integrate the play ui in my program or separate in vlc, both are ok.
if yes, what library or dll I can use? do you have any manual or instruction, or link for it?
any help link and document is highly appreciated, thank you all:)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to play ip camera video via RTSP in c++(winapi)?

Postby Jean-Baptiste Kempf » 28 Jun 2016 09:58

Read the libVLC documentation.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: Google [Bot] and 34 guests