<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Jeff. Dee. Thanks very much.</div><div class=""><br class=""></div><div class="">Jeff. </div><div class="">It would be really helpful if you could post a sample CMake program for a basic project with any of the live555 embedded. </div><div class="">I definitely plan to check this out and others may too. Thanks again for suggesting this path forward.</div><div class=""><br class=""></div><div class="">Dee.</div><div class="">With the command line makefiles approach. </div><div class="">The VisualStudio environment doesn’t seem to have the Workspace option in new or open files.</div><div class=""><br class=""></div><div class="">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 ?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Ross. You may wish to consider amending the windows configure page. </div><div class="">Its not a big deal except for beginners. </div><div class="">Thanks !</div><div class=""><br class=""></div><div class=""><b class=""><a href="http://live555.com/liveMedia/#config-windows" class="">http://live555.com/liveMedia/#config-windows</a></b></div><div class="">Additional lines here can be helpful.</div><div class=""><span style="color: rgb(79, 122, 40);" class="">How to configure and build the code on Windows</span></div><div class="">
<ol class="">
<li class=""><font color="#4f7a28" class="">Unpack and extract the '.tar.gz' file
(using an application such as "WinZip").
</font></li><li class=""><font color="#4f7a28" class="">For DevStudio: </font><span style="color: rgb(79, 122, 40);" class="">If the 'tools' directory on your Windows machine is something
</span><em style="color: rgb(79, 122, 40);" class="">other than</em><font color="#4f7a28" class=""> "c:\Program Files\DevStudio \Vc", change the "TOOLS32 =" line in the file
"win32config”.</font></li><li class=""><font color="#9a244f" class="">For Visual Studio 2015 [..or latest release]: If the 'tools' directory on your Windows machine is something <em class="">other than</em><font class=""> "c:\Program Files (x86)\Microsoft Visual Studio 14.0[..or latest release]\Vc", change the "TOOLS32 =" line in the file "win32config”.</font> </font></li><li class=""><font color="#4f7a28" class="">In a command shell, 'cd' to the "live" directory, and run
</font><pre class=""><font color="#4f7a28" class=""> genWindowsMakefiles
</font></pre>
</li></ol><font color="#4f7a28" class="">
This will generate - in each subdirectory - a "*.mak" makefile
suitable for use by (e.g.) Microsoft Visual Studio. </font></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks again</div><div class="">IR.</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 3, 2016, at 6:01 AM, Jeff Shanab <<a href="mailto:jshanab@jfs-tech.com" class="">jshanab@jfs-tech.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I personally use CMake to generate Visual Studio, Xcode, makefile and embedded projects of live555 and test programs. <br class=""><br class=""></div>A bit of a learning curve at first but I've grown to love it.<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Mar 3, 2016 at 3:37 AM, Deanna Earley <span dir="ltr" class=""><<a href="mailto:dee.earley@icode.co.uk" target="_blank" class="">dee.earley@icode.co.uk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-GB" class="">
<div class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">You need to add all referenced classes (the .cpp at least).<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">Personally, I just used nmake with the Windows versions of the make files.<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">In our project however, I've added every referenced file.<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<div class=""><p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Trebuchet MS",sans-serif;color:#5e5e5f" class="">--
<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><b class=""><span style="font-size:10.5pt;font-family:"Trebuchet MS",sans-serif;color:#5e5e5f" class="">Deanna Earley |</span></b><span style="font-size:10.5pt;font-family:"Trebuchet MS",sans-serif;color:#5e5e5f" class=""> Lead d</span><span style="font-size:10.5pt;font-family:"Trebuchet MS",sans-serif;color:#5e5e5f" class="">eveloper <b class="">| </b></span><b class=""><span style="font-size: 10.5pt; font-family: 'Trebuchet MS', sans-serif;" lang="EN-US" class="">icatcher</span></b><b class=""><span style="font-size:10.5pt;font-family:"Trebuchet MS",sans-serif;color:#ff9223" lang="EN-US" class="">cctv</span></b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US" class=""><u class=""></u><u class=""></u></span></p><p class="MsoNormal"><b class=""><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""><u class=""></u> <u class=""></u></span></b></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#5e5e5f" lang="EN-US" class="">w:
</span><u class=""><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#595959" lang="EN-US" class=""><a href="http://www.icode.co.uk/icatcher" target="_blank" class="">www.icode.co.uk/icatcher</a></span></u><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#5e5e5f" lang="EN-US" class="">
| t: 01329 835335 | f: 01329 835338</span><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" lang="EN-US" class=""><u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Trebuchet MS",sans-serif;color:#919191" lang="EN-US" class="">Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325</span><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" lang="EN-US" class=""><u class=""></u><u class=""></u></span></p>
</div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<div class="">
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm" class=""><p class="MsoNormal" style="margin-left:36.0pt"><b class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US" class="">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US" class=""> live-devel [mailto:<a href="mailto:live-devel-bounces@ns.live555.com" target="_blank" class="">live-devel-bounces@ns.live555.com</a>]
<b class="">On Behalf Of </b><a href="mailto:IR@InterStrat.com" class="">IR@InterStrat.com</a><br class="">
<b class="">Sent:</b> 03 March 2016 00:51<br class="">
<b class="">To:</b> LIVE555 Streaming Media - development & use <<a href="mailto:live-devel@ns.live555.com" target="_blank" class="">live-devel@ns.live555.com</a>><br class="">
<b class="">Subject:</b> [Live-devel] Setup for VisualStudio 2015<u class=""></u><u class=""></u></span></p>
</div>
</div><p class="MsoNormal" style="margin-left:36.0pt"><u class=""></u> <u class=""></u></p><p class="MsoNormal" style="margin-left:36.0pt">I would welcome from anyone, guidance on setup for VisualStudio 2015.<u class=""></u><u class=""></u></p>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt"><u class=""></u> <u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt">Ross’s response in the tail was helpful to me as well.<u class=""></u><u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt">However, I need to setup the switches in VS2015.<u class=""></u><u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt">Here are <span style="color:#d95000" class="">
my results</span> following the process suggested.<u class=""></u><u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt"><u class=""></u> <u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt">More generally, to setup and get running with any of the Live555 programs what is the best setup for VS2015 ?<u class=""></u><u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt"><u class=""></u> <u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt">Thanks<u class=""></u><u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt">IR<u class=""></u><u class=""></u></p>
</div><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:9.0pt" class="">…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:</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:9.0pt" class=""> 1/ Make sure that you have the latest version of the “LIVE555 Streaming Media” code; see:</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:9.0pt" class=""> <span style="color:#386eff" class=""><a href="http://live555.com/liveMedia/faq.html#latest-version" target="_blank" class="">http://live555.com/liveMedia/faq.html#latest-version</a></span> </span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:9.0pt" class="">2/ Build the code, as described here:</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:9.0pt" class=""> <span style="color:#386eff" class=""><a href="http://live555.com/liveMedia/" target="_blank" class="">http://live555.com/liveMedia/</a></span></span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">Using <b class="">MS Visual Studio 2015</b>. </span>
<u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">A: Executed under: C:\...\live> genWindowsMakefiles’</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">B: In Visual Studio 2015 environment created an empty project.</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">C: Under solutions explorer:</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">--Dragged into Source Files: openRTSP.cpp</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">-- Dragged into header files: playCommon.hh</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">D: Under properties explorer:</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">--VC++directories: Include Directories: added all the “include” subdirectories of live subdirectories</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">--VC++directories:Source Directories: added “live” directory.</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">--Linker: System: Subsystem: tried both “Console” and “Windows"</span><span style="font-size:9.0pt" class=""> </span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:9.0pt" class="">3/ Build the “openRTSP” RTSP client application; see</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:9.0pt" class=""> <span style="color:#386eff" class=""><a href="http://live555.com/openRTSP/" target="_blank" class="">http://live555.com/openRTSP/</a></span></span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;color:#e36c0a" class="">Comes up with errors- - 11 unresolved externals.</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;font-family:Consolas;color:#e36c0a;background:white" class="">------ Build started: Project: IRopenRTSP01, Configuration: Debug Win32 ------</span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none">
<span style="font-size:9.0pt;font-family:Consolas;color:#e36c0a;background:white" class="">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@RTSPClient@@SAPAV1@AAVUsageEnvironment@@PBDH1GH@Z) referenced in function "class Medium * __cdecl createClient(class UsageEnvironment &,char const *,int,char const *)" (?createClient@@YAPAVMedium@@AAVUsageEnvironment@@PBDH1@Z)</span><u class=""></u><u class=""></u></p>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:9.0pt;font-family:Consolas;color:#e36c0a;background:white" class="">openRTSP.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall RTSPClient::sendDescribeCommand(void
(__cdecl*)(class RTSPClient *,int,char</span><span style="font-size:9.0pt" class=""> </span><u class=""></u><u class=""></u></p>
</div>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:9.0pt" class="">etc.</span><u class=""></u><u class=""></u></p>
<div class="">
<div class=""><p class="MsoNormal" style="margin-left:36.0pt"><u class=""></u> <u class=""></u></p>
</div>
<div class="">
<div class=""><p class="MsoNormal" style="margin-left:36.0pt"><u class=""></u> <u class=""></u></p>
<div class="">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt" class="">
<div class=""><p class="MsoNormal" style="margin-left:36.0pt">On Feb 18, 2016, at 2:14 PM, Ross Finlayson <<a href="mailto:finlayson@live555.com" target="_blank" class="">finlayson@live555.com</a>> wrote:<u class=""></u><u class=""></u></p>
</div><p class="MsoNormal" style="margin-left:36.0pt"><u class=""></u> <u class=""></u></p>
<div class=""><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:silver" class="">(In the future, please put a proper “Subject:” on your emails.)<br class="">
<br class="">
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.<br class="">
<br class="">
However, </span>if your goal is to <b class="">read a H.264 video stream from a RTSP/RTP source</b>, 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:<br class="">
<br class="">
1/ Make sure that you have the latest version of the “LIVE555 Streaming Media” code; see:<br class="">
<span class=""> </span><a href="http://live555.com/liveMedia/faq.html#latest-version" target="_blank" class="">http://live555.com/liveMedia/faq.html#latest-version</a><br class="">
<br class="">
2/ Build the code, as described here:<br class="">
<span class=""> </span><a href="http://live555.com/liveMedia/" target="_blank" class="">http://live555.com/liveMedia/</a><br class="">
<br class="">
3/ Build the “openRTSP” RTSP client application; see<br class="">
<span class=""> </span><a href="http://live555.com/openRTSP/" target="_blank" class="">http://live555.com/openRTSP/</a><br class="">
<br class="">
4/ Run<br class="">
<span class=""> </span>openRTSP '<a href="rtsp://Camera_SERVER_ADRESS:PORT/HdSdiStreaming/2?videoCodecType=H.264'" class="">rtsp://Camera_SERVER_ADRESS:PORT/HdSdiStreaming/2?videoCodecType=H.264'</a><br class="">
<br class="">
This should give you a ‘raw’ H.264 video file (with a name starting with “VIDEO-“). Rename this file to "in.264”.<br class="">
<br class="">
5/ Run<br class="">
<span class=""> </span>testH264VideoToTransportStream<br class="">
(“testH264VideoToTransportStream” is another of our demonstration applications; it is found (along with “openRTSP”) in the “testProgs” directory.)<br class="">
<br class="">
This should give you a MPEG Transport Stream file, named “out.ts”.<br class="">
<br class="">
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:<br class="">
<span class=""> </span><a href="http://live555.com/mediaServer/" target="_blank" class="">http://live555.com/mediaServer/</a><br class="">
<br class="">
<br class="">
Ross Finlayson<br class="">
Live Networks, Inc.<br class="">
<a href="http://www.live555.com/" target="_blank" class="">http://www.live555.com/</a><br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
live-devel mailing list<br class="">
<a href="mailto:live-devel@lists.live555.com" target="_blank" class="">live-devel@lists.live555.com</a><br class="">
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank" class="">http://lists.live555.com/mailman/listinfo/live-devel</a><u class=""></u><u class=""></u></p>
</div>
</blockquote>
</div><p class="MsoNormal" style="margin-left:36.0pt"><u class=""></u> <u class=""></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">_______________________________________________<br class="">
live-devel mailing list<br class="">
<a href="mailto:live-devel@lists.live555.com" class="">live-devel@lists.live555.com</a><br class="">
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank" class="">http://lists.live555.com/mailman/listinfo/live-devel</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">live-devel mailing list<br class=""><a href="mailto:live-devel@lists.live555.com" class="">live-devel@lists.live555.com</a><br class="">http://lists.live555.com/mailman/listinfo/live-devel<br class=""></div></blockquote></div><br class=""></body></html>