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