[Live-devel] Setup for VisualStudio 2015

Jeff Shanab jshanab at jfs-tech.com
Thu Mar 3 03:01:21 PST 2016


I personally use CMake to generate Visual Studio, Xcode, makefile and
embedded projects of live555 and test programs.

A bit of a learning curve at first but I've grown to love it.

On Thu, Mar 3, 2016 at 3:37 AM, Deanna Earley <dee.earley at icode.co.uk>
wrote:

> You need to add all referenced classes (the .cpp at least).
>
> Personally, I just used nmake with the Windows versions of the make files.
>
>
>
> In our project however, I've added every referenced file.
>
>
>
> --
>
> *Deanna Earley |* Lead developer *| **icatcher**cctv*
>
>
>
> w: *www.icode.co.uk/icatcher <http://www.icode.co.uk/icatcher>* | t:
> 01329 835335 | f: 01329 835338
>
> Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number :
> 03428325
>
>
>
> *From:* live-devel [mailto:live-devel-bounces at ns.live555.com] *On Behalf
> Of *IR at InterStrat.com
> *Sent:* 03 March 2016 00:51
> *To:* LIVE555 Streaming Media - development & use <
> live-devel at ns.live555.com>
> *Subject:* [Live-devel] Setup for VisualStudio 2015
>
>
>
> I would welcome from anyone, guidance on setup for VisualStudio 2015.
>
>
>
> Ross’s response in the tail was helpful to me as well.
>
> However, I need to setup the switches in VS2015.
>
> Here are my results following the process suggested.
>
>
>
> More generally, to setup and get running with any of the Live555 programs
> what is the best setup for VS2015 ?
>
>
>
> Thanks
>
> IR
>
> …if your goal is to read a H.264 video stream from a RTSP/RTP source, and
> convert this to a MPEG Transport Stream (without any decoding/re-encoding
> of the H.264 video), then you can do this using our ‘test programs’,
> without using any ‘3rd party’ software:
>
>  1/ Make sure that you have the latest version of the “LIVE555 Streaming
> Media” code; see:
>
>          http://live555.com/liveMedia/faq.html#latest-version
>
> 2/ Build the code, as described here:
>
>          http://live555.com/liveMedia/
>
> Using *MS Visual Studio 2015*.
>
> A: Executed under:  C:\...\live>  genWindowsMakefiles’
>
> B: In Visual Studio 2015 environment created an empty project.
>
> C: Under solutions explorer:
>
> --Dragged into Source Files: openRTSP.cpp
>
> -- Dragged into header files: playCommon.hh
>
> D: Under properties explorer:
>
> --VC++directories: Include Directories: added all the “include”
> subdirectories of live subdirectories
>
> --VC++directories:Source Directories: added “live” directory.
>
> --Linker:  System: Subsystem: tried both “Console”  and “Windows"
>
> 3/ Build the “openRTSP” RTSP client application; see
>
>          http://live555.com/openRTSP/
>
> Comes up with errors- - 11 unresolved externals.
>
> ------ Build started: Project: IRopenRTSP01, Configuration: Debug Win32
> ------
>
> openRTSP.obj : error LNK2019: unresolved external symbol "public: static
> class RTSPClient * __cdecl RTSPClient::createNew(class UsageEnvironment
> &,char const *,int,char const *,unsigned short,int)" (?createNew at RTSPClient
> @@SAPAV1 at AAVUsageEnvironment@@PBDH1GH at Z) referenced in function "class
> Medium * __cdecl createClient(class UsageEnvironment &,char const
> *,int,char const *)" (?createClient@@YAPAVMedium@@AAVUsageEnvironment@
> @PBDH1 at Z)
>
> openRTSP.obj : error LNK2019: unresolved external symbol "public: unsigned
> int __thiscall RTSPClient::sendDescribeCommand(void (__cdecl*)(class
> RTSPClient *,int,char
>
> etc.
>
>
>
>
>
> On Feb 18, 2016, at 2:14 PM, Ross Finlayson <finlayson at live555.com> wrote:
>
>
>
> (In the future, please put a proper “Subject:” on your emails.)
>
> Sorry, but neither “ffmpeg” nor “vclc” is our software, so we can’t help
> you with either of those.  We can help you only with our “LIVE555 Streaming
> Media” software.
>
> However, if your goal is to *read a H.264 video stream from a RTSP/RTP
> source*, and convert this to a MPEG Transport Stream (without any
> decoding/re-encoding of the H.264 video), then you can do this using our
> ‘test programs’, without using any ‘3rd party’ software:
>
> 1/ Make sure that you have the latest version of the “LIVE555 Streaming
> Media” code; see:
>             http://live555.com/liveMedia/faq.html#latest-version
>
> 2/ Build the code, as described here:
>             http://live555.com/liveMedia/
>
> 3/ Build the “openRTSP” RTSP client application; see
>             http://live555.com/openRTSP/
>
> 4/ Run
>             openRTSP
> 'rtsp://Camera_SERVER_ADRESS:PORT/HdSdiStreaming/2?videoCodecType=H.264'
>
> This should give you a ‘raw’ H.264 video file (with a name starting with
> “VIDEO-“).  Rename this file to "in.264”.
>
> 5/ Run
>             testH264VideoToTransportStream
> (“testH264VideoToTransportStream” is another of our demonstration
> applications; it is found (along with “openRTSP”) in the “testProgs”
> directory.)
>
> This should give you a MPEG Transport Stream file, named “out.ts”.
>
> 6/ If you wish to stream this file (via IP multicast), then you can do so
> using the “testMPEG2TransportStreamer” application (also in “testProgs”).
>  (You will have to rename the file to “test.ts” first.)  You can also - if
> you wish - stream the Transport Stream file via RTSP, using our “LIVE555
> Media Server” application:
>             http://live555.com/mediaServer/
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20160303/ccd06811/attachment.html>


More information about the live-devel mailing list