[Live-devel] Setup for VisualStudio 2015

IR@InterStrat.com ir at interstrat.com
Thu Mar 3 15:45:20 PST 2016


Sorry for the confusion Jeff. 
A project that uses live555 please. 
Thanks 
IR 

Sent from my iPhone

> On Mar 3, 2016, at 17:56, Jeff Shanab <jshanab at jfs-tech.com> wrote:
> 
> Not sure what you meant "with live555 embedded" 
> 
> When i said embedded i was talking cross-compiling for arm and 32bit on 64bit linux.
> 
> I still create the dll and then include the headers I need.  
> 
> Are you wanting a live555 build or a project that uses live555?
> 
> 
> 
> 
>> On Thu, Mar 3, 2016 at 1:21 PM, IR at InterStrat.com <IR at interstrat.com> wrote:
>> Jeff. Dee. Thanks very much.
>> 
>> Jeff. 
>> It would be really helpful if you could post a sample CMake program for a basic project with any of the live555 embedded. 
>> I definitely plan to check this out and others may too.  Thanks again for suggesting this path forward.
>> 
>> Dee.
>> With the command line makefiles approach. 
>> The VisualStudio environment doesn’t seem to have the Workspace option in new or open files.
>> 
>> So after generating the .mak files for each of the subdirectories of “live” and for the testProgs, what is the best way to build and run in ViS 2015 ?
>> 
>> 
>> Ross. You may wish to consider amending the windows configure page. 
>> Its not a big deal except for beginners. 
>> Thanks !
>> 
>> http://live555.com/liveMedia/#config-windows
>> Additional lines here can be helpful.
>> How to configure and build the code on Windows
>> Unpack and extract the '.tar.gz' file (using an application such as "WinZip").
>> For DevStudio: If the 'tools' directory on your Windows machine is something other than "c:\Program Files\DevStudio \Vc", change the "TOOLS32 =" line in the file "win32config”.
>> For Visual Studio 2015 [..or latest release]: If the 'tools' directory on your Windows machine is something other than "c:\Program Files (x86)\Microsoft Visual Studio 14.0[..or latest release]\Vc", change the "TOOLS32 =" line in the file "win32config”. 
>> In a command shell, 'cd' to the "live" directory, and run
>>     genWindowsMakefiles
>> This will generate - in each subdirectory - a "*.mak" makefile suitable for use by (e.g.) Microsoft Visual Studio. 
>> 
>> 
>> Thanks again
>> IR.
>> 
>> 
>>> On Mar 3, 2016, at 6:01 AM, Jeff Shanab <jshanab at jfs-tech.com> wrote:
>>> 
>>> 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 | icatchercctv
>>>> 
>>>>  
>>>> 
>>>> w: 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
>>>> 
>>> 
>>> _______________________________________________
>>> 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
>> 
> 
> _______________________________________________
> 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/09396972/attachment.html>


More information about the live-devel mailing list